summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-02-18 00:03:37 +0200
committerunknown <monty@donna.mysql.com>2001-02-18 00:03:37 +0200
commitf8509fecdb9a6453230e1418907a0923f002201d (patch)
treee430180603a3dd86bed056e15a90ce368911ca5a /sql/ha_myisam.cc
parent456102115c2f70982e600e40e34a10afde72c703 (diff)
downloadmariadb-git-f8509fecdb9a6453230e1418907a0923f002201d.tar.gz
Added locks needed for Innobase
Fixed mutex problem when doing automatic repair of MyISAM tables Docs/manual.texi: changelog include/thr_lock.h: Added TL_READ_WITH_SHARED_LOCKS for Innobase mysql-test/r/update.result: Added 'select' to verify update results mysql-test/t/update.test: Better code coverage mysys/getvar.c: Allow space in to --set-variable mysys/thr_lock.c: Added TL_READ_WITH_SHARED_LOCKS sql/ha_myisam.cc: Added comment sql/lock.cc: Added missing broadcast sql/sql_base.cc: Fixed some mutex problem when doing automatic repair of MyISAM tables sql/sql_update.cc: Purecoverage
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index 1a5721009f5..d8d9f12e8ea 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -643,7 +643,7 @@ bool ha_myisam::activate_all_index(THD *thd)
T_CREATE_MISSING_KEYS | T_TRUST_HEADER);
param.myf_rw&= ~MY_WAIT_IF_FULL;
param.sort_buffer_length= myisam_sort_buffer_size;
- param.opt_rep_quick++;
+ param.opt_rep_quick++; // Don't copy data file
param.tmpdir=mysql_tmpdir;
error=repair(thd,param,0) != HA_ADMIN_OK;