Commit 3a6af51a authored by Marko Mäkelä's avatar Marko Mäkelä

Do not crash XtraDB when fil_space_acquire() fails

This reverts part of commit 50eb40a2
which backported the code from MariaDB 10.2. The XtraDB version of
the code included a ut_error statement (aborting the process) when
a tablespace is not found. Luckily this change was not part of a
release; MariaDB 10.1.22 had been released some days earlier.
parent 8c38147c
...@@ -7401,7 +7401,6 @@ fil_space_acquire_low(ulint id, bool silent, bool for_io = false) ...@@ -7401,7 +7401,6 @@ fil_space_acquire_low(ulint id, bool silent, bool for_io = false)
if (!silent) { if (!silent) {
ib_logf(IB_LOG_LEVEL_WARN, "Trying to access missing" ib_logf(IB_LOG_LEVEL_WARN, "Trying to access missing"
" tablespace " ULINTPF ".", id); " tablespace " ULINTPF ".", id);
ut_error;
} }
} else if (!for_io && space->is_stopping()) { } else if (!for_io && space->is_stopping()) {
space = NULL; space = NULL;
......
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