mariadb/heap
unknown db573e637c Bug#26996 - Update of a Field in a Memory Table ends with wrong result
Using a MEMORY table BTREE index for scanning for updatable rows
could lead to an infinite loop.

Everytime a key was inserted into a btree index, the position
in the index scan was cleared. The search started from the
beginning and found the same key again.

Now we do not clear the position on key insert an more.


heap/hp_write.c:
  Bug#26996 - Update of a Field in a Memory Table ends with wrong result
  Removed the index-scan-breaking nulling of last_pos.
  The comment behind this line ("For heap_rnext/heap_rprev")
  was misleading. It should have been "Breaks heap_rnext/heap_rprev".
mysql-test/r/heap_btree.result:
  Bug#26996 - Update of a Field in a Memory Table ends with wrong result
  Added test result.
mysql-test/t/heap_btree.test:
  Bug#26996 - Update of a Field in a Memory Table ends with wrong result
  Added test.
2007-03-19 15:56:53 +01:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
_check.c Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization 2005-10-25 02:27:40 +03:00
_rectest.c RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05:00
ChangeLog Import changeset 2000-07-31 21:29:14 +02:00
heapdef.h WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again). 2004-05-06 15:53:01 +02:00
hp_block.c Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443 2007-01-09 12:39:05 +03: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 #12796: Record lost in HEAP table 2005-11-08 00:26:37 -05:00
hp_delete.c Bug#9719: DELETE with WHERE on HEAP table just deletes first row of matched 2006-08-02 13:06:59 -04:00
hp_extra.c WL#1648 - Start/Stop Inserting Duplicates Into a Table 2004-03-18 16:47:16 +01:00
hp_hash.c Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 2004-11-16 21:36:31 +03:00
hp_info.c After merge fixes 2004-02-16 10:03:25 +02:00
hp_open.c A fix (bug #6878: Crash with engine=memory). 2004-12-02 14:34:53 +04: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 Bugfix for HEAP table rb-index scan. 2003-06-10 12:19:28 +05: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 RB-Tree indexes support in HEAP tables 2002-04-25 13:36:55 +05: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 Don't read ~/.my.cnf in mysqldump.test 2006-06-30 04:10:27 +03:00
hp_test2.c Fixed include file usage 2006-06-30 02:25:35 +03:00
hp_update.c Merge with 4.0.6 2002-12-05 19:38:42 +02:00
hp_write.c Bug#26996 - Update of a Field in a Memory Table ends with wrong result 2007-03-19 15:56:53 +01:00
make-ccc Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am Makefile.am: 2005-07-05 23:24:48 +02:00