diff options
author | unknown <svoj@mysql.com/june.mysql.com> | 2006-12-26 17:47:30 +0400 |
---|---|---|
committer | unknown <svoj@mysql.com/june.mysql.com> | 2006-12-26 17:47:30 +0400 |
commit | 8e95ddc69d8137a8f0a65de9d3c7a1a795390a7a (patch) | |
tree | 813b9c4b985ca4c8ed1a93e881980b0440b781ac /myisam/mi_rsamepos.c | |
parent | 9aeaab3d9e99f43c5157fc45c4e971d1c973508f (diff) | |
download | mariadb-git-8e95ddc69d8137a8f0a65de9d3c7a1a795390a7a.tar.gz |
BUG#25048 - ERROR 126 : Incorrect key file for table '.XXXX.MYI'; try to
repair it
Multi-table delete that is optimized with QUICK_RANGE reports table
corruption.
DELETE statement must not use KEYREAD optimization, and sets
table->no_keyread to 1. This was ignored in QUICK_RANGE optimization.
With this fix QUICK_RANGE optimization honors table->no_keyread
value and does not enable KEYREAD when it is requested.
mysql-test/r/index_merge.result:
Fixed a test case according to fix for bug#25048.
mysql-test/r/index_merge_ror.result:
A test case for bug#25048.
mysql-test/t/index_merge_ror.test:
A test case for bug#25048.
sql/opt_range.cc:
Do not use key read when head->no_keyread is set.
Diffstat (limited to 'myisam/mi_rsamepos.c')
0 files changed, 0 insertions, 0 deletions