Commit 93da3330 authored by Jimmy Yang's avatar Jimmy Yang

Fix Bug #11835889 - INNODB ASSERTS ON BAD FILE READ, INDEX TRANSLATION

TABLE ERROR, RECOVERY
            
rb://792 approved by Sunny Bains
parents 1b7276ff d1a80e6a
......@@ -5806,7 +5806,7 @@ ha_innobase::innobase_get_index(
table. Only print message if the index translation
table exists */
if (share->idx_trans_tbl.index_mapping) {
sql_print_error("InnoDB could not find "
sql_print_warning("InnoDB could not find "
"index %s key no %u for "
"table %s through its "
"index translation table",
......@@ -8285,7 +8285,10 @@ ha_innobase::check(
putc('\n', stderr);
#endif
if (!btr_validate_index(index, prebuilt->trx)) {
/* If this is an index being created, break */
if (*index->name == TEMP_INDEX_PREFIX) {
break;
} else if (!btr_validate_index(index, prebuilt->trx)) {
is_ok = FALSE;
innobase_format_name(
......
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