From aba911542641c93553bad0307021983998042d69 Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Tue, 30 Apr 2019 12:29:40 +0200 Subject: MDEV-19349 mysql_install_db: segfault at tmp_file_prefix check --- mysql-test/t/bootstrap.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test') 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 -- cgit v1.2.1