maria:bb-11.1-mdev-25080

Last commit made on 2023-05-24
Get this branch:
git clone -b bb-11.1-mdev-25080 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.1-mdev-25080
Repository:
lp:maria

Recent commits

8cb8a40... by Sergei Golubchik

fix federatedx select pushdown after rebase

9796768... by Sergei Golubchik

MDEV-25080 Switch to new version of ColumnStore

6.4.7-1 -> 23.02.3-1

673098e... by Sergei Golubchik

enable ColumnStore only on selected DEB distributions

be72efa... by Sergei Golubchik

autobake-deb: move columnstore code down

where distro name is known.
also it doesn't need s/-10.6// anymore

and s/// is vim-friendlier than s###

4c0a890... by Sergei Golubchik

more C API methods in the service_sql

for columnstore

fbaa446... by Oleg Smirnov

MDEV-25080 Fix incorrect view names in printed queries

When printing Item_direct_view_ref the printed field name must be
complemented with the view name/derived table alias.
For example, for "SELECT a FROM (SELECT a FROM t1) q" field `a`
in the select list must be printed as `q`.`a`.

But if the view was merged then the initial `q` does not make sense
any more so field `a` must be printed as `t1`.`a`

e67336b... by Oleg Smirnov

MDEV-25080 Fix crash for CREATE TABLE from pushed union

During st_select_lex_unit::prepare() the member select_unit*
st_select_lex_unit::union_result is being assigned to an instance
of one of the following classes:
 - select_unit
 - select_unit_ext
 - select_unit_recursive
 - select_union_direct
Select_union_direct used to pass the result of the query directly to
the receiving select_result without filling a temporary table. This class
wraps a select_result object and is currently used to process UNION ALL
queries. Other select_unit_* classes involve some additional result processing.
Pushed down units are processed on the engine side so the results must be
also passed directly to a select_result object. So in the case when
the unit pushdown is employed st_select_lex_unit::union_result must be
assigned to an instance of select_union_direct.

4b25197... by Oleg Smirnov

MDEV-25080 Allow pushdown of UNIONs to foreign engines

Allow queries of multiple SELECTs combined together with
UNIONs/EXCEPTs/INTERSECTs to be pushed down to foreign engines.
If the foreign engine provides an interface method "create_unit"
and the UNIT is a top-level unit of the SQL query then the server
tries to push the whole SELECT_LEX_UNIT down to the engine for execution.
The engine should perform necessary checks and if they succeed,
execute the query. If the engine is unable to execute the whole unit,
then another attempt is made to push down SELECTs composing the unit
separately using the "create_select" interface method. In this case
the results of separate SELECTs are combined at the server side
thus composing the final result

5d237c2... by Sergei Golubchik

update test results

46de687... by Oleksandr "Sanja" Byelkin

Merge branch '11.0' into 11.1