mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
855356ca6d
Pushing down statements to FederatedX engine is implemented by printing either SELECT_LEX or SELECT_LEX_UNIT into a string and sending that string to the engine. In the case of pushing down a single SELECT having a CTE (WITH clause) there was a problem, because normally single SELECTs were printed using SELECT_LEX::print(). But CTEs are stored in the upper unit of the SELECT_LEX - SELECT_LEX_UNIT, so they were not unfolded in the string produced. The solution is to invoke SELECT_LEX_UNIT::print() when pushing down single SELECT statements (but not those which are parts of units), so the possible CTEs are unfolded and printed. Reviewed by Sergei Petrunia (sergey@mariadb.com) |
||
---|---|---|
.. | ||
include | ||
assisted_discovery.result | ||
assisted_discovery.test | ||
combinations | ||
disabled.def | ||
error_on_close-8313.result | ||
error_on_close-8313.test | ||
error_row_number.result | ||
error_row_number.test | ||
federated.result | ||
federated.test | ||
federated_archive.result | ||
federated_archive.test | ||
federated_bug_13118.result | ||
federated_bug_13118.test | ||
federated_bug_25714.result | ||
federated_bug_25714.test | ||
federated_bug_32426.result | ||
federated_bug_32426.test | ||
federated_bug_35333.result | ||
federated_bug_35333.test | ||
federated_bug_585688.result | ||
federated_bug_585688.test | ||
federated_debug-master.opt | ||
federated_debug.result | ||
federated_debug.test | ||
federated_innodb.result | ||
federated_innodb.test | ||
federated_maybe_16324629.result | ||
federated_maybe_16324629.test | ||
federated_partition-slave.opt | ||
federated_partition.result | ||
federated_partition.test | ||
federated_server.result | ||
federated_server.test | ||
federated_transactions.result | ||
federated_transactions.test | ||
federated_type_inet6.result | ||
federated_type_inet6.test | ||
federatedx.result | ||
federatedx.test | ||
federatedx_create_handlers.result | ||
federatedx_create_handlers.test | ||
federatedx_versioning.result | ||
federatedx_versioning.test | ||
have_federatedx.inc | ||
have_federatedx.opt | ||
indexes.result | ||
indexes.test | ||
my.cnf | ||
net_thd_crash-12725.result | ||
net_thd_crash-12725.test | ||
net_thd_crash-12951.result | ||
net_thd_crash-12951.test | ||
optimizer.result | ||
optimizer.test | ||
rpl.result | ||
rpl.test | ||
suite.pm | ||
timestamps.result | ||
timestamps.test |