mariadb/heap
unknown bba73a0910 Bug #12796: Record lost in HEAP table
Two handler objects were present, one was used for an insert and the other for a select
The state of the statistics was local to the handler object and thus the other handler
object didn't notice the insert.
Fix included:
1) Add a new variable key_stat_version added to whenever statistics was considered in need
of update (previously key_stats_ok= FALSE in those places)
2) Add a new handler variable key_stat_version assigned whenever key_stats_ok= TRUE was set
previously
3) Fix records_in_range to return records if records <= 1
4) Fix records_in_range to add 2 to rec_per_key to ensure we don't specify 0 or 1 when it isn't
and thus invoking incorrect optimisations.
5) Fix unique key handling for HEAP table in records_in_range
2005-11-08 00:26:37 -05:00
..
.cvsignore
_check.c Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization 2005-10-25 02:27:40 +03:00
_rectest.c
ChangeLog
heapdef.h WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again). 2004-05-06 15:53:01 +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
hp_create.c Bug #12796: Record lost in HEAP table 2005-11-08 00:26:37 -05:00
hp_delete.c Bug #12460 Table Full 2005-08-20 10:07:46 -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 After merge fixes 2004-02-16 10:03:25 +02:00
hp_panic.c
hp_rename.c
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
hp_rnext.c
hp_rprev.c
hp_rrnd.c
hp_rsame.c
hp_scan.c Merge with 4.0.6 2002-12-05 19:38:42 +02:00
hp_static.c
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 Merge with 4.0.6 2002-12-05 19:38:42 +02:00
hp_write.c limit HEAP table size with max_heap_table_size, better estimation for mem_per_row 2005-01-14 19:49:45 +01:00
make-ccc
Makefile.am Makefile.am: 2005-07-05 23:24:48 +02:00