Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS-9328: Fix for sporadic rpl.rpl_json test failures. #5429

Merged
merged 1 commit into from
Sep 16, 2024
Merged
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
2 changes: 1 addition & 1 deletion mysql-test/suite/rpl/r/rpl_json.result
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ nkey jcol
4 {"12": "uciov", "13": "ierdna", "14": "elisav", "15": "namor", "16": "jugcvb"}
5 {"1": "ailemac", "2": "nielk", "3": "nuicarc", "4": "ihcseruj", "5": "qweasdas"}
6 [1, 2, 3, 4, 5]
SELECT JSON_OBJECTAGG(t1.pkey, t2.jcol) FROM data_table AS t1, json_data AS t2;
SELECT /*+ JOIN_ORDER(t1, t2) */ JSON_OBJECTAGG(t1.pkey, t2.jcol) FROM data_table AS t1, json_data AS t2;
JSON_OBJECTAGG(t1.pkey, t2.jcol)
{"1": [1, 2, 3, 4, 5], "2": [1, 2, 3, 4, 5], "3": [1, 2, 3, 4, 5], "4": [1, 2, 3, 4, 5], "5": [1, 2, 3, 4, 5]}
SELECT JSON_ARRAYAGG(jcol) FROM json_data;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/rpl/t/rpl_json.test
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ INSERT INTO json_data(jcol) SELECT JSON_ARRAYAGG(pkey) FROM data_table;
--echo # Check whether tables were created on the slave

SELECT * FROM json_data;
SELECT JSON_OBJECTAGG(t1.pkey, t2.jcol) FROM data_table AS t1, json_data AS t2;
SELECT /*+ JOIN_ORDER(t1, t2) */ JSON_OBJECTAGG(t1.pkey, t2.jcol) FROM data_table AS t1, json_data AS t2;
SELECT JSON_ARRAYAGG(jcol) FROM json_data;

--let $diff_tables = master:json_data, slave:json_data
Expand Down
Loading