1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-01 17:39:21 +03:00
Files
mariadb/mysql-test/t
Rucha Deodhar 452c9a4d72 MDEV-26698: Incorrect row number upon INSERT .. SELECT from the same
table: rows are counted twice

Analysis: When the table we are trying to insert into and the SELECT table
are same for INSERT ... SELECT, rows from the SELECT table are copied into
internal temporary table and then to the INSERT table. We only want to
count the rows when we start inserting into the table.
Fix: Reset the counter to 1 before starting to copy from internal temporary
table to select table and then increment the counter.
2022-01-03 18:14:59 +05:30
..
2018-11-15 19:21:40 +01:00
2018-11-06 08:41:48 +02:00
2018-11-06 08:41:48 +02:00
2020-06-06 18:07:04 +03:00
2020-06-06 18:07:04 +03:00
2019-03-27 12:26:11 +02:00
2019-03-27 12:26:11 +02:00
2020-01-03 12:40:38 +01:00
2018-11-06 08:41:48 +02:00
2020-01-03 12:40:38 +01:00
2020-10-23 15:53:41 +02:00
2019-04-27 11:28:50 +02:00
2019-05-04 17:04:55 +02:00
2020-04-01 10:24:36 +03:00
2019-03-27 12:26:11 +02:00
2021-11-26 09:33:26 +02:00
2021-01-24 11:35:55 +01:00
2020-10-21 14:02:04 +03:00
2019-03-04 16:46:58 +02:00
2018-11-06 08:41:48 +02:00
2020-10-21 14:02:04 +03:00
2019-04-24 11:15:38 +02:00
2019-04-25 09:04:09 +03:00
2019-03-15 21:00:41 +01:00
2019-10-11 18:38:18 +03:00
2019-07-20 09:09:28 +02:00
2018-12-30 18:30:29 +01:00
2019-02-03 17:22:05 +02:00
2021-01-11 21:54:47 +01:00
2021-10-27 08:54:37 +03:00
2019-03-01 12:41:05 -05:00
2019-02-02 13:00:15 +02:00
2019-10-25 12:57:36 +03:00
2019-05-04 17:04:55 +02:00
2019-03-29 10:58:20 +01:00
2020-08-13 07:38:35 +03:00
2020-08-02 11:05:29 +02:00
2019-12-23 07:14:51 +02:00
2020-08-10 17:57:14 +03:00
2020-05-13 11:12:31 +03:00
2020-12-10 08:45:20 +01:00
2019-05-04 17:04:55 +02:00