Skip to content

Commit

Permalink
Do not crash XtraDB when fil_space_acquire() fails
Browse files Browse the repository at this point in the history
This reverts part of commit 50eb40a
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.
  • Loading branch information
dr-m committed Apr 21, 2017
1 parent 8c38147 commit 3a6af51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion storage/xtradb/fil/fil0fil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7401,7 +7401,6 @@ fil_space_acquire_low(ulint id, bool silent, bool for_io = false)
if (!silent) {
ib_logf(IB_LOG_LEVEL_WARN, "Trying to access missing"
" tablespace " ULINTPF ".", id);
ut_error;
}
} else if (!for_io && space->is_stopping()) {
space = NULL;
Expand Down

0 comments on commit 3a6af51

Please sign in to comment.