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