There was an error while loading. Please reload this page.
1 parent 5208e89 commit 075f61aCopy full SHA for 075f61a
storage/innobase/row/row0mysql.cc
@@ -1424,17 +1424,6 @@ row_insert_for_mysql(
1424
} else if (high_level_read_only) {
1425
return(DB_READ_ONLY);
1426
}
1427
-DBUG_EXECUTE_IF("mark_table_corrupted", {
1428
-/* Mark the table corrupted for the clustered index */
1429
-dict_index_t* index = dict_table_get_first_index(table);
1430
-ut_ad(dict_index_is_clust(index));
1431
-dict_set_corrupted(index, trx, "INSERT TABLE"); });
1432
-
1433
-if (dict_table_is_corrupted(table)) {
1434
1435
-ib::error() << "Table " << table->name << " is corrupt.";
1436
-return(DB_TABLE_CORRUPT);
1437
-}
1438
1439
DBUG_EXECUTE_IF("mark_table_corrupted", {
1440
/* Mark the table corrupted for the clustered index */
0 commit comments