summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-11-13 14:07:58 +0100
committerSergei Golubchik <sergii@pisem.net>2013-11-13 14:07:58 +0100
commitbdd883ed9a68ff1e82528cc6b33316d98894cfd2 (patch)
tree93081c72225d399ac93ae0d8bb301a13cfc9a50c /storage/myisam
parent2cba9e0cdccfac6f93a54e2ba12eb9926cfaa0a1 (diff)
parentf3a78f392dad24391c19464731833e2bdf19bdef (diff)
downloadmariadb-git-bdd883ed9a68ff1e82528cc6b33316d98894cfd2.tar.gz
5.5. merge
Diffstat (limited to 'storage/myisam')
-rw-r--r--storage/myisam/ha_myisam.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 8f1b1b464b0..08989e3db66 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -1114,14 +1114,10 @@ int ha_myisam::repair(THD *thd, HA_CHECK &param, bool do_optimize)
statistics_done=1;
if (THDVAR(thd, repair_threads)>1)
{
- char buf[40];
/* TODO: respect myisam_repair_threads variable */
- my_snprintf(buf, 40, "Repair with %d threads", my_count_bits(key_map));
- thd_proc_info(thd, buf);
+ thd_proc_info(thd, "Parallel repair");
error = mi_repair_parallel(&param, file, fixed_name,
test(param.testflag & T_QUICK));
- thd_proc_info(thd, "Repair done"); // to reset proc_info, as
- // it was pointing to local buffer
}
else
{