Commit 568dd529 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-18592 Warning if temp-file (with "#sql-" prefix) is missing during prepare

parent e1af4601
...@@ -3071,10 +3071,12 @@ recv_init_missing_space(dberr_t err, const recv_spaces_t::const_iterator& i) ...@@ -3071,10 +3071,12 @@ recv_init_missing_space(dberr_t err, const recv_spaces_t::const_iterator& i)
{ {
if (srv_operation == SRV_OPERATION_RESTORE if (srv_operation == SRV_OPERATION_RESTORE
|| srv_operation == SRV_OPERATION_RESTORE_EXPORT) { || srv_operation == SRV_OPERATION_RESTORE_EXPORT) {
ib::warn() << "Tablespace " << i->first << " was not" if (i->second.name.find(TEMP_TABLE_PATH_PREFIX) != std::string::npos) {
" found at " << i->second.name << " when" ib::warn() << "Tablespace " << i->first << " was not"
" restoring a (partial?) backup. All redo log" " found at " << i->second.name << " when"
" for this file will be ignored!"; " restoring a (partial?) backup. All redo log"
" for this file will be ignored!";
}
return(err); return(err);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment