Skip to content

Commit f7be74a

Browse files
Change list_parsing.test so that the output is always sorted, add multi-value filter names to Config.pm
1 parent 7f43dbb commit f7be74a

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
SHOW VARIABLES LIKE 'replicate_do_table';
2-
Variable_name Value
3-
replicate_do_table test.t3,test.t1,test.t2
1+
SELECT GROUP_CONCAT(tbl ORDER BY tbl) AS sorted_replicate_do_table
2+
FROM JSON_TABLE(
3+
CONCAT('["', REPLACE(@@replicate_do_table, ',', '","'), '"]'),
4+
'$[*]' COLUMNS (
5+
tbl VARCHAR(255) PATH '$'
6+
)
7+
) AS jt;
8+
sorted_replicate_do_table
9+
test.t1,test.t2,test.t3

mysql-test/main/list_parsing.test

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
--source include/not_embedded.inc
2-
SHOW VARIABLES LIKE 'replicate_do_table';
2+
SELECT GROUP_CONCAT(tbl ORDER BY tbl) AS sorted_replicate_do_table
3+
FROM JSON_TABLE(
4+
CONCAT('["', REPLACE(@@replicate_do_table, ',', '","'), '"]'),
5+
'$[*]' COLUMNS (
6+
tbl VARCHAR(255) PATH '$'
7+
)
8+
) AS jt;

0 commit comments

Comments
 (0)