mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
sqlx-mysql: Fix bug in cleanup test db's. (#3923)
This commit is contained in:
parent
e627673869
commit
1228d243be
@ -56,8 +56,6 @@ impl TestSupport for MySql {
|
||||
for db_name in &delete_db_names {
|
||||
command.clear();
|
||||
|
||||
let db_name = format!("_sqlx_test_database_{db_name}");
|
||||
|
||||
writeln!(command, "drop database if exists {db_name};").ok();
|
||||
match conn.execute(&*command).await {
|
||||
Ok(_deleted) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user