diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-04-30 12:29:40 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-05-01 10:15:29 +0200 |
commit | aba911542641c93553bad0307021983998042d69 (patch) | |
tree | 3589a2e0a00ff0f502f802b4b1bba7e328d496e5 /mysql-test/t/bootstrap.test | |
parent | 71a748d575b4d0ae8e80171fb6d261277da9b0ed (diff) | |
download | mariadb-git-aba911542641c93553bad0307021983998042d69.tar.gz |
MDEV-19349 mysql_install_db: segfault at tmp_file_prefix check
Diffstat (limited to 'mysql-test/t/bootstrap.test')
-rw-r--r-- | mysql-test/t/bootstrap.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/bootstrap.test b/mysql-test/t/bootstrap.test index 2930d936830..5494a2d4154 100644 --- a/mysql-test/t/bootstrap.test +++ b/mysql-test/t/bootstrap.test @@ -66,4 +66,13 @@ SELECT 'bug' as '' FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb' --error 1 --exec $MYSQLD_BOOTSTRAP_CMD --myisam_recover_options=NONE +# +# MDEV-19349 mysql_install_db: segfault at tmp_file_prefix check +# +--write_file $MYSQLTEST_VARDIR/tmp/1 +use test; +EOF +--exec $MYSQLD_BOOTSTRAP_CMD < $MYSQLTEST_VARDIR/tmp/1 >> $MYSQLTEST_VARDIR/tmp/bootstrap.log 2>&1 +--remove_file $MYSQLTEST_VARDIR/tmp/1 + --echo End of 5.5 tests |