summaryrefslogtreecommitdiff
path: root/storage/myisam/ha_myisam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/ha_myisam.cc')
-rw-r--r--storage/myisam/ha_myisam.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 4caffdd5fe3..17dbcba8db9 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -30,6 +30,7 @@
#include "rt_index.h"
#include "sql_table.h" // tablename_to_filename
#include "sql_class.h" // THD
+#include "debug_sync.h"
ulonglong myisam_recover_options;
static ulong opt_myisam_block_size;
@@ -1127,6 +1128,7 @@ int ha_myisam::repair(THD *thd, HA_CHECK &param, bool do_optimize)
thd_proc_info(thd, "Repair by sorting");
error = mi_repair_by_sort(&param, file, fixed_name,
test(param.testflag & T_QUICK));
+ DEBUG_SYNC(thd, "myisam_after_repair_by_sort");
}
if (error && file->create_unique_index_by_sort &&
share->state.dupp_key != MAX_KEY)