Merge branch '5.5' into 10.1
This commit is contained in:
commit
b85aa20065
@ -65,6 +65,15 @@ SELECT 'bug' as '' FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb'
|
|||||||
--error 1
|
--error 1
|
||||||
--exec $MYSQLD_BOOTSTRAP_CMD --myisam_recover_options=NONE
|
--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
|
--echo End of 5.5 tests
|
||||||
|
|
||||||
--source include/not_windows_embedded.inc
|
--source include/not_windows_embedded.inc
|
||||||
|
@ -9216,8 +9216,7 @@ my_bool mysql_rm_tmp_tables(void)
|
|||||||
{
|
{
|
||||||
file=dirp->dir_entry+idx;
|
file=dirp->dir_entry+idx;
|
||||||
|
|
||||||
if (!memcmp(file->name, tmp_file_prefix,
|
if (!strncmp(file->name, tmp_file_prefix, tmp_file_prefix_length))
|
||||||
tmp_file_prefix_length))
|
|
||||||
{
|
{
|
||||||
char *ext= fn_ext(file->name);
|
char *ext= fn_ext(file->name);
|
||||||
uint ext_len= strlen(ext);
|
uint ext_len= strlen(ext);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user