mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 08:10:31 -04:00
./lib/dbdriver.cpp:260:10: error: use of undeclared identifier 'CLIENT_LONG_PASSWORD' (o >= CLIENT_LONG_PASSWORD) && ^ 1 warning and 1 error generated. gmake[1]: *** [Makefile:545: mysqlpp_dbdriver.o] Error 1 PR: 229950 Submitted by: Ting-Wei Lan <lantw44@gmail.com> (maintainer)
19 lines
567 B
C++
19 lines
567 B
C++
https://tangentsoft.com/mysqlpp/info/4f077284dd2ca1b6
|
|
https://tangentsoft.com/mysqlpp/info/e5f2c3d83f
|
|
|
|
Index: lib/dbdriver.cpp
|
|
==================================================================
|
|
--- lib/dbdriver.cpp.orig 2015-03-19 00:55:17 UTC
|
|
+++ lib/dbdriver.cpp
|
|
@@ -257,7 +257,11 @@ DBDriver::set_option(unsigned int o, boo
|
|
}
|
|
|
|
if ((n == 1) &&
|
|
+#ifdef CLIENT_LONG_PASSWORD
|
|
(o >= CLIENT_LONG_PASSWORD) &&
|
|
+#else
|
|
+ (o >= CLIENT_MYSQL) &&
|
|
+#endif
|
|
#if MYSQL_VERSION_ID > 40000 // highest flag value varies by version
|
|
(o <= CLIENT_MULTI_RESULTS)
|
|
#else
|