MySQL++

Timeline
Login

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

136 check-ins using file lib/dbdriver.cpp version 39752edaf8

2023-11-13
20:36
URL typo fix Leaf check-in: 59b60ed29c user: tangent tags: trunk
20:36
Removed a top-level reference to the old mailing list. check-in: 8d7cfa8ed8 user: tangent tags: trunk
2023-05-06
07:18
Replaced a reference to the old mailing list from the credits file to point to the new forum instead. Assorted other tweaks while in there. check-in: 9232fc1da0 user: tangent tags: trunk
2021-12-23
21:05
Copied the "getting started with Fossil" bit over from the PiDP-8/I project's contributing file, with suitable modifications. check-in: c2687def7c user: tangent tags: trunk
2021-07-03
07:20
Renamed the macOS README away from the old "Mac OS X" naming. check-in: e0a73ac16d user: tangent tags: trunk
2021-07-01
08:58
Fixed a reference to the old HACKERS.md file, and added a /dir link for README-* from the top-level readme's Documentation section. check-in: 45d71e51ac user: tangent tags: trunk
2021-05-27
02:41
Partial attempt to allow out-of-tree builds. Doesn't succeed due to an apparent limitation of Bakefile, but it shows the direction, and it doesn't break the in-tree build as far as we can tell. check-in: ec4c8fef63 user: tangent tags: trunk
00:51
Renamed top-level version.in to tools/print-version.in to avoid a conflict with the new C++20 header <version>. No code of ours tries to include that file as a header, but it reportedly affects Clang on the latest versions of macOS. Apparently some system header on that platform includes <version>, which then gets our shell script with -I. Closes [4ea874fe67]. check-in: 76854dfa74 user: tangent tags: trunk
2021-04-29
03:30
Added /opt/homebrew/opt/mariadb paths to config/mysql_loc.m4 for Homebrew on Apple silicon machines. check-in: 9855a68cec user: tangent tags: trunk
2021-04-28
23:03
Added announcement email step to the end of the release process doc. check-in: 29ae1be3c2 user: tangent tags: trunk
23:00
Converted RELEASE-PROCESS.txt to Markdown. check-in: 5f0ca27b70 user: tangent tags: trunk
22:53
Typo fx check-in: 15c9cc8366 user: tangent tags: trunk
22:40
Merged trunk changes for v3.3.0 into release branch Leaf check-in: 908def5875 user: tangent tags: v3.3.0, release
22:38
Tweaks to the ChangeLog.md file. check-in: ff347ff5db user: tangent tags: trunk
22:23
Changed the RPM spec file to depend on mariadb-devel instead of mysql-devel: CentOS 8 no longer provides that compatibility wrapper. check-in: 7edcf21f42 user: tangent tags: trunk
22:20
Fixed an obsolete reference to the top-level README.txt, now called README.md. check-in: ba93879557 user: tangent tags: trunk
22:11
Merged trunk changes for v3.3.0 into release branch check-in: dbab102617 user: tangent tags: v3.3.0, release
22:10
Fixed a path in tools/mkrel that prevented the docs from being extracted from the tarball and updated on the public web site: GNUmakefile target "doc" only exists in the /mysqlpp subdir, not at the top level. check-in: 7ae3ee49e0 user: tangent tags: trunk
22:05
Released v3.3.0 check-in: 65679674cb user: tangent tags: trunk
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
2020-03-03
00:53
Updated Prism.js from 1.17.1 to 1.19.0 check-in: 4bce0de2a4 user: tangent tags: trunk
00:11
Whitespace fix check-in: f7d2e4ee6f user: tangent tags: trunk
2020-02-27
20:34
Added more dirs and files for Doxygen search output so online refman works properly from the tarball. check-in: d6594ebfe8 user: tangent tags: trunk
20:21
Added doc/html/refman/*.js to the disttree: Doxygen now uses it. check-in: 2ee9eb239d user: tangent tags: trunk
2019-09-26
23:31
Expanded on the EL8/Fedora issue in doc/userman/README.md check-in: 740fcaf6c4 user: tangent tags: trunk
23:20
Typo fixes and CentOS accommodation in doc/userman/README.md check-in: c47d13141a user: tangent tags: trunk
2019-09-03
15:54
static/*.jpg is now in binary-glob check-in: 239bc06238 user: tangent tags: trunk
15:53
Moved prism.js to /static dir and added logo*.jpg to it check-in: 7f5c3e69cd user: tangent tags: trunk
15:39
Added tools/prism.js so we can use an internal copy instead of rely on one stored statically on tangentsoft.com, so highlighting doesn't break in clones, etc. check-in: 7e320de3c9 user: tangent tags: trunk
2019-07-21
11:32
Merged tangentsoft.css fix up from trunk check-in: 1c32e5d9de user: tangent tags: v3.2.5, release
11:31
Added doc/html/userman/tangentsoft.css to repo check-in: 59bd0d0eb5 user: tangent tags: trunk
11:27
Merged in trunk fixes check-in: 279baef0c4 user: tangent tags: v3.2.5, release
11:27
Small fixes to previous check-in: fb50a199eb user: tangent tags: trunk
11:24
Re-released 3.2.5 with latest trunk dist tarball and release process improvements. check-in: c06618ea81 user: tangent tags: v3.2.5, release
11:23
Including *.css files in dist tarball. Also removed redundant *.md file references in process building dist tarball. check-in: 2a9e4a3da8 user: tangent tags: trunk
11:18
More release process improvements check-in: 4fdc89947a user: tangent tags: trunk
11:06
Merged in trunk changes check-in: e61010433e user: tangent tags: v3.2.5, release
11:04
Added *.md to dist tarball check-in: d9c7adf2c0 user: tangent tags: trunk
11:03
Re-bootstrapping from tools/mkrel in ../release to ensure all the build system files are updated, especially w.r.t. versions. check-in: a4aa236865 user: tangent tags: trunk
10:58
Updated the mysql++.spec.in file to track README.txt -> README.md renaming. check-in: 0cf0e8fdde user: tangent tags: trunk
10:47
Merged trunk changes for v3.2.5 into release branch check-in: 596aa10b32 user: tangent tags: v3.2.5, release
10:43
Fix to bootstrap to cope with autoreconf's unwillingness to provide install-sh and such even though we passed -i. check-in: a15f552cc5 user: tangent tags: trunk
10:35
Released v3.2.5 check-in: b0b6e246e9 user: tangent tags: trunk
10:30
Updated userman copyright year to 2019 check-in: 5dc77942a0 user: tangent tags: trunk
10:15
Copied over several tools/* files from the PiDP-8/I project: mkrel, mmake, and corecount. The latter two are identical to the current PiDP-8/I versions, while mkrel has some local changes specific to MySQL++, but has the same basic structure. check-in: ab11a94209 user: tangent tags: trunk
2019-07-18
04:38
MySQL 8.0.3 removed MYSQL_SECURE_AUTH, so ifdef'd it out for that and later versions in lib/options.cpp. check-in: 725f5ebfc9 user: tangent tags: trunk
2019-07-17
14:22
Found a ChangeLog from MySQL saying that several MYSQL_* options disappeared in 8.0.4, not in 8.1.0 as we previously thought. Dialed back the ifdefs preventing lib/options.cpp from attempting to check them. check-in: dd6889ae32 user: tangent tags: trunk
2019-05-11
12:47
Assorted improvements to HACKERS.md check-in: b5a68d6801 user: tangent tags: trunk
11:57
Typo fix check-in: b4ddded8f0 user: tangent tags: trunk
11:57
Further simplification check-in: 1d0bb22bf9 user: tangent tags: trunk
11:55
Simplified the "Unsupported Compilers" section of the top-level README check-in: d7dd5ad153 user: tangent tags: trunk
11:44
URL update check-in: 918d17cb79 user: tangent tags: trunk
11:43
Converted the user manual's README file to Markdown check-in: d56fa32aec user: tangent tags: trunk
11:09
Updates to README.md to take advantage of its new Markdown formatting and to account for the fact that it might be mirrored on GitHub where Fossil-relative repo links no longer work. check-in: 0102b7250b user: tangent tags: trunk
2019-04-22
19:38
Converted top-level README.txt file to Markdown so it formats more nicely on GitHub and in the Fossil /file view. check-in: d080820431 user: tangent tags: trunk
18:50
Added info on the GitHub mirror to HACKERS.md. check-in: 8b0728e18d user: tangent tags: trunk
18:44
Assorted improvements to the HACKERS.md file check-in: 3aef3560ea user: tangent tags: trunk
2019-02-15
23:53
Fixed a circular make dependency in way the libssqls2parse target was defined. GNU make 3.81 was griping about it. check-in: 296f546849 user: tangent tags: trunk
23:50
Added support for ulonglong type in MySQL type conversions when building query strings. Reportedly, some compilers can't figure out that mysqlpp::sql_bigint is equivalent, even though it's a typedef for [u]longlong! check-in: 6afcf0be30 user: tangent tags: trunk
2018-10-31
18:26
Assorted fixes to mysql++.bkl for MinGW. check-in: 0cf989112e user: tangent tags: trunk
2018-10-22
23:55
Removed explicit library dependency on "mysqlpp" for test_ssqls2 and ssqlsxlat: we get that from the Bakefile "programs" template we defined. Not only is it redundant, the second declaration breaks under VC++ due to the "_d" suffix in debug builds, which the program template handles for us, but our per-program dependency did not. check-in: 5719c93687 user: tangent tags: trunk
23:41
Added a cast in FieldNames::operator[] to squish a warning about possible data loss in a condition that can't practically happen. check-in: 80a2d7ba1d user: tangent tags: trunk
23:37
Squished warning C4003 for VC++: yes, we know we're passing no args to MAY_THROW(), on purpose. Thank you so much for being helpful, VC++. check-in: 6f22016ae8 user: tangent tags: trunk
23:31
Disabled warning C4275 for VC++ 2015+ check-in: 036a34108c user: tangent tags: trunk
2018-10-17
16:04
Marked *.txt as crlf-glob in Fossil to avoid warnings on checkin. check-in: cfd37a46df user: tangent tags: trunk
16:02
Changed several *.txt files from Unix to DOS line endings, per HACKERS.md. check-in: b690497dbb user: tangent tags: trunk
2018-09-26
21:26
Pushed back the warnings about throwspecs from C++17 to C++11 to placate g++ 7.3.0 on Cygwin. check-in: f373a7fbb9 user: tangent tags: trunk
21:13
Fixed another spaces-in-Windows-bakefilize path problem. check-in: 05d91668b6 user: tangent tags: trunk
21:13
The test for bakefilize in the PATH broke on Windows due to space in the path name. Handling it separately now. check-in: f36f98c180 user: tangent tags: trunk
21:05
The bootstrap script can now find bakefilize on Windows, which doesn't put that script in the PATH, probably due to mistakenly thinking that only *.exe should be in the PATH. They're ignoring the Cygwin case. check-in: b45b95eec3 user: tangent tags: trunk
21:03
Exchanged explicit calls to several Autotools from bootstrap script for a single call to autoreconf. check-in: 4e0c38b0d8 user: tangent tags: trunk
02:40
Better description of the meaning of "bootstrap pedantic bat". check-in: 8794732329 user: tangent tags: trunk
02:37
Better explanation of "bootstrap bat" command in HACKERS.md. check-in: a75da9ed00 user: tangent tags: trunk
2018-07-27
06:29
Added SRPM step to RELEASE-CHECKLIST.txt check-in: 13c05ca408 user: tangent tags: trunk
06:13
Merged in trunk fixes to release 3.2.4 check-in: 64fd6873ed user: tangent tags: v3.2.4, release
06:11
More steps in RELEASE-CHECKLIST.txt. check-in: 6d331ea2d5 user: tangent tags: trunk
06:09
"make dist" was leaving out HACKERS.md. Fixed. check-in: 57f4e9ac0f user: tangent tags: trunk
05:52
Removed references to the now-removed Wishlist file. check-in: c6ca15d636 user: tangent tags: trunk
05:51
Updated link to SSQLSv2 plan from SSQLS chapter of the userman check-in: 7391fc92ec user: tangent tags: trunk
05:48
Version 3.2.4 released check-in: 42db19f361 user: tangent tags: trunk
05:47
Version 3.2.4 (later replaced) check-in: be86b90b51 user: tangent tags: release
05:37
Updated Bakefile stuff in HACKERS.md. check-in: 5041d5c560 user: tangent tags: trunk
05:09
Updated userman.dbx.in with the Docbook changes we previously made to userman.dbx. check-in: c8473343fe user: tangent tags: trunk
05:08
Removed doc/userman/userman.dbx from the repo: it's created from userman.dbx.in. check-in: cd4cdc164c user: tangent tags: trunk
05:06
Squished a pendantic warning from Clang about an unused variable in the operator<< generated for certain types of SSQLS. We can't easily remove the variable in this case, so we just do a (void) cast on it to placate the compiler if it's never used before the function ends. check-in: d89e70a915 user: tangent tags: trunk
05:05
Ditto lib/querydef.h check-in: d2098e2c16 user: tangent tags: trunk
05:05
Removed lib/ssqls.h. Shouldn't have been checked in: it's generated by ssqls.pl. check-in: 597de1f616 user: tangent tags: trunk
05:00
Squished Clang complaint in pedantic builds about beemutex's pmutex_ private member being unused when thread-awareness is not enabled. check-in: a014eece1d user: tangent tags: trunk
04:45
Modified the "most economically valuable" stuff in the userman's Unicode chapter to handle the "except for emoji" case. check-in: 0bd33dc4fc user: tangent tags: trunk
04:39
Polishing pass on the new Unicode material in the user manual. check-in: 8469cf623d user: tangent tags: trunk
04:34
Updated user manual Docbook version from 4.2 to 4.4, effectively dropping CentOS 3 and 4 as build platforms, since the current Homebrew Docbook XSL stylesheets throw lots of errors if you specify 4.2 or 4.3. Updated the user manual's README.txt file accordingly. check-in: 3b3678d64e user: tangent tags: trunk
03:59
Squished a few complaints from Doxygen. NFC. check-in: 57170bf853 user: tangent tags: trunk
03:57
Updated Doxygen-related files for Doxygen 1.8.14. check-in: 8bfb213043 user: tangent tags: trunk
03:49
Whitespace fix check-in: d4b2983283 user: tangent tags: trunk
03:12
Comment improvement. check-in: f82f99180c user: tangent tags: trunk
2018-07-26
17:12
Added the MYSQLPP_UTF8_COL macro to go with MYSQLPP_UTF8_CS. MySQL isn't smart enough to upgrade "utf8_general_ci" ot "utf8mb4_general_ci" when the character set is "utf8mb4". check-in: c4f89d91fb user: tangent tags: trunk
16:59
Wrote up the changes-so-far for MySQL++ 3.2.4 in the ChangeLog.md file. check-in: 1484202d13 user: tangent tags: trunk
16:54
Added MYSQLPP_UTF8_CS macro. Using it in resetdb example. Documented it in the user manual, along with an explanation of the MySQL history of Unicode support to justify its existence. check-in: 9c2b57cbf6 user: tangent tags: trunk
15:31
Removed the Subversion revision numbers from the ChangeLog entries, since the Subversion repo it refers to is no longer available. check-in: 775aba61ff user: tangent tags: trunk
15:25
Converted the plain-text ChangeLog file to Markdown format, adding only as much formatting as needed to avoid rendering problems in Vim's markdown mode and in Fossil's web rendering. Updated all source code and documentation input file references to the file to now use "ChangeLog.md". (References from Fossil wiki documents will be updated next.) check-in: 7955e40246 user: tangent tags: trunk
07:13
Removed Wishlist file: a subset of its contents is now in the Fossil wiki and ticket trackers. Dropped items are those we probably will never get to. If they come up again, they can be added as tickets. check-in: dd35735f4f user: tangent tags: trunk
2018-07-18
21:01
DBDriver::shutdown() now executes a SHUTDOWN query on MySQL 8.0.0 and higher due to removal of the C API function mysql_shutdown() in that release. They put it back in 8.0.1, but only due to end-user complaints, and they say it'll go away for good eventually, so we prefer to deploy and test this workaround before then. check-in: b238cd34c2 user: tangent tags: trunk