Galina Shalygina
dffe3d1fb2
MDEV-35910 Conditions with SP local variables are not pushed into derived table
...
This bug prevented building conditions that could be pushed into a derived
table if the derived table was used in a query of a stored procedure and
the conditions contained local variables of the procedure. This could lead
to a slow execution of the procedure.
Also in some cases the bug prevented building conditions that could be
pushed from the HAVING condition into the WHERE condition of a query if
the conditions to be built used local variables of a stored procedure.
To failure to build such pushable conditions was due to lack of a proper
implementation of the virtual method to copy items for the objects of the
class Item_splocal.
Approved by Igor Babaev <igor@mariadb.com >
who had to change the original fix that just added the regular copying of
the nodes of the Item_splocal class to take into account the wrappers
do_get_copy() and do_build_clone() introduced after the fix had been
prepared. He also changed the test case to demonstrate that the fix
was really needed for pushdown from HAVING into WHERE.
2025-01-26 20:42:17 -08:00
..
2025-01-07 16:31:39 +01:00
2024-11-23 08:14:22 -07:00
2024-10-28 15:29:10 +01:00
2024-10-23 14:58:57 +02:00
2024-11-23 08:14:23 -07:00
2024-11-25 18:29:13 +04:00
2024-11-23 08:14:22 -07:00
2024-10-16 17:24:46 +03:00
2024-10-16 17:24:46 +03:00
2025-01-17 23:42:56 +01:00
2024-11-19 11:50:12 +04:00
2025-01-17 23:42:56 +01:00
2024-11-23 08:14:22 -07:00
2025-01-14 18:56:13 +03:00
2025-01-22 11:16:56 +11:00
2025-01-22 11:16:56 +11:00
2024-10-16 17:24:46 +03:00
2024-10-16 17:24:46 +03:00
2025-01-22 15:28:44 +01:00
2025-01-14 18:56:13 +03:00
2024-11-23 08:14:22 -07:00
2024-12-04 13:22:45 +02:00
2024-11-25 10:37:02 +04:00
2024-11-23 08:14:22 -07:00
2024-12-02 11:04:38 +02:00
2025-01-07 16:31:39 +01:00
2024-11-19 14:26:39 +04:00
2024-11-21 22:43:56 +11:00
2025-01-26 16:15:46 +01:00
2025-01-23 11:29:52 +01:00
2025-01-23 13:50:29 -08:00
2024-11-23 08:14:22 -07:00
2025-01-09 11:35:09 +07:00
2025-01-09 11:35:09 +07:00
2024-11-22 12:15:03 +04:00
2025-01-17 15:39:55 +04:00
2025-01-26 20:42:17 -08:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-12-05 08:17:35 +01:00
2024-12-03 15:05:32 +01:00
2024-12-05 08:17:35 +01:00
2025-01-25 20:37:51 +01:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-11-21 22:43:56 +11:00
2025-01-18 17:27:54 -07:00
2024-10-16 17:24:46 +03:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-10-25 18:02:14 +03:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2025-01-13 19:14:26 +01:00
2024-11-23 08:14:22 -07:00
2024-12-03 15:05:32 +01:00
2024-12-03 15:05:32 +01:00
2024-10-16 17:24:46 +03:00
2025-01-20 12:19:31 +01:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-12-04 18:22:31 +03:00
2024-12-12 08:40:55 +11:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2025-01-13 10:04:27 +01:00
2025-01-13 10:04:27 +01:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2024-12-04 17:22:29 +01:00
2025-01-26 16:15:46 +01:00
2025-01-24 17:02:44 +01:00
2025-01-18 15:11:12 +01:00
2024-11-23 08:14:23 -07:00
2024-11-23 08:14:23 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:23 -07:00
2025-01-26 16:15:46 +01:00
2024-12-24 15:54:56 +07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2025-01-26 16:15:46 +01:00
2025-01-26 16:15:46 +01:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2025-01-17 23:42:56 +01:00
2025-01-09 09:28:28 +01:00
2024-12-13 16:27:14 +01:00
2024-11-23 08:14:22 -07:00
2025-01-20 12:19:31 +01:00
2025-01-17 23:42:56 +01:00
2024-10-16 17:24:46 +03:00
2025-01-13 15:59:07 -07:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:23 -07:00
2025-01-17 23:42:56 +01:00
2025-01-24 17:02:44 +01:00
2025-01-14 18:56:13 +03:00
2025-01-16 10:48:11 +11:00
2025-01-12 13:40:18 +11:00
2024-11-23 08:14:23 -07:00
2025-01-14 18:56:13 +03:00
2024-10-16 17:24:46 +03:00
2025-01-09 09:28:28 +01:00
2024-12-14 13:08:17 +07:00
2024-12-14 13:08:17 +07:00
2024-10-16 17:24:46 +03:00
2025-01-13 11:56:19 +11:00
2025-01-17 15:39:55 +04:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:22 -07:00
2025-01-26 16:15:46 +01:00
2024-10-17 16:28:39 +02:00
2025-01-17 23:42:56 +01:00
2025-01-17 23:42:56 +01:00
2024-11-23 08:14:23 -07:00
2024-11-21 22:43:56 +11:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:23 -07:00
2025-01-13 10:04:27 +01:00
2025-01-17 23:42:56 +01:00
2025-01-07 16:46:43 +01:00
2024-12-12 07:27:38 +11:00
2025-01-18 17:27:54 -07:00
2024-11-18 11:34:13 +04:00
2024-11-23 08:14:22 -07:00
2025-01-24 17:07:19 +07:00
2025-01-14 18:56:13 +03:00
2024-10-16 17:24:46 +03:00
2024-11-23 08:14:22 -07:00
2024-11-23 08:14:23 -07:00
2024-11-23 08:14:23 -07:00
2024-11-15 12:18:06 +11:00
2025-01-13 19:14:26 +01:00
2024-11-06 04:59:10 +01:00
2025-01-26 16:15:46 +01:00
2025-01-24 17:02:44 +01:00
2025-01-14 02:17:22 +01:00
2025-01-13 19:14:26 +01:00
2025-01-14 02:17:22 +01:00
2024-10-16 17:24:46 +03:00
2024-10-16 17:24:46 +03:00
2024-10-16 17:24:46 +03:00
2024-11-21 22:43:56 +11:00
2024-11-23 08:14:22 -07:00