File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1552,10 +1552,9 @@ mod test {
1552
1552
. map ( |x| ( ( x % ( 123 - 97 ) ) + 97 ) as char )
1553
1553
. collect ( ) ;
1554
1554
1555
- conn. query_drop ( "DELETE FROM mysql.user WHERE user = ' __mats' " )
1555
+ conn. query_drop ( "DROP USER /*!50700 IF EXISTS */ /*M!100103 IF EXISTS */ __mats" )
1556
1556
. await
1557
1557
. unwrap ( ) ;
1558
- conn. query_drop ( "FLUSH PRIVILEGES" ) . await . unwrap ( ) ;
1559
1558
1560
1559
if conn. inner . is_mariadb || conn. server_version ( ) < ( 5 , 7 , 0 ) {
1561
1560
if matches ! ( conn. server_version( ) , ( 5 , 6 , _) ) {
@@ -1587,8 +1586,6 @@ mod test {
1587
1586
. unwrap ( ) ;
1588
1587
} ;
1589
1588
1590
- conn. query_drop ( "FLUSH PRIVILEGES" ) . await . unwrap ( ) ;
1591
-
1592
1589
let mut conn2 = Conn :: new ( get_opts ( ) . secure_auth ( false ) ) . await . unwrap ( ) ;
1593
1590
conn2
1594
1591
. change_user (
You can’t perform that action at this time.
0 commit comments