File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -191,17 +191,17 @@ pub trait Connection: DynClone + Send + Sync {
191
191
}
192
192
193
193
async fn begin ( & self ) -> Result < ( ) > {
194
- let _ = self . exec ( "BEGIN" ) . await ;
194
+ self . exec ( "BEGIN" ) . await ? ;
195
195
Ok ( ( ) )
196
196
}
197
197
198
198
async fn commit ( & self ) -> Result < ( ) > {
199
- let _ = self . exec ( "COMMIT" ) . await ;
199
+ self . exec ( "COMMIT" ) . await ? ;
200
200
Ok ( ( ) )
201
201
}
202
202
203
203
async fn rollback ( & self ) -> Result < ( ) > {
204
- let _ = self . exec ( "ROLLBACK" ) . await ;
204
+ self . exec ( "ROLLBACK" ) . await ? ;
205
205
Ok ( ( ) )
206
206
}
207
207
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- pub static DEFAULT_DSN : & str = "databend://root:@localhost:8000/default?sslmode=disable" ;
15
+ pub static DEFAULT_DSN : & str =
16
+ "databend://databend:databend@localhost:8000/default?sslmode=disable" ;
You can’t perform that action at this time.
0 commit comments