test failure

use --defaults-file to avoid reading ~/.my.cnf
and don't crash if some ibdata file couldn't be opened
This commit is contained in:
Sergei Golubchik 2017-04-21 00:50:53 +02:00
commit 4e07fc0ab5
2 changed files with 2 additions and 2 deletions

View file

@ -977,7 +977,7 @@ copy_file(ds_ctxt_t *datasink,
const char *action;
if (!datafile_open(src_file_path, &cursor, thread_n)) {
goto error;
goto error_close;
}
strncpy(dst_name, cursor.rel_path, sizeof(dst_name));