Version 3.6.0.2, tag libreoffice-3.6.0.2
[LibreOffice.git] / mysqlcppconn / patches / default_to_protocol_tcp.patch
blob320d699ed697d7cedae0bbec28b92449395c361b
1 --- misc/mysql-connector-c++-1.1.0/driver/mysql_connection.cpp 2009-12-16 13:24:24.088933245 +0100
2 +++ misc/build/mysql-connector-c++-1.1.0/driver/mysql_connection.cpp 2009-12-16 13:24:15.666841004 +0100
3 @@ -437,6 +437,9 @@
7 + int default_protocol_tcp = MYSQL_PROTOCOL_TCP;
8 + proxy->options(MYSQL_OPT_PROTOCOL, (const char *) &default_protocol_tcp);
10 #ifndef _WIN32
11 if (!hostName.compare(0, sizeof("unix://") - 1, "unix://")) {
12 protocol_tcp = false;