Created attachment 1298334 [details] Patch to allow compilation of mysql++ with MariaDB 10.2 Trying to build mysql++ with the new version of MariaDB 10.2 causes a build error: ./lib/dbdriver.cpp:260:10: error: 'CLIENT_LONG_PASSWORD' was not declared in this scope (o >= CLIENT_LONG_PASSWORD) && ^~~~~~~~~~~~~~~~~~~~ ./lib/dbdriver.cpp:260:10: note: suggested alternative: 'CLIENT_LONG_FLAG' (o >= CLIENT_LONG_PASSWORD) && ^~~~~~~~~~~~~~~~~~~~ CLIENT_LONG_FLAG In this new version of the library the define CLIENT_LONG_PASSWORD was dropped. I attached a patch proposal to fix the problem. We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297. Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/mysql++/
Upstream ticket: https://tangentsoft.com/mysqlpp/tktview?name=4f077284dd I have posted a link to the patch there.
Rawhide build with patch complete: https://koji.fedoraproject.org/koji/taskinfo?taskID=20650496
This is fixed upstream in checkin [e5f2c3d83f]. The trunk currently contains MySQL++ 3.2.3 plus some low-risk changes you may also want, so it is up to you whether you ship the MySQL++ trunk or maintain this patch in your 3.2.3 package until the next version of MySQL++ comes out, which will have this patch.
MySQL++ 3.2.4 is out with a fix for this, as well as other improvements to track changes in the external world: new OSes, new C++ compilers, and new versions of MariaDB. It's a bug fix only release, so it should be safe to drop in place of 3.2.3.
For your information, MySQL++ 3.2.4 is now built in Rawhide and will be included in Fedora 29.