From ec790fddd9e339fb90b81bfc2f94facd8c230523 Mon Sep 17 00:00:00 2001 From: Reio Remma Date: Thu, 10 Oct 2019 11:43:06 +0300 Subject: [PATCH] Add mysqldbcompare option to skip events comparison (--skip-events). --- scripts/mysqldbcompare.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/mysqldbcompare.py b/scripts/mysqldbcompare.py index 88e8790b..dd7d4420 100755 --- a/scripts/mysqldbcompare.py +++ b/scripts/mysqldbcompare.py @@ -125,6 +125,11 @@ help="skip check of all table options (e.g., " "AUTO_INCREMENT, ENGINE, CHARSET, etc.).") + # Skip events comparison + parser.add_option("--skip-events", action="store_true", + dest="skip_events", + help="skip events comparison step.") + # Add display width option parser.add_option("--width", action="store", dest="width", type="int", help="display width", @@ -249,6 +254,7 @@ "reverse": opt.reverse, "span_key_size": opt.span_key_size, "skip_table_opts": opt.skip_tbl_opts, + "skip_events": opt.skip_events, "charset": opt.charset, "use_indexes": db_idxes_l, "compact": opt.compact,