1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug#4692 - DISABLE/ENABLE KEYS waste a space

Post-pushbuild fix

Added a purecov comment and a test for coverage of parallel
enable keys.
This commit is contained in:
istruewing@stella.local
2007-11-14 12:02:20 +01:00
parent 7491e15f21
commit 43a5312157
3 changed files with 15 additions and 1 deletions

View File

@ -1185,6 +1185,12 @@ SHOW TABLE STATUS LIKE 't1';
#--exec ls -log var/master-data/test/t1.MYI
#--exec myisamchk -dvv var/master-data/test/t1.MYI
#--exec myisamchk -iev var/master-data/test/t1.MYI
--echo # Enable keys with parallel repair
SET @@myisam_repair_threads=2;
ALTER TABLE t1 DISABLE KEYS;
ALTER TABLE t1 ENABLE KEYS;
SET @@myisam_repair_threads=1;
CHECK TABLE t1 EXTENDED;
DROP TABLE t1;
--echo End of 5.0 tests