Minor test cleanup.
mysql-test/t/mysqldump.test: Fix for failing Windows test.
This commit is contained in:
parent
44d4940fcc
commit
f7417a299e
@ -918,7 +918,7 @@ port=1234
|
|||||||
EOF
|
EOF
|
||||||
--exec $MYSQL_MY_PRINT_DEFAULTS -c $MYSQLTEST_VARDIR/tmp/tmp.cnf mysqltest1
|
--exec $MYSQL_MY_PRINT_DEFAULTS -c $MYSQLTEST_VARDIR/tmp/tmp.cnf mysqltest1
|
||||||
--exec $MYSQL_MY_PRINT_DEFAULTS -e $MYSQLTEST_VARDIR/tmp/tmp.cnf mysqltest1 mysqltest1
|
--exec $MYSQL_MY_PRINT_DEFAULTS -e $MYSQLTEST_VARDIR/tmp/tmp.cnf mysqltest1 mysqltest1
|
||||||
--remov_file $MYSQLTEST_VARDIR/tmp/tmp.cnf
|
--remove_file $MYSQLTEST_VARDIR/tmp/tmp.cnf
|
||||||
|
|
||||||
--echo #
|
--echo #
|
||||||
--echo # Test of fix to BUG 12597
|
--echo # Test of fix to BUG 12597
|
||||||
@ -1480,10 +1480,10 @@ create function f2() returns int return f1();
|
|||||||
create view v3 as select bug23491_original.f1();
|
create view v3 as select bug23491_original.f1();
|
||||||
|
|
||||||
# Backup.
|
# Backup.
|
||||||
--exec $MYSQL_DUMP --skip-comments -uroot --opt --routines bug23491_original > $MYSQLTEST_VARDIR/tmp/bug23491_backup.sql;
|
--exec $MYSQL_DUMP --skip-comments -uroot --opt --routines bug23491_original > $MYSQLTEST_VARDIR/tmp/bug23491_backup.sql
|
||||||
|
|
||||||
# Restore.
|
# Restore.
|
||||||
--exec $MYSQL bug23491_restore < $MYSQLTEST_VARDIR/tmp/bug23491_backup.sql;
|
--exec $MYSQL bug23491_restore < $MYSQLTEST_VARDIR/tmp/bug23491_backup.sql
|
||||||
|
|
||||||
# Verify
|
# Verify
|
||||||
use bug23491_restore;
|
use bug23491_restore;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user