diff options
author | Vlad Lesin <vlad_lesin@mail.ru> | 2021-03-15 16:11:23 +0300 |
---|---|---|
committer | Vlad Lesin <vlad_lesin@mail.ru> | 2021-03-15 16:11:23 +0300 |
commit | 8cbada87f05be0dac0c53b1bc4c305af6c00fb1b (patch) | |
tree | 47aef4b4268473c5d0324090d91c31364387edc7 /storage/innobase/include | |
parent | 031b3dfc22c3d37769d49da902401b26a24f12b4 (diff) | |
download | mariadb-git-8cbada87f05be0dac0c53b1bc4c305af6c00fb1b.tar.gz |
MDEV-24184 InnoDB RENAME TABLE recovery failure if names are reusedbb-10.5-MDEV-24184-rename-names-reused
fil_op_replay_rename(): Remove.
fil_rename_tablespace_check(): Remove a parameter is_discarded=false.
recv_sys_t::parse(): Instead of applying FILE_RENAME operations,
buffer the operations in renamed_spaces.
recv_sys_t::apply(): In the last_batch, apply renamed_spaces.
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/fil0fil.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h index f4ca4e9a73e..936d20e5be0 100644 --- a/storage/innobase/include/fil0fil.h +++ b/storage/innobase/include/fil0fil.h @@ -1525,20 +1525,6 @@ fil_write_flushed_lsn( lsn_t lsn) MY_ATTRIBUTE((warn_unused_result)); -/** Replay a file rename operation if possible. -@param[in] space_id tablespace identifier -@param[in] name old file name -@param[in] new_name new file name -@return whether the operation was successfully applied -(the name did not exist, or new_name did not exist and -name was successfully renamed to new_name) */ -bool -fil_op_replay_rename( - ulint space_id, - const char* name, - const char* new_name) - MY_ATTRIBUTE((warn_unused_result)); - /** Delete a tablespace and associated .ibd file. @param[in] id tablespace identifier @param[in] if_exists whether to ignore missing tablespace |