Skip to content

Commit 627c2fa

Browse files
committed
Merge branch 'main' into sqlstr
2 parents d098847 + 1228d24 commit 627c2fa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sqlx-core/src/query_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ where
533533
}
534534

535535
/// Deconstruct this `QueryBuilder`, returning the built SQL. May not be syntactically correct.
536-
pub fn into_sql(self) -> String {
536+
pub fn into_string(self) -> String {
537537
Arc::unwrap_or_clone(self.query)
538538
}
539539

sqlx-mysql/src/testing/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ impl TestSupport for MySql {
5454
let mut builder = QueryBuilder::new("drop database if exists ");
5555

5656
for db_name in &delete_db_names {
57-
let db_name = format!("_sqlx_test_database_{db_name}");
58-
59-
builder.push(&db_name);
57+
builder.push(db_name);
6058

6159
match builder.build().execute(&mut conn).await {
6260
Ok(_deleted) => {

0 commit comments

Comments
 (0)