sqlx-mysql: Fix bug in cleanup test db's. (#3923)

This commit is contained in:
Joey de Waal 2025-07-06 06:45:18 +02:00 committed by GitHub
parent e627673869
commit 1228d243be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) => {