Commit cf7bac11 authored by Alfranio Correia's avatar Alfranio Correia

BUG#50410: rpl_ndb tests should run with binlog_format=row

Post-fix: Updated a test case after the patch for BUG#50410,
because the patch makes ndb to run in the row format and as
such unsafe warning messages are not printed out.
parent 9cbb009b
...@@ -345,27 +345,19 @@ SET AUTOCOMMIT = 1; ...@@ -345,27 +345,19 @@ SET AUTOCOMMIT = 1;
BEGIN; BEGIN;
INSERT INTO tndb VALUES (147); INSERT INTO tndb VALUES (147);
INSERT INTO tinnodb SELECT * FROM tndb ORDER BY a DESC LIMIT 1; INSERT INTO tinnodb SELECT * FROM tndb ORDER BY a DESC LIMIT 1;
Warnings:
Note 1592 Statement may not be safe to log in statement format.
COMMIT; COMMIT;
INSERT INTO tndb VALUES (148); INSERT INTO tndb VALUES (148);
BEGIN; BEGIN;
INSERT INTO tinnodb SELECT * FROM tndb ORDER BY a DESC LIMIT 1; INSERT INTO tinnodb SELECT * FROM tndb ORDER BY a DESC LIMIT 1;
Warnings:
Note 1592 Statement may not be safe to log in statement format.
INSERT INTO tndb VALUES (149); INSERT INTO tndb VALUES (149);
COMMIT; COMMIT;
BEGIN; BEGIN;
INSERT INTO tndb VALUES (150); INSERT INTO tndb VALUES (150);
INSERT INTO tmyisam SELECT * FROM tndb ORDER BY a DESC LIMIT 1; INSERT INTO tmyisam SELECT * FROM tndb ORDER BY a DESC LIMIT 1;
Warnings:
Note 1592 Statement may not be safe to log in statement format.
COMMIT; COMMIT;
INSERT INTO tndb VALUES (151); INSERT INTO tndb VALUES (151);
BEGIN; BEGIN;
INSERT INTO tmyisam SELECT * FROM tndb ORDER BY a DESC LIMIT 1; INSERT INTO tmyisam SELECT * FROM tndb ORDER BY a DESC LIMIT 1;
Warnings:
Note 1592 Statement may not be safe to log in statement format.
INSERT INTO tndb VALUES (152); INSERT INTO tndb VALUES (152);
COMMIT; COMMIT;
==== Verify the result ==== ==== Verify the result ====
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment