summaryrefslogtreecommitdiff
path: root/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
blob: 69242c507bf858acd140c9575ce935679c2897e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/plugins/wb.admin/frontend/wb_admin_export.py b/plugins/wb.admin/frontend/wb_admin_export.py
index 40f5167..ebf6c3d 100644
--- a/plugins/wb.admin/frontend/wb_admin_export.py
+++ b/plugins/wb.admin/frontend/wb_admin_export.py
@@ -1858,8 +1858,6 @@ class WbAdminExportTab(WbAdminSchemaListTab):
                 args.append("--ssl-cipher=%s" % conn["sslCipher"])
 
         # Sets the compatibility parameters if needed
-        if self._compatibility_params:
-          args.append("--set-gtid-purged=OFF")
         if conn.get("OPT_ENABLE_CLEARTEXT_PLUGIN", ""):
             args.append("--enable-cleartext-plugin")
 
diff --git a/plugins/wb.admin/frontend/wb_admin_export_options.py b/plugins/wb.admin/frontend/wb_admin_export_options.py
index e9ec2e7..653f531 100644
--- a/plugins/wb.admin/frontend/wb_admin_export_options.py
+++ b/plugins/wb.admin/frontend/wb_admin_export_options.py
@@ -53,9 +53,9 @@ export_options = {
     "order-by-primary":["Dump each table's rows sorted by its primary key, or by its first unique index.","FALSE"],
     "dump-date":["Include dump date as \"Dump completed on\" comment if --comments is given.","TRUE"],
     "$internal$show-internal-schemas":["Show internal MySQL schemas (mysql, information_schema, performance_schema) in the export schema list.","FALSE"],
-    "tz-utc":["Add SET TIME_ZONE='+00:00' to the dump file.","TRUE"],
+    "tz-utc":["Add SET TIME_ZONE='+00:00' to the dump file.","TRUE"]
 #    "xml":["Produce XML output.","FALSE"]
-    "set-gtid-purged":["Add 'SET @@GLOBAL.GTID_PURGED' to the output.","AUTO","STR",("5.6.9", None)]
+#   "set-gtid-purged":["Add 'SET @@GLOBAL.GTID_PURGED' to the output.","AUTO","STR",("5.6.9", None)]
     }
 
     }