Skip to content

Commit

Permalink
Fix galera_sync_wait_show.test
Browse files Browse the repository at this point in the history
Since the purpose of event is just to see on second node whether it is
created or not And we are not goint to execute the event also. So instead
of setting GLOBAL event_scheduler=ON and then turning it off,  we can just
disable the warning.
  • Loading branch information
mariadb-SachinSetiya committed Jun 27, 2019
1 parent 7f2cfa8 commit 6bc782a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mysql-test/suite/galera/t/galera_sync_wait_show.test
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ DROP TABLE t1;


--connection node_1
--disable_warnings
CREATE EVENT event1 ON SCHEDULE AT '2038-01-01 23:59:59' DO SELECT 1;
--enable_warnings

--connection node_2
SHOW CREATE EVENT event1;
Expand Down

0 comments on commit 6bc782a

Please sign in to comment.