feat: enhance MySQL connection handling with bare option and optimize component imports
This commit is contained in:
1 parent
db31a7c45e
commit
f598b5a91c
7 files changed
+102
-55
No files matched your search
@@ -140,10 +140,11 @@ async fn do_execute(
|
||||
})
|
||||
.await
|
||||
}
|
||||
PoolKind::Mysql(p) => {
|
||||
PoolKind::Mysql(p, bare) => {
|
||||
let p = p.clone();
|
||||
let bare = *bare;
|
||||
drop(connections);
|
||||
wait_for_query(cancel_token, db::mysql::execute_query(&p, sql))
|
||||
wait_for_query(cancel_token, db::mysql::execute_query(&p, sql, bare))
|
||||
.await
|
||||
.map(truncate_result)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user