MySQL++

Timeline
Login

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

35 check-ins using file mysql++.bkl version fbae95cca3

2021-04-28
21:56
Updated to the current version of config/ax_cxx_compile_stdcxx.m4 check-in: b48d9c3ed5 user: tangent tags: trunk
21:45
Updated the stock paths in the MySQL C API library autodiscovery Autoconf macro so it'll work on MariaDB based systems where the headers and/or library are installed in a .../mariadb directory instead of .../mysql for backwards compatibility. Necessary on Ubuntu 20.04, at least. check-in: ef1dd39390 user: tangent tags: trunk
21:41
Wrapped the #include for mysql.h in extern "C" to avoid bogus warnings from GCC 9 in pedantic mode about using C-style casts. We can't "fix" those, even if we had commit access to that repo. check-in: 1b4fe1513e user: tangent tags: trunk
21:39
Catching exceptions by const reference instead of by value in the deadlock example to avoid a pedantic warning from GCC 9. check-in: c48e27d99e user: tangent tags: trunk
21:39
Increased the size of an sprintf() buffer to suppress a bogus warning from GCC 9 in pedantic mode. (The integers involved can't get big enough to cause a problem.) check-in: aae2a9a214 user: tangent tags: trunk
21:34
More warning squishers as in prev. check-in: 0439fc70b0 user: tangent tags: trunk
21:32
Squished an unused variable warning when certain ifdef combinations are met. check-in: 4ad01b116c user: tangent tags: trunk
21:27
Updated the Bakefile instructions in the contribution guide. check-in: ce9c910e91 user: tangent tags: trunk
20:39
Changed an old-style C cast to a static_cast to squish a pedantic warning from Clang. check-in: 6871a2dad5 user: tangent tags: trunk
2021-02-08
18:43
Merged the updated Fossil instructions into the contribution guide from the PiDP-8/I project. check-in: f9bf7fa3a8 user: tangent tags: trunk
2020-11-03
20:49
Renamed HACKERS.md to CONTRIBUTING.md to placate GitHub, which expects to find the file so-named. Also merged in a lot of the new material from the forked copy in the PiDP-8/I project. check-in: c5e9b63dee user: tangent tags: trunk
2020-09-20
20:34
Conditionally using a new C++17 feature (std::string::operator==) in the inner loop of FieldNames::operator [] to speed up comparisons. Compiler Explorer shows that it's faster than the old-style compare(...) == 0 method. This change won't compile into the library unless you override the build options to force C++17 or newer, though. Improvement suggested by BratSinot as part of GH PR#5. check-in: fe81e55134 user: tangent tags: trunk
20:04
Added a C++ no-assign operator to class mysql_ti_sql_type_info, per GH PR#5 by BratSinot. check-in: d124d5681d user: tangent tags: trunk
19:37
Added C++11 style no-copy and no-assign ctors to class NoExceptions. Patch by BratSinot, part of GH PR#5. check-in: 399215eeba user: tangent tags: trunk
19:31
Changed a call to an STL structure's "size()" in bool context to !empty(). It's a marked speed improvement for some structures, where size() isn't constant-time. check-in: e7f727a291 user: tangent tags: trunk
19:10
Added C++11 style copy ctor and assignment operator elision to class ScopedLock, part of beemutex, per "BratSinot"'s GH PR#5. check-in: 149e91d818 user: tangent tags: trunk
18:06
Partial backout of [f9ad7af6b1], which removed the definition of the ScopedConnection ctor by accident. The original patch moved it from the cpp file to the h, and I didn't see any reason for that, so I restored the original declaration-only code in the h file without remembering to revert the patch hunk removing the definition from the cpp file. check-in: 41b9063a1e user: tangent tags: trunk
2020-09-19
18:25
URL fix check-in: 362df95b5f user: tangent tags: trunk
18:12
Small tweaks to HACKERS.md check-in: e850919236 user: tangent tags: trunk
17:45
The replacment of explicit calls to individual Autotools in the bootstrap script with a single call to "autoreconf" failed on CentOS 5, apparently because it isn't passing the -I flag for Bakefile's M4 stuff down to aclocal. We're still using autoreconf, but we're overriding the aclocal call via an environment variable to arm-twist it into working here. check-in: 2bd954738d user: tangent tags: trunk
17:25
Added the AX_CXX_COMPILE_STDCXX macro from the Autoconf archive to allow the configure script to detect the availability of C++11 without insisting on it, adding necessary compiler flags as needed by the detected C++ compiler. check-in: 62a49d54ad user: tangent tags: trunk
17:24
Exchanged the "file slurp" idiom used in examples/load_jpeg.cpp for one that also works in C++11, which complains of "address to rvalue" with the original formulation. check-in: b062e656cc user: tangent tags: trunk
17:04
Merged the C++11 move ctor enhancement for ScopedConnection by "BratSinot" in, with my fixes. check-in: 8568a4e9e3 user: tangent tags: trunk
17:00
Fixed the "BratSinot" patch. There were two pieces provided, only one of which got applied with the patch, but more significantly, his version mixed some C++11isms into the legacy case, preventing it from building. (Thus why the original commit was shoved off to a branch.) Closed-Leaf check-in: f9ad7af6b1 user: tangent tags: cpp11-move-ctor-scoped-conn
16:31
Removed the obsolete pretty.pl symlink: it refers to an old sql++pretty script we haven't shipped since 1.7.10. check-in: 9eab9c170a user: tangent tags: cpp11-move-ctor-scoped-conn
16:27
Added C++11 style move ctors and no-copy ctors to ScopedConnection per GH PR#3: https://github.com/tangentsoft/mysqlpp/pull/3 check-in: f46c4d6a9c user: tangent tags: cpp11-move-ctor-scoped-conn
2020-07-24
15:28
Updated the top-level README.md to reflect the change in GitHub mirror update scheduling. check-in: e367c0dde5 user: tangent tags: trunk
2020-07-23
06:59
Added a few "throw UseQueryError" cases within class Result, applying an anonymous patch from ticket [e6cf4b6fbb4b8]. check-in: a45de8b0b2 user: tangent tags: trunk
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
19:28
Edit pass on README.md check-in: 7df3201d4f user: tangent tags: trunk
19:15
Doc updates in HACKERS.md, primarily to the info about Fossil. check-in: 96f1657f60 user: tangent tags: trunk
18:28
Added --force-missing flag to the automake --add-missing call from the bootstrap script to ensure that install.sh or similar ends up being copied. Apparently `automake` has been getting "smart" so that it can now notice that we aren't actually using Automake here and thus inferring we don't really need its support files. The age of AI is truly up on us. check-in: 9b0b5eac70 user: tangent tags: trunk
2020-07-07
05:16
Reordered a few -L flags to ensure -L. appears before system paths so that if you install MySQL++ to a system path that the examples and test programs link against the local version rather than a prior installed version which might not have all of the exposed APIs we need and may not be ABI-compatible anyway. Fixes problem reported via forum post [89060534dc]. check-in: e19f19c00b user: tangent tags: trunk