Change-Id: I5945fa432a9371854e25454feabcafabed7f7b7d Reviewed-on: https://gerrit.libreoffice.org/6346 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
13 lines
467 B
Diff
13 lines
467 B
Diff
--- misc/mysql-connector-c++-1.1.0/driver/mysql_connection.cpp 2009-12-16 13:24:24.088933245 +0100
|
|
+++ misc/build/mysql-connector-c++-1.1.0/driver/mysql_connection.cpp 2009-12-16 13:24:15.666841004 +0100
|
|
@@ -437,6 +437,9 @@
|
|
}
|
|
}
|
|
|
|
+ int default_protocol_tcp = MYSQL_PROTOCOL_TCP;
|
|
+ proxy->options(MYSQL_OPT_PROTOCOL, (const char *) &default_protocol_tcp);
|
|
+
|
|
#ifndef _WIN32
|
|
if (!hostName.compare(0, sizeof("unix://") - 1, "unix://")) {
|
|
protocol_tcp = false;
|