summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorElena Stepanova <elenst@montyprogram.com>2017-11-01 18:40:09 +0200
committerElena Stepanova <elenst@montyprogram.com>2017-11-05 20:33:56 +0200
commit5e5adfa7293d2b8d981cbce6ef3fede3daf5b7a5 (patch)
tree6a82efecb8886d1a1add4b01ebc929c869d072b4 /mysql-test/include
parent0ed5c09b28163726977ffc1754decda200b2beff (diff)
downloadmariadb-git-5e5adfa7293d2b8d981cbce6ef3fede3daf5b7a5.tar.gz
MDEV-14029 Server does not remove #sql*.frm files after crash during ALTER TABLE
Add a check for #sql* files in test and mysql subdirs to the testcase check
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/check-testcase.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/include/check-testcase.test b/mysql-test/include/check-testcase.test
index dcf6bd154ce..3a9ec419bb1 100644
--- a/mysql-test/include/check-testcase.test
+++ b/mysql-test/include/check-testcase.test
@@ -73,5 +73,10 @@ if (!$tmp) {
}
call mtr.check_testcase();
+
+let $datadir=`select @@datadir`;
+list_files $datadir/test #sql*;
+list_files $datadir/mysql #sql*;
+
--enable_query_log