mariadb/tests
Dmitry Shulga bab989ab38 MDEV-26145: Incorrect metadata is sent on running query with union in PS mode
Test cases like the following one produce different result sets if it's run
with and without th option --ps-protocol.

CREATE TABLE t1(a INT);
--enable_metadata
(SELECT MAX(a) FROM t1) UNION (SELECT MAX(a) FROM t1);
--disable_metadata
DROP TABLE t1;

Result sets differ in metadata for the query
  (SELECT MAX(a) FROM t1) UNION (SELECT MAX(a) FROM t1);

The reason for different content of query metadata is that for queries
with union the items being created on JOIN preparing phase is placed into
item_list from SELECT_LEX_UNIT whereas for queries without union item_list
from SELECT_LEX is used instead.
2021-07-19 19:25:11 +07:00
..
async_queries.c
auto_increment.res
auto_increment.tst
big_record.pl
bug25714.c
check_async_queries.pl
CMakeLists.txt
connect_test.c
consistent_snapshot.pl
deadlock_test.c
drop_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
export.pl
fork2_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
fork_big.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
fork_big2.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
function.res
function.tst
grant.res
index_corrupt.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
insert_and_repair.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
insert_test.c
list_test.c
lock_test.pl
lock_test.res
mail_to_db.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
myisam-big-rows.tst
mysql_client_fw.c
mysql_client_test.c MDEV-26145: Incorrect metadata is sent on running query with union in PS mode 2021-07-19 19:25:11 +07:00
nonblock-wrappers.h
pmail.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
rename_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
restore-lock.smack
select_test.c
showdb_test.c
ssl_test.c
table_types.pl
test_delayed_insert.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
thread_test.c
truncate.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00