summaryrefslogtreecommitdiff
path: root/dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-01-19 10:22:16 +0100
committerAaron Bauman <bman@gentoo.org>2019-02-27 00:35:29 -0500
commit9ac346b7c9110d5ecc7d6601064e2aaafa1c7e61 (patch)
tree0fac711f152f781eeb420488d6ed861c58b811d6 /dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch
parent533444e1ea9c3d9e79ca5676dccfe7649cd0ca50 (diff)
downloadgentoo-9ac346b7c9110d5ecc7d6601064e2aaafa1c7e61.tar.gz
gentoo-9ac346b7c9110d5ecc7d6601064e2aaafa1c7e61.tar.bz2
gentoo-9ac346b7c9110d5ecc7d6601064e2aaafa1c7e61.zip
dev-db/mysql-workbench: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10868 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch')
-rw-r--r--dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch b/dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch
deleted file mode 100644
index 7fb9c8d57fc5..000000000000
--- a/dev-db/mysql-workbench/files/mysql-workbench-6.3.3-mysql_options4.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- plugins/migration/copytable/copytable.cpp.~1~ 2015-04-15 15:54:19.000000000 +0200
-+++ plugins/migration/copytable/copytable.cpp 2015-04-26 08:53:08.871167725 +0200
-@@ -1920,12 +1920,17 @@
- _incoming_data_charset = "latin1";
-
- mysql_init(&_mysql);
-+/* This is optional has compiled in for MySQL >= 5.6.6
-+ * Looks like MariaDB does not support this as supposed,
-+ * so disable completly. */
-+#ifndef MARIADB_BASE_VERSION
- #if defined(MYSQL_VERSION_MAJOR) && defined(MYSQL_VERSION_MINOR) && defined(MYSQL_VERSION_PATCH)
- #if MYSQL_CHECK_VERSION(5,6,6)
- if (is_mysql_version_at_least(5,6,6))
- mysql_options4(&_mysql, MYSQL_OPT_CONNECT_ATTR_ADD, "program_name", app_name.c_str());
- #endif
- #endif
-+#endif
-
- // _bulk_insert_record is used to prepare a single record string, the connection
- // is needed to escape binary data properly
---- plugins/migration/copytable/copytable.cpp.~1~ 2015-04-26 08:57:30.444285953 +0200
-+++ plugins/migration/copytable/copytable.cpp 2015-04-26 10:16:39.234711324 +0200
-@@ -2875,6 +2875,9 @@
-
- // This function is used to create a legal SQL string that you can use in an SQL statement
- // This is needed because the escaping depends on the character set in use by the server
-+ #ifdef MARIADB_BASE_VERSION
-+ length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength);
-+ #else
- #if defined(MYSQL_VERSION_MAJOR) && defined(MYSQL_VERSION_MINOR) && defined(MYSQL_VERSION_PATCH)
- #if MYSQL_CHECK_VERSION(5,7,6)
- if (is_mysql_version_at_least(5,7,6))
-@@ -2885,6 +2888,7 @@
- length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength);
- #endif
- #endif
-+ #endif
-
- return true;
- }