Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
desktop
>
mysql-workbench62
> mysql-workbench-mysql_options4.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mysql-workbench-mysql_options4.patch of Package mysql-workbench62
diff -Pdpru mysql-workbench-community-6.2.3-src.orig/plugins/migration/copytable/copytable.cpp mysql-workbench-community-6.2.3-src/plugins/migration/copytable/copytable.cpp --- mysql-workbench-community-6.2.3-src.orig/plugins/migration/copytable/copytable.cpp 2014-09-15 18:12:58.000000000 +0200 +++ mysql-workbench-community-6.2.3-src/plugins/migration/copytable/copytable.cpp 2014-09-27 16:31:13.874689080 +0200 @@ -1888,11 +1888,16 @@ MySQLCopyDataTarget::MySQLCopyDataTarget _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. */ +#if 0 #if defined(MYSQL_VERSION_MAJOR) && defined(MYSQL_VERSION_MINOR) && defined(MYSQL_VERSION_PATCH) #if MYSQL_CHECK_VERSION(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