mariadb/heap
unknown 2eeab0b0d8 BUG#18233 - Memory tables INDEX USING HASH (a,b) returns 1 row on
SELECT WHERE a= AND b=

Selecting data from memory table with varchar column and hash index over it
returns only first row matched.

Problem was that key length calculation for varchar columns didn't include
number of bytes to store length.

Fixed key length for varchar fields to include number of bytes to store length.


heap/hp_create.c:
  Fixed key length for varchar fields to include number of bytes to store length.
mysql-test/r/heap.result:
  Testcase for BUG#18233.
mysql-test/t/heap.test:
  Testcase for BUG#18233.
2006-05-10 21:50:04 +05:00
..
.cvsignore
_check.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 2005-10-27 23:43:20 +03:00
_rectest.c RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05:00
ChangeLog
heapdef.h Add support for up to VARCHAR (size up to 65535) 2004-12-06 02:00:37 +02:00
hp_block.c Fix for bug#5138 continued: added comments, removed extra debug printf calls, changed ha_heap::records_in_range to use table->rec_per_key. 2004-10-12 18:21:25 +04:00
hp_clear.c Fix for bug#5138: hash indexes on heap tables support statistics. 2004-09-08 02:07:53 +04:00
hp_close.c RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05:00
hp_create.c BUG#18233 - Memory tables INDEX USING HASH (a,b) returns 1 row on 2006-05-10 21:50:04 +05:00
hp_delete.c BUG#18160 - Memory-/HEAP Table endless growing indexes 2006-04-19 15:13:50 +05:00
hp_extra.c WL#1648 - Start/Stop Inserting Duplicates Into a Table 2004-03-18 16:47:16 +01:00
hp_hash.c Bug#12891: 2005-09-01 19:31:08 +05:00
hp_info.c After merge fixes 2004-02-16 10:03:25 +02:00
hp_open.c Add 0x before pointers (to help with debugging) 2004-12-18 05:19:21 +02:00
hp_panic.c RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05:00
hp_rename.c RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05:00
hp_rfirst.c Bug #6748 heap_rfirst() doesn't work (and never did!) 2004-11-22 14:53:18 +01:00
hp_rkey.c Add 0x before pointers (to help with debugging) 2004-12-18 05:19:21 +02:00
hp_rlast.c Stupid bug has been fixed 2002-07-12 13:12:32 +05:00
hp_rnext.c Heap table code cleanup 2002-05-23 19:26:16 +05:00
hp_rprev.c Heap table code cleanup 2002-05-23 19:26:16 +05:00
hp_rrnd.c Add 0x before pointers (to help with debugging) 2004-12-18 05:19:21 +02:00
hp_rsame.c RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05:00
hp_scan.c Merge with 4.0.6 2002-12-05 19:38:42 +02:00
hp_static.c Update copyright 2001-12-06 14:10:51 +02:00
hp_test1.c Merge key cache structures to one 2003-11-20 22:06:25 +02:00
hp_test2.c Merge key cache structures to one 2003-11-20 22:06:25 +02:00
hp_update.c fixes for windows 64-bit compiler warnings 2005-06-13 12:41:15 +02:00
hp_write.c Merge with 4.1 2005-01-15 14:09:45 +02:00
make-ccc
Makefile.am Merge 2005-07-06 00:06:11 +02:00