1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 01c9fd31d7 Bug #20195: INSERT DELAYED with auto_increment is assigned wrong values
The INSERT DELAYED should not maintain its own private auto-increment
counter, because this is assuming that other threads cannot insert
into the table while the INSERT DELAYED thread is inserting, which is
a wrong assumption.

So the start of processing of a batch of INSERT rows in the 
INSERT DELAYED thread must be treated as a start of a new statement
and cached next_insert_id must be cleared.


mysql-test/r/delayed.result:
  test suite for the bug
mysql-test/t/delayed.test:
  test suite for the bug
sql/sql_insert.cc:
  Reset auto-increment cacheing before processing
  the next batch of inserts in the handler thread
2006-06-13 18:18:32 +03:00
..
2005-10-28 23:17:51 +04:00
2006-05-03 16:33:42 +05:00
2006-05-01 21:30:09 +03:00
2006-03-01 15:50:15 +04:00
2006-05-09 13:31:46 -07:00
2006-03-30 09:13:25 +05:00
2006-03-30 17:14:55 +04:00
2005-09-08 18:15:05 +01:00
2006-05-24 17:21:35 +03:00
2006-05-30 19:16:30 +04:00
2006-04-11 15:26:18 +05:00
2005-08-26 22:25:45 -07:00
2006-05-06 23:48:13 -07:00
2005-12-06 21:28:13 +01:00
2006-05-03 19:01:29 +05:00
2005-10-28 02:36:19 +03:00
2006-05-17 20:48:48 -07:00
2005-08-29 21:06:45 +02:00
2006-03-06 23:43:47 +01:00
2006-05-24 17:21:35 +03:00
2005-09-02 09:50:17 +03:00
2006-05-09 13:31:46 -07:00
2006-05-29 19:07:35 +04:00
2006-05-01 22:10:50 -04:00
2005-09-26 22:43:09 -07:00
2006-01-06 00:47:49 +02:00
2006-02-20 15:03:16 +01:00
2006-02-07 19:57:31 +01:00
2005-09-15 22:21:30 +04:00
2006-03-08 10:40:29 +01:00
2005-09-14 23:12:01 +03:00
2006-05-03 19:01:29 +05:00
2005-10-13 11:28:06 +02:00
2005-10-13 11:28:06 +02:00
2006-04-26 17:09:41 -07:00