MySQL++

Check-in [d8def9fe7b]
Login

Check-in [d8def9fe7b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added explicit mysql_library_init() calls from the tests that do quoting and escaping to avoid a crash in newer MariaDB versions which apparently delay doing this until you create a connection. (Thus why none of the examples fail on modern MariaDB versions.) It's basically the same patch as in the forum request [44684af1fd], but with comment and whitespace fixes.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d8def9fe7b2951ce42c4f6aa1020e6d954d8b1111da2c67220ec8163d777f09b
User & Date: lukemewburn 2020-07-10 20:35:57.040
Original User & Date: tangent 2020-07-10 20:35:57.040
References
2020-07-10
20:36 Reply: MariaDB 10.4.x needs mysql_library_init() for escape_string_no_conn() artifact: 81fc60a353 user: tangent
Context
2020-07-23
06:52
The SQL type mapping for TIMESTAMP NULL was missing the MySQL++ tf_null annotation. Closes bug [585db77afe8]. check-in: 40f302fba1 user: tangent tags: trunk
2020-07-10
20:35
Added explicit mysql_library_init() calls from the tests that do quoting and escaping to avoid a crash in newer MariaDB versions which apparently delay doing this until you create a connection. (Thus why none of the examples fail on modern MariaDB versions.) It's basically the same patch as in the forum request [44684af1fd], but with comment and whitespace fixes. check-in: d8def9fe7b user: lukemewburn tags: trunk
20:14
Markdown tweak for Fossil's renderer check-in: e9f50a9293 user: tangent tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Changes to test/manip.cpp.
Changes to test/qssqls.cpp.
Changes to test/sqlstream.cpp.