summaryrefslogtreecommitdiff
path: root/mysql-test/t/show_check.test
diff options
context:
space:
mode:
authorBernt M. Johnsen <bernt.johnsen@sun.com>2009-03-02 11:03:13 +0100
committerBernt M. Johnsen <bernt.johnsen@sun.com>2009-03-02 11:03:13 +0100
commit2944bb361838e28898f90cf6c6e64cf60b749a97 (patch)
tree68128b43662f709e08b6d0097531cd9bfd7b8667 /mysql-test/t/show_check.test
parent8587e4f9890df910e6712f5b3cbf339d80f9e4c2 (diff)
downloadmariadb-git-2944bb361838e28898f90cf6c6e64cf60b749a97.tar.gz
Prepared BUG#42711 for push
Diffstat (limited to 'mysql-test/t/show_check.test')
-rw-r--r--mysql-test/t/show_check.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test
index f4e0b906f60..2d261aa0675 100644
--- a/mysql-test/t/show_check.test
+++ b/mysql-test/t/show_check.test
@@ -794,10 +794,12 @@ CREATE TABLE t1(колонка1 INT);
# Check:
# - Dump mysqltest1;
+--let $outfile1=$MYSQLTEST_VARDIR/tmp/show_check.mysqltest1.sql
+
--echo
---echo ---> Dumping mysqltest1 to show_check.mysqltest1.sql
+--echo ---> Dumping mysqltest1 to outfile1
---exec $MYSQL_DUMP --default-character-set=latin1 --character-sets-dir=$CHARSETSDIR --databases mysqltest1 > $MYSQLTEST_VARDIR/tmp/show_check.mysqltest1.sql
+--exec $MYSQL_DUMP --default-character-set=latin1 --character-sets-dir=$CHARSETSDIR --databases mysqltest1 > $outfile1
# - Clean mysqltest1;
@@ -812,7 +814,8 @@ DROP DATABASE mysqltest1;
--echo
--echo ---> Restoring mysqltest1...
---exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/show_check.mysqltest1.sql
+--exec $MYSQL test < $outfile1
+--remove_file $outfile1
# - Check definition of the table.