1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/mysql-test/r
evgen@moonbone.local 92c8558224 Bug#27033: 0 as LAST_INSERT_ID() after INSERT .. ON DUPLICATE if rows were
touched but not actually changed.

The LAST_INSERT_ID() is reset to 0 if no rows were inserted or changed.
This is the case when an INSERT ... ON DUPLICATE KEY UPDATE updates a row
with the same values as the row contains.

Now the LAST_INSERT_ID() values is reset to 0 only if there were no rows
successfully inserted or touched.
The new 'touched' field is added to the COPY_INFO structure. It holds the
number of rows that were touched no matter whether they were actually
changed or not.
2007-03-15 23:21:29 +03:00
..
2007-01-18 18:37:52 -07:00
2006-10-13 08:48:47 +02:00
2006-11-20 17:57:57 +04:00
2006-11-29 13:56:59 -05:00
2007-01-03 03:35:57 +04:00
2007-03-02 15:09:44 +04:00
2006-09-01 05:00:32 +02:00
2007-02-23 21:13:21 +03:00
2006-10-05 00:00:34 +02:00
2006-11-15 10:23:27 +01:00
2007-03-02 15:09:44 +04:00
2007-02-10 23:55:56 -08:00
2007-02-09 12:54:50 -08:00
2006-11-15 10:23:27 +01:00
2007-02-07 14:22:19 -08:00
2007-03-01 20:59:08 +01:00
2007-03-02 15:09:44 +04:00
2007-02-21 19:38:40 +02:00
2007-01-31 19:31:36 -08:00
2007-02-01 18:00:24 +04:00
2006-10-19 18:48:37 +05:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2007-02-08 15:53:14 +01:00
2006-11-15 10:23:27 +01:00
2007-03-08 21:42:41 +04:00
2007-02-01 18:00:24 +04:00
2007-03-06 14:30:28 -07:00
2007-01-18 15:28:45 +04:00
2006-12-04 14:29:51 +02:00
2007-03-09 13:37:06 +04:00