1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-13 21:42:58 +03:00
Files
mariadb/mysql-test/t
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
..
2005-09-08 12:09:30 +04:00
2005-10-21 14:41:56 +05:00
2005-09-25 11:35:32 +02:00
2005-08-19 01:57:22 -07:00
2005-10-09 01:32:09 +02:00
2005-08-08 13:46:13 -07:00
2005-08-04 15:25:03 +05:00
2005-08-07 03:16:15 +01:00
2005-09-06 18:03:08 +04:00
2005-10-25 14:50:08 -07:00
2005-09-30 11:39:49 +02:00
2005-07-31 04:28:01 -07:00
2005-09-05 12:33:25 +02:00
2005-01-30 10:24:03 +00:00
2004-11-15 17:03:54 +01:00
2005-10-27 17:44:28 +04:00
2005-10-12 09:47:59 +02:00
2005-08-09 00:13:49 +03:00