mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
01b3b7785b
Problem: creating an rb-tree key we store length (2 bytes) before the actual data for varchar key parts. The fact was missed for NULL key parts, when we set NULL byte and skip the rest. Fix: take into account the length of the varchar key parts for NULLs. heap/hp_hash.c: Fix for bug #30885: MEMORY returns incorrect data if BTREE index is used for NULL lookup - skip varchar key parts length (2 byte) for null key parts. mysql-test/r/heap_btree.result: Fix for bug #30885: MEMORY returns incorrect data if BTREE index is used for NULL lookup -test result. mysql-test/t/heap_btree.test: Fix for bug #30885: MEMORY returns incorrect data if BTREE index is used for NULL lookup - test case. |
||
---|---|---|
.. | ||
.cvsignore | ||
_check.c | ||
_rectest.c | ||
ChangeLog | ||
CMakeLists.txt | ||
heapdef.h | ||
hp_block.c | ||
hp_clear.c | ||
hp_close.c | ||
hp_create.c | ||
hp_delete.c | ||
hp_extra.c | ||
hp_hash.c | ||
hp_info.c | ||
hp_open.c | ||
hp_panic.c | ||
hp_rename.c | ||
hp_rfirst.c | ||
hp_rkey.c | ||
hp_rlast.c | ||
hp_rnext.c | ||
hp_rprev.c | ||
hp_rrnd.c | ||
hp_rsame.c | ||
hp_scan.c | ||
hp_static.c | ||
hp_test1.c | ||
hp_test2.c | ||
hp_update.c | ||
hp_write.c | ||
make-ccc | ||
Makefile.am |