summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/show_gtid_list.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/show_gtid_list.inc')
-rw-r--r--mysql-test/include/show_gtid_list.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/include/show_gtid_list.inc b/mysql-test/include/show_gtid_list.inc
new file mode 100644
index 00000000..96f813f1
--- /dev/null
+++ b/mysql-test/include/show_gtid_list.inc
@@ -0,0 +1,15 @@
+# ==== Purpose ====
+#
+# Extract Gtid_list info from SHOW BINLOG EVENTS output masking
+# non-deterministic fields.
+#
+# ==== Usage ====
+#
+# [--let $binlog_file=filename
+#
+if ($binlog_file)
+{
+ --let $_in_binlog_file=in '$binlog_file'
+}
+--replace_column 2 # 5 #
+--eval show binlog events $_in_binlog_file limit 1,1