Browse Source

Fix Bug #57616 Sig 11 in dict_load_table() when failed to load

index or foreign key

Approved by Sunny Bains
pull/843/head
Jimmy Yang 15 years ago
parent
commit
e8f228e7eb
  1. 4
      storage/innobase/dict/dict0load.c
  2. 6
      storage/innodb_plugin/ChangeLog
  3. 4
      storage/innodb_plugin/dict/dict0load.c

4
storage/innobase/dict/dict0load.c

@ -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) {

6
storage/innodb_plugin/ChangeLog

@ -1,3 +1,9 @@
2010-10-20 The InnoDB Team
* dict/dict0load.c
Fix Bug #57616 Sig 11 in dict_load_table() when failed to load
index or foreign key
2010-10-19 The InnoDB Team
* btr/btr0cur.c, buf/buf0buf.c, buf/buf0flu.c, handler/ha_innodb.cc,

4
storage/innodb_plugin/dict/dict0load.c

@ -1023,13 +1023,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…
Cancel
Save