diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2010-07-29 01:02:43 +0400 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2010-07-29 01:02:43 +0400 |
commit | 95d9205c170dd70967a95d33e91200be0c9f8415 (patch) | |
tree | 48f6c38311592333d70c6139b2b532d2aa32bd88 /configure.cmake | |
parent | e4cbcaf942796e5ba1f865485ea56c3903cf2fb8 (diff) | |
download | mariadb-git-95d9205c170dd70967a95d33e91200be0c9f8415.tar.gz |
Bug #55472: Assertion failed in heap_rfirst function of hp_rfirst.c on
DELETE statement
Single-table delete ordered by a field that has a hash-type index
may cause an assertion failure or a crash.
An optimization added by the fix for the bug 36569 forced the
optimizer to use ORDER BY-compatible indices when applicable.
However, the existence of unsorted indices (HASH index algorithm
for some engines such as MEMORY/HEAP, NDB) was ignored.
The test_if_order_by_key function has been modified to skip
unsorted indices.
mysql-test/r/heap_hash.result:
Test case for bug #55472.
mysql-test/t/heap_hash.test:
Test case for bug #55472.
sql/sql_select.cc:
Bug #55472: Assertion failed in heap_rfirst function of hp_rfirst.c on
DELETE statement
The test_if_order_by_key function has been modified to skip
unsorted indices.
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions