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-11-26 08:54:13 +01:00
2005-09-30 14:03:55 +02:00
2005-11-03 22:42:25 +02:00
2006-05-09 13:31:46 -07:00
2006-03-30 17:14:55 +04:00
2006-04-13 17:22:56 +09:30
2006-05-09 13:31:46 -07:00
2006-04-13 17:22:56 +09:30
2005-08-12 13:54:42 +03:00
2005-07-25 12:57:23 -07:00
2006-04-26 01:21:33 +04:00
2006-04-20 00:42:12 -07:00
2006-04-20 00:42:12 -07:00
2005-06-07 00:31:53 +03:00
2006-04-04 17:54:58 -07:00
2006-05-24 17:21:35 +03:00
2006-03-10 12:12:08 +01:00
2005-06-07 00:31:53 +03:00
2005-05-26 21:01:55 +02:00
2006-04-13 17:22:56 +09:30
2006-05-07 16:14:43 -07:00
2006-05-06 23:48:13 -07:00
2005-08-12 17:57:19 +03:00
2006-05-07 16:14:43 -07:00
2006-04-13 17:22:56 +09:30
2005-12-14 01:21:56 +02:00
2006-05-03 21:35:27 -07:00
2006-04-21 08:19:38 -07:00
2006-05-04 22:19:31 +03:00
2005-07-31 12:49:55 +03:00