summaryrefslogtreecommitdiff
path: root/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-27 07:33:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-03 20:50:14 +0700
commit32195460351e1762e623cb1b32d749f76ad761db (patch)
tree638a4e10f8a2d1178b0d10dfa6b17497b0505cac /development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
parent3efefad7a86cd7c4fb75547277c5a37b53f28319 (diff)
downloadslackbuilds-32195460351e1762e623cb1b32d749f76ad761db.tar.gz
development/mysql-workbench: Updated for version 6.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch')
-rw-r--r--development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch b/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
new file mode 100644
index 0000000000..69242c507b
--- /dev/null
+++ b/development/mysql-workbench/mysql-workbench-no-set-gtid-purged.patch
@@ -0,0 +1,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)]
+ }
+
+ }