mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Fix bug #57616 Sig 11 in dict_load_table() when failed to load index
or foreign key Fix approved by Sunny Bains
This commit is contained in:
parent
d0ac4e2c5a
commit
1e09ea9549
3 changed files with 10 additions and 4 deletions
|
|
@ -878,13 +878,13 @@ err_exit:
|
|||
if (err != DB_SUCCESS) {
|
||||
dict_table_remove_from_cache(table);
|
||||
table = NULL;
|
||||
} else {
|
||||
table->fk_max_recusive_level = 0;
|
||||
}
|
||||
} else if (!srv_force_recovery) {
|
||||
dict_table_remove_from_cache(table);
|
||||
table = NULL;
|
||||
}
|
||||
|
||||
table->fk_max_recusive_level = 0;
|
||||
#if 0
|
||||
if (err != DB_SUCCESS && table != NULL) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue