]>
git.ipfire.org Git - thirdparty/sqlite.git/log
stephan [Sat, 26 Aug 2023 10:20:38 +0000 (10:20 +0000)]
Improve threading support for all types of JNI-side callback hooks, making them safe to invoke if another thread is busy replacing them.
FossilOrigin-Name:
f2af7bbf493fe28d92fc9c77425f8bb9d48c02af9a5eabceb0365c705651e114
stephan [Fri, 25 Aug 2023 16:43:51 +0000 (16:43 +0000)]
Move the 3 Java SQLFunction subclasses from inner classes to package scope.
FossilOrigin-Name:
21fd47a68db9df1828f4cc4131d326a193b5751d56a40ae77ed0a78dc0621af1
stephan [Fri, 25 Aug 2023 16:26:16 +0000 (16:26 +0000)]
Missed a straggler when renaming Java classes in [
8ca528006533ac1 ]. Document threading limitations.
FossilOrigin-Name:
5786b95f5d09b4462aff0fdeac37992a2b64c47b004d18960f51e4e6a5796106
stephan [Fri, 25 Aug 2023 14:17:36 +0000 (14:17 +0000)]
Hopefully the last major API rename in the JNI bits: rename all lower_camel_case classes which do not have direct counterparts in the C API to UpperCamelCase, as that's more idiomatic. Java types which reflect C-style types are unaffected.
FossilOrigin-Name:
8ca528006533ac152e9b322e421cf5d339414c77332d9836a9ff429b793d0d2d
stephan [Fri, 25 Aug 2023 13:23:45 +0000 (13:23 +0000)]
stephan [Fri, 25 Aug 2023 12:29:59 +0000 (12:29 +0000)]
Re-enable SQLITE_THREADSAFE=0 in the JNI build and add multitest target which builds and runs the tests in all 3 threading modes.
FossilOrigin-Name:
6b1c816f6aae9face07ed7ead969257cf915c21ff9cdad9a21b7cf0e7496e09e
stephan [Fri, 25 Aug 2023 11:32:56 +0000 (11:32 +0000)]
Code restructuring. Force SQLITE_THREADSAFE in JNI builds for the time being, as threadsafe==0 leads to as-yet-mysterious JNI-level reference errors.
FossilOrigin-Name:
5a099caa2c21bec647f0a521e7f5d0d1cc2f96d388d3d6c53d5ec80947f33e8d
dan [Fri, 25 Aug 2023 11:06:26 +0000 (11:06 +0000)]
Remove incorrect (but harmless) dependency on source code file "sessionfuzz-data1.db" from main.mk and Makefile.in.
FossilOrigin-Name:
17d56c0207f63614b34ef3594d06602ab7a6e85604f3589b30aa79316f1744ee
stephan [Fri, 25 Aug 2023 04:27:17 +0000 (04:27 +0000)]
Only build in the JNI-side metrics tracking in SQLITE_DEBUG builds.
FossilOrigin-Name:
646e7fc3b5ba81c207f013c9a06781986138379f20e787320a811ba3ed5489dc
stephan [Fri, 25 Aug 2023 04:02:33 +0000 (04:02 +0000)]
stephan [Fri, 25 Aug 2023 02:57:30 +0000 (02:57 +0000)]
Replace all of the JNI XyzHook/Handler classes with snake_cased ones which follow unified naming conventions to make them easier to apply.
FossilOrigin-Name:
76e62a381249b3b4262b22bdffe7fc2816c820115c9df266956ab8817b127aca
stephan [Fri, 25 Aug 2023 00:27:28 +0000 (00:27 +0000)]
stephan [Thu, 24 Aug 2023 22:28:44 +0000 (22:28 +0000)]
Re-frame the incongruous SQLite3Jni.uncacheThread() API as sqlite3_java_uncache_thread().
FossilOrigin-Name:
7232b033954fae40df3db43e489e0e5a703c03308f500a1ae36fd9d707632d7f
stephan [Thu, 24 Aug 2023 21:45:30 +0000 (21:45 +0000)]
Update some outdated JNI docs and account for a function renamed earlier this evening.
FossilOrigin-Name:
3f684ef5018116f4be46a07779451c8983ac87a5db182477f71ee7bf28287a04
stephan [Thu, 24 Aug 2023 21:31:56 +0000 (21:31 +0000)]
Do not pre-allocate sqlite3_aggregate_context() for Java UDFs, as it unduly complicates UDF initialization.
FossilOrigin-Name:
e8308f0c6ec2d8999c8a2502fb130cb3501ba326f23f71f2cd8d452debae79b5
dan [Thu, 24 Aug 2023 19:08:50 +0000 (19:08 +0000)]
Add doc/testrunner.md, for documenting the testrunner.tcl script.
FossilOrigin-Name:
9c69a28401c7273823f2c2b291fd417febeb278afb9ce085a4b944505ca13d23
stephan [Thu, 24 Aug 2023 18:43:25 +0000 (18:43 +0000)]
More code legibility and style improvements in the JNI pieces. Start work on a javadoc build.
FossilOrigin-Name:
62b404d62fd62f4d220838b59c9f38a71afa2d4a8c3af0a5c9495fa7020972cf
stephan [Thu, 24 Aug 2023 17:25:05 +0000 (17:25 +0000)]
stephan [Thu, 24 Aug 2023 15:42:08 +0000 (15:42 +0000)]
stephan [Thu, 24 Aug 2023 15:11:28 +0000 (15:11 +0000)]
stephan [Thu, 24 Aug 2023 14:49:29 +0000 (14:49 +0000)]
Merge the jni-threading branch into trunk, eliminating the JNI API's prior threading limitations.
FossilOrigin-Name:
3739c8aa7080d8e1044ca51ab7b699b50da4d29620b35acfcea2745059b65bac
stephan [Thu, 24 Aug 2023 14:43:30 +0000 (14:43 +0000)]
Merge into trunk improvements made to the wasm APIs which were too late for 3.43.
FossilOrigin-Name:
ac9da5c79a4f56d25202d50974e16e2a463d77c99b1907aee2605d5a3e50a565
stephan [Thu, 24 Aug 2023 14:31:36 +0000 (14:31 +0000)]
Correct JNI layer's misuse of an sqlite3-internal error-reporting API (no mutex held). Style cleanups. Eliminate lookups of per-thread state by approximately 85% across the test suite.
FossilOrigin-Name:
1f46ba8d3bc61af771c1e33d09ad25f0da4fc4f915f7a9f6223ebfd99526d81d
stephan [Thu, 24 Aug 2023 14:17:30 +0000 (14:17 +0000)]
Ensure that db mutex is held when using sqlite3ErrorWithMessage() to avoid a potential assertion in debug builds.
FossilOrigin-Name:
b8f6a50a4bf9478324f0272d79f2fe6992a49b753e79e39a268c6afb261bb01e
drh [Thu, 24 Aug 2023 12:36:59 +0000 (12:36 +0000)]
dan [Thu, 24 Aug 2023 12:01:30 +0000 (12:01 +0000)]
Change a variable name in fts5FlushOneHash() to avoid shadowing another.
FossilOrigin-Name:
3f5bec9a684f6b3d88383617831862fc5595a51ad99ec12430ac6650b704ccbb
stephan [Thu, 24 Aug 2023 11:57:51 +0000 (11:57 +0000)]
Add more JNI docs, tests, and a handful of Java-side overloads.
FossilOrigin-Name:
d19a431facbde6a6b960664674753ee85d2c051a76109ce7db0b079c65fbdea0
drh [Wed, 23 Aug 2023 18:42:04 +0000 (18:42 +0000)]
drh [Wed, 23 Aug 2023 18:29:41 +0000 (18:29 +0000)]
More changes to documents for GitHub-style markdown.
FossilOrigin-Name:
f20f84ef717cea11f92d6a1ab3b4e0fec5752b7ec98ad5b59e06745e7e25b6ee
drh [Wed, 23 Aug 2023 18:26:00 +0000 (18:26 +0000)]
Fix the Markdown in the compile-for-windows.md document so that it works
on GitHub. Improved header text in README.md.
FossilOrigin-Name:
a25360c020275064711d0aa3eb3cec3d764b5266b86f9728243e501d082306ec
stephan [Wed, 23 Aug 2023 17:52:51 +0000 (17:52 +0000)]
JNI cleanups regarding building with certain features disabled.
FossilOrigin-Name:
a9e6d5158b8a4a6b8554a5f8f0a35785ee450d42ea877275dc27085e89716c18
stephan [Wed, 23 Aug 2023 17:15:48 +0000 (17:15 +0000)]
Remove unnecessary jclass-type struct members.
FossilOrigin-Name:
d67255f7251cc5d1d27d77d4c84ff216e2da71202db989718189a6b4beff1cd0
stephan [Wed, 23 Aug 2023 13:36:27 +0000 (13:36 +0000)]
Add a note to the JNI README explaining why the Java API has callback names like xFunc() and xPreUpdate().
FossilOrigin-Name:
415447a310f6a7d06b4aa9ef51f110cf8e2ef9545c69cb5983c367c50fe641d2
stephan [Wed, 23 Aug 2023 13:17:37 +0000 (13:17 +0000)]
Bind sqlite3_preupdate_hook() and friends to JNI.
FossilOrigin-Name:
d0c425b5c1d3aac5ead18a501a3760b4506d68d373cb3be484247042cf2fa8d4
drh [Wed, 23 Aug 2023 12:53:35 +0000 (12:53 +0000)]
Minor adjustments to the wording about pull requests in the README.md file.
FossilOrigin-Name:
6b2d68afd8ecdfe8eb04e3f6c13bea4ba42f7c2f16e6fc4263ffefa29c55c527
stephan [Wed, 23 Aug 2023 10:36:12 +0000 (10:36 +0000)]
Bind a subset of sqlite3_config() to JNI: threading modes and sqllog.
FossilOrigin-Name:
fce8ecaf7f2e69a168978e6993e58c452c45f76c39da33f2869c9d947c16cab1
drh [Wed, 23 Aug 2023 10:20:39 +0000 (10:20 +0000)]
The pageOnDirtyList() assertion is too slow even for debugging builds, for
some corner cases. It makes the query appear to hang. So make it an
EXPENSIVE_ASSERT instead.
FossilOrigin-Name:
bb9dcdaf3244c4fc6872850a82b80c469203911e2f6e3a3211e508be39b59fa3
stephan [Wed, 23 Aug 2023 09:05:16 +0000 (09:05 +0000)]
Numerous minor cleanups and code style conformance improvements.
FossilOrigin-Name:
6c92d884920e4ace54913fc60ceef6e43a4351f45a4cb3c4a0ed3d29d544a31b
stephan [Wed, 23 Aug 2023 00:17:28 +0000 (00:17 +0000)]
Improve C-side exception handling from Java-side UDF callbacks.
FossilOrigin-Name:
aebbc24afb339ed07b7cd767fbc0d25f3e9c3d9bb5ef3d1c10b04b605c7261bc
stephan [Tue, 22 Aug 2023 23:00:44 +0000 (23:00 +0000)]
stephan [Tue, 22 Aug 2023 22:13:08 +0000 (22:13 +0000)]
Fix Tester1 so that exceptions triggered via threads are not silently ignored. Disable auto-extension tests in multi-thread mode because concurrent threads rightfully interfere with that.
FossilOrigin-Name:
56b2a077ace6e6ad5834e1a597b710f212a5b7d5db5b9a27a41f2aa0f6952c55
stephan [Tue, 22 Aug 2023 20:10:28 +0000 (20:10 +0000)]
More work on the JNI multi-threaded test runner.
FossilOrigin-Name:
9a74ad716bded1e14333bf7c72392916f800d58a96240eabe4988ca5fc9e8752
stephan [Tue, 22 Aug 2023 18:36:30 +0000 (18:36 +0000)]
Disassociate JNI db handles from the thread that created them, as it's no longer relevant.
FossilOrigin-Name:
8b78b737e66a399b04e555a8197f63a73198a4105cb2f37ffd5b0e6014302caf
stephan [Tue, 22 Aug 2023 17:51:57 +0000 (17:51 +0000)]
Correct JNI binding of sqlite3_shutdown() to clean up all cached JNIEnv objects.
FossilOrigin-Name:
02e868690f97ca728b0f2dd018aa79a9d13c85dd85b164caa895d319ae8f3ff5
stephan [Tue, 22 Aug 2023 17:36:59 +0000 (17:36 +0000)]
JNI internal cleanups and correct two leaked db handles in test code.
FossilOrigin-Name:
f927a30b5bba35991f472084ebaf02779e84c343a4e84f0efb3df7679ff212f8
drh [Tue, 22 Aug 2023 16:44:33 +0000 (16:44 +0000)]
Fix a harmless memory leak in the sqldiff utility.
FossilOrigin-Name:
724bc15701f3f647c741b614d4ac4fd98e1cdfe49a85f48c64fb1df5b83811b0
stephan [Tue, 22 Aug 2023 15:30:35 +0000 (15:30 +0000)]
Move the JNI per-thread cache of NativePointerHolder refs into global space. This allows better-targeted mutex locks and incidentally eliminates the lagginess and post-run hangs in Tester1's multi-thread mode (presumably caused by deadlocks).
FossilOrigin-Name:
e209f56a9745695aadc04418c7bebe62b79e38e5aee26c3248a30f73bfa460c2
dan [Tue, 22 Aug 2023 15:19:50 +0000 (15:19 +0000)]
Add makefile target "sdevtest" - like "mdevtest" except asan and usan enabled for the non-debug test.
FossilOrigin-Name:
a449d650cd3dcd1baaeb3a3de2aaaac45594397e04f95fe637b0fe4ddb273404
dan [Tue, 22 Aug 2023 13:41:18 +0000 (13:41 +0000)]
Update version number in autoconf/tea/configure.ac.
FossilOrigin-Name:
055ae724ff34bd41a1d97180b90fce081861856ac67572a633d31f518c20aa1e
stephan [Tue, 22 Aug 2023 11:34:34 +0000 (11:34 +0000)]
Move most of the per-JNIEnv global Java class refs into the global state, saving a bit of per-thread overhead.
FossilOrigin-Name:
7342bf578790e1a87c128a7c1c7745fe2e7c442890370feb160d406597d4d8ec
dan [Tue, 22 Aug 2023 11:20:38 +0000 (11:20 +0000)]
Update autoconf/Makefile.msc (by running mkmsvcmin.tcl) to support the "ASAN=1" option.
FossilOrigin-Name:
17028ba7a9bb1c5e26cb8c0d051d709df95d9f779fd3b1ec42adc924246f8f19
stephan [Mon, 21 Aug 2023 23:45:19 +0000 (23:45 +0000)]
dan [Mon, 21 Aug 2023 16:14:58 +0000 (16:14 +0000)]
drh [Mon, 21 Aug 2023 15:29:21 +0000 (15:29 +0000)]
ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.
FossilOrigin-Name:
0462a2612d1fc1d077acf60ef415f358aa2c44174c4ef28f4bbfdbcbf03d3b7c
drh [Mon, 21 Aug 2023 14:40:19 +0000 (14:40 +0000)]
drh [Mon, 21 Aug 2023 14:28:47 +0000 (14:28 +0000)]
Address minor inaccuracies in fuzzcheck and RTREE found by UBSAN.
FossilOrigin-Name:
a64e6c2fd8ef1d2d7f14aa9265629853298bbc480c2683c79dfd24847a61b68b
stephan [Sat, 19 Aug 2023 14:49:08 +0000 (14:49 +0000)]
stephan [Sat, 19 Aug 2023 12:34:23 +0000 (12:34 +0000)]
stephan [Sat, 19 Aug 2023 12:32:00 +0000 (12:32 +0000)]
stephan [Sat, 19 Aug 2023 11:52:36 +0000 (11:52 +0000)]
stephan [Sat, 19 Aug 2023 11:26:52 +0000 (11:26 +0000)]
stephan [Sat, 19 Aug 2023 10:43:05 +0000 (10:43 +0000)]
Add multi-thread run mode to JNI Tester1. It works but hangs on exit sometimes for Java reasons as yet not understood.
FossilOrigin-Name:
bdbaf7a4534f40e550b646979e67e7b7731566bb5a2631ed376ac85a9bec40a7
stephan [Sat, 19 Aug 2023 08:22:34 +0000 (08:22 +0000)]
Replace JNI::NewStringUTF() for the remaining cases where output may be incompatible with MUTF-8. It is now only used when we know the output to be plain ASCII.
FossilOrigin-Name:
2d955eef25ab116c487ebc34c6f2d2836d310af239ef1993f5aeee5a3f68d590
stephan [Sat, 19 Aug 2023 08:12:10 +0000 (08:12 +0000)]
shell.c.in help text typo fix. No functional changes.
FossilOrigin-Name:
c319033276c3565d0f1f2cae1c91791940d322fe79696bc26d74fddeb2664373
drh [Fri, 18 Aug 2023 15:39:38 +0000 (15:39 +0000)]
Rename the decimal_sci() function to decimal_exp().
[forum:/forumpost/
fa027bb0ab |Forum post
fa027bb0ab ].
FossilOrigin-Name:
c48f1be8cc505a7e2902c79e26c1d9a121ff5c55785ac812d2e09232b2414695
dan [Fri, 18 Aug 2023 15:17:52 +0000 (15:17 +0000)]
Avoid running test case sort2.2.3 under address-sanitizer. It runs out of memory on some 32-bit platforms.
FossilOrigin-Name:
925be7539947078547ee129b3d328ab0c59b19c6e2e5a391840f2d58f6d59acd
stephan [Fri, 18 Aug 2023 14:41:21 +0000 (14:41 +0000)]
Improve exception handling in OpfsDb.importDb().
FossilOrigin-Name:
a4eedd63b58f5c273b671f687cb68a32259963dbb053a710770383c735fb7f26
stephan [Fri, 18 Aug 2023 14:16:26 +0000 (14:16 +0000)]
Extend the importDb() method of both OPFS VFSes to (A) support reading in an async streaming fashion via a callback and (B) automatically disable WAL mode in the imported db.
FossilOrigin-Name:
9b1398c96a4fd0b59e65faa8d5c98de4129f0f0357732f12cb2f5c53a08acdc2
drh [Fri, 18 Aug 2023 12:15:44 +0000 (12:15 +0000)]
Enhance the CLI and the fuzzcheck utility programs to report whether they
are compiled as 32-bit or 64-bit for things like the --version option.
FossilOrigin-Name:
ec7eeb055bfb0e5a4467d8a45fa53d84bb8ae80ca0474b687e2783e971648008
drh [Fri, 18 Aug 2023 11:36:33 +0000 (11:36 +0000)]
Enhance the notes on compiling for Windows11 to explain how to do
32-bit builds on a 64-bit system.
FossilOrigin-Name:
dd749e4042bdffb20fe71dd2dba91eab5edc32e4b2773c2fadba43cb54027a17
stephan [Thu, 17 Aug 2023 22:04:07 +0000 (22:04 +0000)]
drh [Thu, 17 Aug 2023 17:48:20 +0000 (17:48 +0000)]
dan [Thu, 17 Aug 2023 16:59:35 +0000 (16:59 +0000)]
Fix an error in documentation comments in fts5.h.
FossilOrigin-Name:
24d96bd65d8ccdd50a6f4fe217d196728a2f8658d128f9352c287f64e034104a
dan [Thu, 17 Aug 2023 16:49:06 +0000 (16:49 +0000)]
dan [Thu, 17 Aug 2023 16:06:17 +0000 (16:06 +0000)]
Add "Windows-Sanitize" configuration to "testrunner.tcl release" tests on windows.
FossilOrigin-Name:
e68b46dc6aff48c81a2a5e7662d0f694615b64aa50bcfee9a0b8b25fa4e5f33d
dan [Thu, 17 Aug 2023 15:14:43 +0000 (15:14 +0000)]
Have all test names in json101.test start with "json101".
FossilOrigin-Name:
af56d7b6b9c50f2541a51fcb7d94b89aafba4f343a9103b21a15aad3f283c63e
drh [Thu, 17 Aug 2023 15:11:59 +0000 (15:11 +0000)]
Enable address sanitizer in Makefile.msc by adding the ASAN=1 argument on
the nmake command line.
FossilOrigin-Name:
3eaadaff85111103c9441a9d6cd31291b95db9f3a6ec7003e0ff4ce5db7490da
drh [Thu, 17 Aug 2023 14:19:44 +0000 (14:19 +0000)]
Fix a possible UAF in SEH if an exception occurs at an inopportune moment
during WAL processing.
FossilOrigin-Name:
91b91037e348fa10cf6a9d8a0ffbfdebb4a40e0e336b65b112ed1c828e75cda7
stephan [Thu, 17 Aug 2023 13:13:22 +0000 (13:13 +0000)]
stephan [Thu, 17 Aug 2023 12:44:52 +0000 (12:44 +0000)]
stephan [Thu, 17 Aug 2023 10:49:06 +0000 (10:49 +0000)]
Remove the FIXME markers related to threading. Code style cleanups.
FossilOrigin-Name:
154ab26dc6ba2d1fd976e8fe6dc1b1a06c734f7e9a276a3edc5c2f30b0d6d36a
drh [Wed, 16 Aug 2023 17:23:42 +0000 (17:23 +0000)]
Refinements to instructions on compiling for Windows.
FossilOrigin-Name:
d543c36c35f71c5f0a7ebf6f496feca40d16566d0c5b2c2ba205ff43437ffcd1
drh [Wed, 16 Aug 2023 17:12:26 +0000 (17:12 +0000)]
Improved instructions on how to build SQLite on Windows 11 and similar.
FossilOrigin-Name:
0f6b2b33736ee07f17f3a4e5f077bb4d0e2481c8f81251b8ce6b78510f372237
drh [Wed, 16 Aug 2023 15:27:49 +0000 (15:27 +0000)]
Make sqlite3_stmt_explain() accessible to loadable extensions.
FossilOrigin-Name:
a237a31ff4a7cd3dc744af1e1ebb9466e42eebafa31c1b5c0027cbaee9babc9b
drh [Wed, 16 Aug 2023 15:10:07 +0000 (15:10 +0000)]
Mix the current process ID into the randomness used for generating
temporary filenames on Windows.
FossilOrigin-Name:
775a36ee093df4b5f7529a43eeaee9d5a9a943ad5ed8ae03bc74e459e87ba438
dan [Wed, 16 Aug 2023 14:18:53 +0000 (14:18 +0000)]
Update testrunner.tcl to use environment variable %NUMBER_OF_PROCESSES% when running under tclsh on windows. Also modify the internal database schema used by testrunner.tcl to be compatible with old versions of SQLite.
FossilOrigin-Name:
6542ed3b9e028c44aca504eadca843ee9b2ba08f5f650523238dd1253f7e221b
dan [Wed, 16 Aug 2023 13:55:38 +0000 (13:55 +0000)]
Fix test script problem preventing veryquick.test from running.
FossilOrigin-Name:
e73886574042108eb31641d0820c273c10b83fbf08ac6cb52d3e4c27830e2c23
stephan [Tue, 15 Aug 2023 21:44:22 +0000 (21:44 +0000)]
Cherrypick [
00ac653562a6 ] to remove stray JNI debug output. No functional changes.
FossilOrigin-Name:
e12d70f38c0ed5c0abf9a1e30ce4db59a4426e1e8cb1f8f07834fc1bedfcc65a
stephan [Tue, 15 Aug 2023 20:57:42 +0000 (20:57 +0000)]
Cherrypick [
653ed92dc391 ] (went to wrong branch). Doc change only, no code changes.
FossilOrigin-Name:
79a14457f0067814e7c33de709e2f9e19ab880d3eebbcb6f9fcce52a4720ecac
dan [Tue, 15 Aug 2023 18:52:25 +0000 (18:52 +0000)]
Update testrunner.tcl to make it easier to add things like mdevtest.
FossilOrigin-Name:
a531b71c4fd64fff6008876af825107ebc403f80dcb95273a05936ff6587b7aa
drh [Tue, 15 Aug 2023 18:08:14 +0000 (18:08 +0000)]
Improve the portability of the src-verify.c tool on Windows.
FossilOrigin-Name:
4068d94acd042a0a9887fba8ba38fa94c6f41a6d3c7a61d5514a57f613b3d278
dan [Tue, 15 Aug 2023 14:53:49 +0000 (14:53 +0000)]
stephan [Tue, 15 Aug 2023 13:01:20 +0000 (13:01 +0000)]
Add note about the current threading limitation to ext/jni/README.md. No code changes.
FossilOrigin-Name:
653ed92dc39185cdedfab3ea518bc7ec2d2826120e5fa4cbdee3343301396184
drh [Tue, 15 Aug 2023 12:27:27 +0000 (12:27 +0000)]
Use a dodgy substitute if the INFINITY macro is not available. See
[forum:/forumpost/
8e66e19bb9 |forumpost
8e66e19bb9 ].
FossilOrigin-Name:
4ae72c896761df5cd37c98ca3eeee7d4c6af3e4ccf74edd88ff902ef38f0765b
drh [Tue, 15 Aug 2023 11:58:22 +0000 (11:58 +0000)]
Fix the PRAGMA case_sensitive_like command so that the LIKE function continues
to be innocuous after the PRAGMA.
[forum:/forumpost/
925dc9f67804c540 |Forum post
925dc9f67804c540 ].
FossilOrigin-Name:
84c268c34cba7207a90dad2a8e972ce90c85304e91f4933c76963822ad1ae48b
dan [Tue, 15 Aug 2023 10:57:08 +0000 (10:57 +0000)]
Fix an off-by-one error causing a buffer overread in test2.c.
FossilOrigin-Name:
e1edf95ecc8f6840fd62abe83121fddeab7413c316b2e20b60fd3b2c8fdd4dca
stephan [Tue, 15 Aug 2023 09:26:47 +0000 (09:26 +0000)]
Minor reshaping of Tester1 moving towards making a multi-threaded run mode.
FossilOrigin-Name:
f104c14c26c123ee78c09fc1bc59efb8668dc624da05c1d8dbeaf3c9dd02a393
stephan [Tue, 15 Aug 2023 09:16:41 +0000 (09:16 +0000)]
Remove a piece of stray debug output. No functional changes.
FossilOrigin-Name:
00ac653562a66aad3112ea322d08be68e05e6bf7413c814dd3f81bf850fcf43b
drh [Mon, 14 Aug 2023 19:10:48 +0000 (19:10 +0000)]
Fix the autoconf makefile for the CLI such that it disables double-quoted
strings by default, as all other builds of the CLI do.
[forum:/forumpost/
9794b6aaa5 |forum post
9794b6aaa5 ].
FossilOrigin-Name:
85fd4f0ef41a883448f16d55b7f8bd5c7b1d9c89a3d7d9bcae9c2744ed843099
dan [Mon, 14 Aug 2023 18:21:56 +0000 (18:21 +0000)]
Fix a problem in sqlite3_snapshot_recover() introduced by the [
8a6b0c24937e855b ] merge.
FossilOrigin-Name:
c2577eb0a4a627c65d675f1446514843486092be9cb271b682793a0107e496cd