1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
Monty 92d2ceac73 MDEV-28285 Unexpected result when combining DISTINCT, subselect and LIMIT
The problem was that when  JOIN_TAB::remove_duplicates() noticed there
can only be one possible row in the output, it adjusted limits but
didn't take into account any possible offset.

Fixed by not adjusting limit offset when setting one-row-limit.
2023-05-23 09:16:36 +03:00
..
2023-02-10 12:02:11 +02:00
2022-09-05 13:28:56 +03:00
2023-01-27 13:54:14 +01:00
2021-04-20 12:30:09 +03:00
2022-03-23 10:47:27 +11:00
2023-04-03 09:34:26 +02:00
2023-01-27 13:54:14 +01:00
2023-02-10 12:02:11 +02:00
2021-04-22 08:25:40 +03:00
2022-04-21 15:33:50 +03:00
2022-09-26 13:34:38 +03:00
2021-06-21 14:22:22 +03:00
2022-09-05 13:28:56 +03:00
2023-02-10 12:02:11 +02:00
2022-09-26 13:34:38 +03:00
2023-02-10 12:02:11 +02:00
2023-01-27 13:54:14 +01:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2021-03-31 11:05:21 +03:00
2023-01-27 13:54:14 +01:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2021-10-28 08:48:36 +03:00
2021-10-13 12:03:32 +03:00
2021-07-02 13:02:26 +03:00
2022-09-05 13:28:56 +03:00
2023-04-27 09:39:53 +03:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2021-04-21 07:25:48 +03:00
2021-11-16 14:26:13 +02:00
2023-02-10 12:02:11 +02:00
2023-04-27 09:39:53 +03:00
2022-09-26 13:34:38 +03:00
2023-04-24 12:43:47 +02:00
2023-02-10 12:02:11 +02:00
2023-05-03 15:53:14 +02:00
2022-06-09 12:22:55 +03:00
2022-10-02 14:38:13 +02:00
2022-12-13 14:39:18 +02:00
2023-02-10 12:02:11 +02:00
2022-10-25 11:26:37 +03:00
2022-02-01 20:33:04 +01:00
2023-02-10 12:02:11 +02:00
2022-09-26 13:34:38 +03:00
2022-02-01 20:33:04 +01:00
2022-05-09 22:04:06 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2021-10-21 15:26:25 +03:00
2021-10-21 14:57:00 +03:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-05-02 10:09:27 +02:00
2022-05-09 22:04:06 +02:00
2023-02-10 12:02:11 +02:00
2022-09-20 13:17:02 +03:00
2023-02-10 12:02:11 +02:00
2022-12-13 14:39:18 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-01-28 18:22:55 +01:00
2023-01-27 13:54:14 +01:00
2023-02-10 12:02:11 +02:00
2022-10-05 10:09:49 +03:00
2022-09-20 13:17:02 +03:00
2021-08-18 18:22:35 +03:00
2023-02-10 12:02:11 +02:00
2022-09-26 13:34:38 +03:00
2023-02-10 12:02:11 +02:00
2022-08-02 16:35:15 +10:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-01-03 17:08:42 +02:00
2022-11-30 13:10:52 +02:00
2023-01-28 18:22:55 +01:00
2023-01-28 18:22:55 +01:00
2023-02-10 12:02:11 +02:00
2023-04-24 12:43:47 +02:00
2021-06-30 18:41:46 +03:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2022-05-09 22:04:06 +02:00
2023-05-04 18:19:47 +02:00
2023-01-13 10:18:30 +02:00
2023-01-28 18:22:55 +01:00
2022-05-09 22:04:06 +02:00
2021-03-05 12:54:43 +02:00
2022-09-05 13:28:56 +03:00
2023-01-27 13:54:14 +01:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2022-09-05 13:28:56 +03:00
2022-09-05 13:28:56 +03:00
2021-04-20 12:30:09 +03:00
2023-02-10 12:02:11 +02:00
2021-02-23 09:25:57 +01:00
2023-04-24 12:43:47 +02:00
2023-01-27 13:54:14 +01:00
2022-10-25 11:26:37 +03:00
2022-10-02 14:38:13 +02:00
2021-09-17 19:57:13 +03:00
2022-11-08 17:01:28 +02:00
2021-04-21 09:01:01 +03:00
2022-09-26 13:34:38 +03:00
2023-02-10 12:02:11 +02:00
2022-08-10 12:24:31 +02:00
2023-04-27 09:39:53 +03:00
2022-02-01 20:33:04 +01:00
2023-05-04 18:19:47 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2021-07-02 13:02:26 +03:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2022-03-29 12:59:18 +03:00
2023-01-03 17:08:42 +02:00
2023-02-10 12:02:11 +02:00
2022-09-05 13:28:56 +03:00
2022-11-30 13:10:52 +02:00
2023-01-27 13:54:14 +01:00
2022-06-27 10:14:37 +03:00
2022-04-21 11:33:59 +03:00
2022-11-30 13:10:52 +02:00
2021-04-08 07:47:49 +03:00