fix the test for windows

This commit is contained in:
Sergei Golubchik 2020-04-27 15:05:18 +02:00
commit 503fd2115b
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
call mtr.add_suppression("/mysql/user");
call mtr.add_suppression("mysql.user");
# switching from mysql.global_priv to mysql.user
flush tables;
flush privileges;

View file

@ -1,8 +1,9 @@
#
# MDEV-20257 Server crashes in Grant_table_base::init_read_record upon crash-upgrade
#
source include/not_embedded.inc;
call mtr.add_suppression("/mysql/user");
call mtr.add_suppression("mysql.user");
source include/switch_to_mysql_user.inc;
let mysql_datadir=`select @@datadir`;
@ -14,6 +15,7 @@ perl;
sysseek F, 24, O_RDWR or die "sysseek: $!";
syswrite F, 1, 1 or die "syswrite: $!";
EOF
replace_result \\ /;
flush privileges;
source include/switch_to_mysql_global_priv.inc;