View | Details | Raw Unified | Return to bug 229950
Collapse All | Expand All

(-)databases/mysql++3/files/patch-lib_dbdriver.cpp (+19 lines)
Line 0 Link Here
1
https://tangentsoft.com/mysqlpp/info/4f077284dd2ca1b6
2
https://tangentsoft.com/mysqlpp/info/e5f2c3d83f
3
4
Index: lib/dbdriver.cpp
5
==================================================================
6
--- lib/dbdriver.cpp.orig	2015-03-19 00:55:17 UTC
7
+++ lib/dbdriver.cpp
8
@@ -257,7 +257,11 @@ DBDriver::set_option(unsigned int o, boo
9
 	}
10
 	
11
 	if ((n == 1) &&
12
+#ifdef CLIENT_LONG_PASSWORD
13
 			(o >= CLIENT_LONG_PASSWORD) &&
14
+#else
15
+			(o >= CLIENT_MYSQL) &&
16
+#endif
17
 #if MYSQL_VERSION_ID > 40000	// highest flag value varies by version
18
 			(o <= CLIENT_MULTI_RESULTS)
19
 #else

Return to bug 229950