mariadb/heap
unknown 01b3b7785b Fix for bug #30885: MEMORY returns incorrect data if BTREE index is used for NULL lookup
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.
2007-10-05 16:33:15 +05:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
_check.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
_rectest.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ChangeLog Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
heapdef.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_block.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-11 21:59:28 +03:00
hp_clear.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_close.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_create.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_delete.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_extra.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_hash.c Fix for bug #30885: MEMORY returns incorrect data if BTREE index is used for NULL lookup 2007-10-05 16:33:15 +05:00
hp_info.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_open.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_panic.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rename.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rfirst.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rkey.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rlast.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rnext.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rprev.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rrnd.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_rsame.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_scan.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_static.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_test1.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_test2.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_update.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
hp_write.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines 2007-03-22 21:34:31 +01:00
make-ccc Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00