diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-06-26 12:07:17 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-07-18 17:01:59 +0300 |
commit | adbab0d4cd80b10a1176f1ce8561aff3d5875a02 (patch) | |
tree | 1438c2ad697edf6170ba10164a4a468e5d2f1851 /storage/innobase | |
parent | 10ebdb7f1d7a3f6aa6a91b40a9d90f482da08e58 (diff) | |
download | mariadb-git-adbab0d4cd80b10a1176f1ce8561aff3d5875a02.tar.gz |
MDEV-13625: Add the test innodb.innodb-wl5980-debug
Diffstat (limited to 'storage/innobase')
-rw-r--r-- | storage/innobase/fil/fil0fil.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc index 8c4e1db6f51..7234a6c4102 100644 --- a/storage/innobase/fil/fil0fil.cc +++ b/storage/innobase/fil/fil0fil.cc @@ -3216,8 +3216,13 @@ fil_rename_tablespace( space, node, new_name, new_path); if (success) { + DBUG_EXECUTE_IF("fil_rename_tablespace_failure_2", + goto skip_second_rename; ); success = os_file_rename( innodb_file_data_key, old_path, new_path); + DBUG_EXECUTE_IF("fil_rename_tablespace_failure_2", +skip_second_rename: + success = FALSE; ); if (!success) { /* We have to revert the changes we made |