mariadb/storage
Raghunandan Bhat dcf59cc248 MDEV-37484: Sql_cmd_dml::execute_inner, Sql_cmd_update::execute_inner do not call Select handler for the engine involved
Problem:
  After the re-design of `UPDATE` and `DELETE` in MDEV-28883, the call
  to find select handler is missing. This prevents the server from
  handring over multi-update/multi-delete queries to storage engines
  capable of executng such queries on their own (e.g., ColumnStore).

  MDEV-32382 introduced a check in `find_select_handler_inner` function,
  that blocked pushdown of queries involving CTEs, without checking if
  the storage engine is capable of handling such queries.

Fix:
  Add a call to find the select handler for the engine involved in the
  multi-update/multi-delete query, allowing the storage engines to
  execute such queries.

  Fix the `find_select_handler_inner` function by allowing the storage
  engine's create_select functions to decide the pushdown of queries
  involving CTEs.
2025-11-27 13:13:17 +05:30
..
archive Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
blackhole Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
columnstore columnstore 25.10.1-1 2025-10-24 13:32:45 +02:00
connect cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
csv Merge 10.11 into 11.4 2025-09-03 10:32:56 +03:00
example cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
federated Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
federatedx MDEV-37484: Sql_cmd_dml::execute_inner, Sql_cmd_update::execute_inner do not call Select handler for the engine involved 2025-11-27 13:13:17 +05:30
heap Fixed costs in JOIN_TAB::estimate_scan_time() and HEAP 2025-02-10 15:59:28 +02:00
innobase Merge 10.11 into 11.4 2025-11-11 10:34:33 +02:00
maria MDEV-37784 Introduce @@new_mode variable 2025-10-25 00:19:11 +07:00
mroonga cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
myisam cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
myisammrg cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
oqgraph Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
perfschema Merge 10.11 into 11.4 2025-09-03 10:32:56 +03:00
rocksdb cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
sequence Merge branch '10.11' into 11.1 2024-07-08 22:40:16 +02:00
sphinx Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
spider MDEV-37484: Sql_cmd_dml::execute_inner, Sql_cmd_update::execute_inner do not call Select handler for the engine involved 2025-11-27 13:13:17 +05:30
test_sql_discovery Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00