Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 53 additions & 53 deletions mysql-test/main/brackets.result

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mysql-test/main/ctype_utf16.result
Original file line number Diff line number Diff line change
Expand Up @@ -3067,7 +3067,7 @@ select 'AMZ'like 'A%M%Z';
SET NAMES utf8;
CREATE TABLE t1 (a TEXT CHARACTER SET utf16);
SELECT * FROM (VALUES (1) UNION SELECT * FROM t1) AS t;
1
column_0
1
DROP TABLE t1;
VALUES (1) UNION SELECT _utf16 0x0020;
Expand Down
8 changes: 4 additions & 4 deletions mysql-test/main/func_str.result
Original file line number Diff line number Diff line change
Expand Up @@ -5449,8 +5449,8 @@ count(*)
select count(*) from seq_1_to_1024 where length(random_bytes(seq)) = seq;
count(*)
1024
select random_bytes(`0`),`1` from (values (0,1),(null,2),(0,3)) t1;
random_bytes(`0`) 1
select random_bytes(`column_0`),`column_1` from (values (0,1),(null,2),(0,3)) t1;
random_bytes(`column_0`) column_1
1
NULL 2
3
Expand Down Expand Up @@ -5765,8 +5765,8 @@ set @@block_encryption_mode=default;
#
# MDEV-31633 Assertion `!item->null_value' failed in Type_handler::Item_send_str
#
select aes_encrypt(a,a) is null from (values('a'),(NULL),('b')) x;
aes_encrypt(a,a) is null
select aes_encrypt(column_0,column_0) is null from (values('a'),(NULL),('b')) x;
aes_encrypt(column_0,column_0) is null
0
1
0
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/main/func_str.test
Original file line number Diff line number Diff line change
Expand Up @@ -2479,7 +2479,7 @@ select count(*) from seq_17_to_1024 where random_bytes(seq) <=> random_bytes(seq

select count(*) from seq_1_to_1024 where length(random_bytes(seq)) = seq;

select random_bytes(`0`),`1` from (values (0,1),(null,2),(0,3)) t1;
select random_bytes(`column_0`),`column_1` from (values (0,1),(null,2),(0,3)) t1;

--echo #
--echo # Test NULL output for NULL input
Expand Down Expand Up @@ -2678,7 +2678,7 @@ set @@block_encryption_mode=default;
--echo #
--echo # MDEV-31633 Assertion `!item->null_value' failed in Type_handler::Item_send_str
--echo #
select aes_encrypt(a,a) is null from (values('a'),(NULL),('b')) x;
select aes_encrypt(column_0,column_0) is null from (values('a'),(NULL),('b')) x;

--echo #
--echo # MDEV-33659: Server crashed at Create_func_aes_decrypt::create_native
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/main/gis.result
Original file line number Diff line number Diff line change
Expand Up @@ -5652,7 +5652,7 @@ v5 a 101
v6 a 101
v7 a 101
v8 a 101
v9 (select max(`test`.`t1`.`a`) from `test`.`t1`) 101
v9 column_0 101
DROP TABLE t2,t3,t4,t5,t6,t7,t8,t9;
DROP VIEW v2,v3,v4,v5,v6,v7,v8,v9;
DROP TABLE t1;
Expand Down
12 changes: 6 additions & 6 deletions mysql-test/main/intersect_all.result
Original file line number Diff line number Diff line change
Expand Up @@ -1122,25 +1122,25 @@ drop view v;
# First line of these results is column names, not the result
# (pay attention to "affected rows")
values (1, 2) union all values (1, 2);
1 2
column_0 column_1
1 2
1 2
affected rows: 2
values (1, 2) union all values (1, 2) union values (4, 3) union all values (4, 3);
1 2
column_0 column_1
1 2
4 3
4 3
affected rows: 3
values (1, 2) union all values (1, 2) union values (4, 3) union all values (4, 3) union all values (1, 2);
1 2
column_0 column_1
1 2
4 3
4 3
1 2
affected rows: 4
values (1, 2) union all values (1, 2) union values (4, 3) union all values (4, 3) union all values (1, 2) union values (1, 2);
1 2
column_0 column_1
1 2
4 3
affected rows: 2
Expand Down Expand Up @@ -1178,7 +1178,7 @@ a b
create view v2 as select * from t1 union values (1, 2) intersect all select * from t2;
show create view v2;
View Create View character_set_client collation_connection
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v2` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b` from `t1` union select `__5`.`1` AS `1`,`__5`.`2` AS `2` from (values (1,2) intersect all select `t2`.`a` AS `a`,`t2`.`b` AS `b` from `t2`) `__5` latin1 latin1_swedish_ci
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v2` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b` from `t1` union select `__5`.`column_0` AS `column_0`,`__5`.`column_1` AS `column_1` from (values (1,2) intersect all select `t2`.`a` AS `a`,`t2`.`b` AS `b` from `t2`) `__5` latin1 latin1_swedish_ci
select * from v2;
a b
1 2
Expand Down Expand Up @@ -1240,7 +1240,7 @@ a b
2 3
show create view v2;
View Create View character_set_client collation_connection
v2 CREATE VIEW "v2" AS select "__7"."a" AS "a","__7"."b" AS "b" from (select "t1"."a" AS "a","t1"."b" AS "b" from "t1" union select "__5"."1" AS "1","__5"."2" AS "2" from (select "__6"."1" AS "1","__6"."2" AS "2" from (values (1,2) intersect all select "t2"."a" AS "a","t2"."b" AS "b" from "t2") "__6") "__5") "__7" latin1 latin1_swedish_ci
v2 CREATE VIEW "v2" AS select "__7"."a" AS "a","__7"."b" AS "b" from (select "t1"."a" AS "a","t1"."b" AS "b" from "t1" union select "__5"."column_0" AS "column_0","__5"."column_1" AS "column_1" from (select "__6"."column_0" AS "column_0","__6"."column_1" AS "column_1" from (values (1,2) intersect all select "t2"."a" AS "a","t2"."b" AS "b" from "t2") "__6") "__5") "__7" latin1 latin1_swedish_ci
select * from v2;
a b
1 2
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/main/opt_trace.result
Original file line number Diff line number Diff line change
Expand Up @@ -12408,7 +12408,7 @@ jd
}
},
{
"expanded_query": "/* select#2 */ select tvc_0._col_1 from (values (1),(2),(3),(4),(5),(6)) tvc_0"
"expanded_query": "/* select#2 */ select tvc_0.column_0 from (values (1),(2),(3),(4),(5),(6)) tvc_0"
}
]
}
Expand Down
Loading