diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-09 05:48:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-10 07:16:25 +0700 |
commit | f67bb8de4dff7b5c9fa407a78969a2a5d44a2c03 (patch) | |
tree | 390e77cb975a09dd477c5a0ce717fb1e3af7b62e /development/mysql-workbench/copytable.patch | |
parent | 1b6cf4e2f15329eaf209049b2fb6ce1ab769c199 (diff) | |
download | slackbuilds-f67bb8de4dff7b5c9fa407a78969a2a5d44a2c03.tar.gz |
development/mysql-workbench: Updated for version 6.3.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mysql-workbench/copytable.patch')
-rw-r--r-- | development/mysql-workbench/copytable.patch | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/development/mysql-workbench/copytable.patch b/development/mysql-workbench/copytable.patch index fbdd928bc8..3a061cd6d0 100644 --- a/development/mysql-workbench/copytable.patch +++ b/development/mysql-workbench/copytable.patch @@ -1,18 +1,17 @@ ---- mysql-workbench-community-6.3.8-src/plugins/migration/copytable/copytable.cpp.orig 2016-10-23 15:39:11.356781884 +0700 -+++ mysql-workbench-community-6.3.8-src/plugins/migration/copytable/copytable.cpp 2016-10-23 15:39:36.864471189 +0700 -@@ -2847,14 +2847,7 @@ +--- mysql-workbench-community-6.3.9-src/plugins/migration/copytable/copytable.cpp.orig 2017-02-08 22:15:34.084153506 +0700 ++++ mysql-workbench-community-6.3.9-src/plugins/migration/copytable/copytable.cpp 2017-02-08 22:23:01.194114625 +0700 +@@ -2611,14 +2606,7 @@ // This is needed because the escaping depends on the character set in use by the server unsigned long ret_length = 0; - -- #if MYSQL_CHECK_VERSION(5, 7, 6) -- if (_target->is_mysql_version_at_least(5, 7, 6)) -- ret_length += mysql_real_escape_string_quote(_mysql, buffer + length, data, (unsigned long)dlength, '`'); -- else -- ret_length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength); -- #else + +-#if MYSQL_CHECK_VERSION(5, 7, 6) +- if (_target->is_mysql_version_at_least(5, 7, 6)) +- ret_length += mysql_real_escape_string_quote(_mysql, buffer + length, data, (unsigned long)dlength, '"'); +- else - ret_length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength); -- #endif -+ ret_length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength); +-#else + ret_length += mysql_real_escape_string(_mysql, buffer + length, data, (unsigned long)dlength); +-#endif - if( ret_length != (unsigned long) -1) + if (ret_length != (unsigned long)-1) length += ret_length; |