1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/myisam
ingo@mysql.com 99ad23ec7c Bug#14400 - Query joins wrong rows from table which is subject of "concurrent insert"
It was possible that fetching a record by an exact key value 
(including the record pointer) could return a record with a 
different key value. This happened only if a concurrent insert 
added a record with the searched key value after the fetching 
statement locked the table for read.

The search succeded on the key value, but the record was
rejected as it was past the file length that was remembered
at start of the fetching statement. With other words it was 
rejected as being a concurrently inserted record.

The action to recover from this problem was to fetch the 
record that is pointed at by the next key of the index. 
This was repeated until a record below the file length was 
found.

I do now avoid this loop if an exact match was searched. 
If this match is beyond the file length, it is now treated 
as "key not found". There cannot be another key with the 
same record pointer.
2006-06-28 18:55:30 +02:00
..
2000-07-31 21:29:14 +02:00
2004-11-22 18:37:30 +01:00
2001-12-06 14:10:51 +02:00
2005-02-15 17:27:23 -06:00
2004-05-27 21:14:59 +02:00
2001-12-06 14:10:51 +02:00
2003-01-27 17:52:55 +01:00
2001-12-06 14:10:51 +02:00
2004-05-10 12:39:01 +02:00
2001-04-17 21:30:02 +02:00
2000-07-31 21:29:14 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2005-03-04 09:30:22 +01:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2002-11-16 20:19:10 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2002-12-04 10:47:51 +01:00
2001-10-02 05:53:00 +03:00
2001-10-02 05:53:00 +03:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2005-10-12 18:50:25 +05:00
2003-01-28 08:38:28 +02:00
2001-10-02 05:53:00 +03:00
2003-08-28 06:08:17 +03:00
2003-01-16 20:47:46 +02:00
2003-08-20 16:25:44 +03:00
2005-12-04 15:02:06 +02:00
2005-08-24 22:03:34 +03:00
2005-12-04 15:02:06 +02:00
2000-07-31 21:29:14 +02:00
2005-08-02 11:33:26 +05:00
2000-07-31 21:29:14 +02:00
2000-07-31 21:29:14 +02:00