Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
200 most recent check-ins using file ext/fts5/test/fts5synonym2.test version b54cce5c34
2024-09-18
| ||
18:04 | Improvements to the scope of valueFromFunction(). (Leaf check-in: b021399a6e user: drh tags: branch-3.28) | |
2024-06-07
| ||
00:20 | Allow the query planner access to the argument of LIMIT even if that argument is a bound parameter. (check-in: 148d505ca0 user: drh tags: branch-3.28) | |
2024-06-06
| ||
16:06 | Better optimize queries that use parameters in the LIMIT clause. (Closed-Leaf check-in: b44f267671 user: drh tags: branch-3.28-var-in-limit) | |
2024-04-02
| ||
18:48 | Fix typos in comments. Provided ".wheretrace" debugging output for the interstage heuristic module. Do omit automatic index loops in the interstage heuristic. (check-in: 357d9513d2 user: drh tags: branch-3.28) | |
18:31 | Fix table-valued functions so that they will work as the right table in a LEFT JOIN. Ticket [2ae0c599b735d59e] (check-in: 1f97086d62 user: drh tags: branch-3.28) | |
11:54 | Add a heuristic in between the two solver() passes of the query planner that tries to prevent a very slow query plan in cases where the output row count estimate is imprecise. (check-in: 74b247d958 user: drh tags: branch-3.28) | |
2023-11-29
| ||
16:26 | Fix a duplicate assert() caused by the second cherrypick in the previous check-in. (check-in: f10d4fc4a8 user: drh tags: branch-3.28) | |
16:07 | Remove Window objects from the corresponding Select.pWin list when they are deleted, as they are, for example, when the ORDER BY clause is optimized out. (check-in: f9c6e6a710 user: drh tags: branch-3.28) | |
2023-10-19
| ||
21:05 | Ensure that when an ephemeral cursor is reopened with a second invocation of to OP_OpenEphemeral, the sequence counter is reset and the cache marked as stale. Fix for [9cdc5c46]. (check-in: d4bfa8d21a user: drh tags: branch-3.28) | |
2023-10-12
| ||
20:03 | Fix a problem with an fts5 secure-delete on a rowid/term pair that follows a legacy delete of the same pair. (Leaf check-in: f5913e7632 user: dan tags: branch-3.42) | |
2023-09-15
| ||
20:04 | Drop support for the view-scan optimization as it was causing multiple performance regressions. In its place, reduce the estimated row count for DISTINCT subsqueries by a factor of 8. (check-in: 796a65fa61 user: drh tags: branch-3.28) | |
2023-09-08
| ||
19:32 | Fix a problem with fts5 secure-delete mode causing fts5 to corrupt its records. (check-in: cc0f82a480 user: dan tags: branch-3.42) | |
2023-09-02
| ||
22:07 | Eliminate a redundant NK_DbAboutToClose notification. (Leaf check-in: eccffaa7ca user: larrybr tags: cli_extension) | |
22:00 | Issue NK_DbAboutToClose notifications for any shell DB about to be closed, whether presently visible in ShellExState or not. (check-in: 8e6e54e48c user: larrybr tags: cli_extension) | |
2023-08-24
| ||
14:17 | Ensure that db mutex is held when using sqlite3ErrorWithMessage() to avoid a potential assertion in debug builds. (Closed-Leaf check-in: b8f6a50a4b user: stephan tags: wasm-post-343) | |
2023-08-21
| ||
18:25 | Fix problems related to structured-exception-handling on this branch. (check-in: d3d77e35ea user: dan tags: bedrock) | |
17:49 | Fix problems related to structured-exception-handling on this branch. (check-in: dd86c2729b user: dan tags: begin-concurrent) | |
17:26 | Fix MSVC testfixture.exe builds. (check-in: 7004c9027e user: dan tags: begin-concurrent) | |
2023-08-19
| ||
12:32 | JNI doc additions. (check-in: 0c7ac34f30 user: stephan tags: jni-threading) | |
11:52 | JNI test code cleanups. (check-in: e202b6e69d user: stephan tags: jni-threading) | |
11:26 | Minor JNI cleanups. (check-in: 1cecb9e038 user: stephan tags: jni-threading) | |
10:43 | Add multi-thread run mode to JNI Tester1. It works but hangs on exit sometimes for Java reasons as yet not understood. (check-in: bdbaf7a453 user: stephan tags: jni-threading) | |
08:22 | 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. (check-in: 2d955eef25 user: stephan tags: jni-threading) | |
2023-08-18
| ||
14:41 | Improve exception handling in OpfsDb.importDb(). (check-in: a4eedd63b5 user: stephan tags: wasm-post-343) | |
14:16 | 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. (check-in: 9b1398c96a user: stephan tags: wasm-post-343) | |
2023-08-17
| ||
22:04 | Remove some obsolete JNI-internal docs. (check-in: 00a2a3736a user: stephan tags: jni-threading) | |
16:06 | Add "Windows-Sanitize" configuration to "testrunner.tcl release" tests on windows. (check-in: e68b46dc6a user: dan tags: trunk) | |
15:14 | Have all test names in json101.test start with "json101". (check-in: af56d7b6b9 user: dan tags: trunk) | |
15:11 | Enable address sanitizer in Makefile.msc by adding the ASAN=1 argument on the nmake command line. (check-in: 3eaadaff85 user: drh tags: trunk) | |
14:19 | Fix a possible UAF in SEH if an exception occurs at an inopportune moment during WAL processing. (check-in: 91b91037e3 user: drh tags: trunk) | |
13:13 | Tighten up the JNI auto-ext handling. (check-in: c09c8d05a2 user: stephan tags: jni-threading) | |
12:44 | Minor internal JNI cleanups and fixes. (check-in: 0e9437de02 user: stephan tags: jni-threading) | |
10:49 | Remove the FIXME markers related to threading. Code style cleanups. (check-in: 154ab26dc6 user: stephan tags: jni-threading) | |
09:49 | Add SQLITE_EXTRA_AUTOEXT, similar to SQLITE_EXTRA_INIT but adds a builtin auto-extension provided by the client. Suggestion from forum post 00829394c74a670f. (Closed-Leaf check-in: 423e77277a user: stephan tags: extra-autoext) | |
2023-08-16
| ||
17:23 | Refinements to instructions on compiling for Windows. (check-in: d543c36c35 user: drh tags: trunk) | |
17:12 | Improved instructions on how to build SQLite on Windows 11 and similar. (check-in: 0f6b2b3373 user: drh tags: trunk) | |
15:27 | Make sqlite3_stmt_explain() accessible to loadable extensions. (check-in: a237a31ff4 user: drh tags: trunk) | |
15:10 | Mix the current process ID into the randomness used for generating temporary filenames on Windows. (check-in: 775a36ee09 user: drh tags: trunk) | |
14:18 | Update testrunner.tcl to use environment variable %NUMBER_OF_PROCESSORS% when running under tclsh on windows. Also modify the internal database schema used by testrunner.tcl to be compatible with old versions of SQLite. (check-in: 6542ed3b9e user: dan tags: trunk) | |
13:55 | Fix test script problem preventing veryquick.test from running. (check-in: e738865740 user: dan tags: trunk) | |
2023-08-15
| ||
21:44 | Cherrypick [00ac653562a6] to remove stray JNI debug output. No functional changes. (check-in: e12d70f38c user: stephan tags: trunk) | |
20:57 | Cherrypick [653ed92dc391] (went to wrong branch). Doc change only, no code changes. (check-in: 79a14457f0 user: stephan tags: trunk) | |
18:52 | Update testrunner.tcl to make it easier to add things like mdevtest. (check-in: a531b71c4f user: dan tags: trunk) | |
18:08 | Improve the portability of the src-verify.c tool on Windows. (check-in: 4068d94acd user: drh tags: trunk) | |
14:53 | Fix problems in fts5 test code. (check-in: c16ed3b1cc user: dan tags: trunk) | |
13:01 | Add note about the current threading limitation to ext/jni/README.md. No code changes. (check-in: 653ed92dc3 user: stephan tags: wasm-post-343) | |
12:27 | Use a dodgy substitute if the INFINITY macro is not available. See forumpost 8e66e19bb9. (check-in: 4ae72c8967 user: drh tags: trunk) | |
11:58 | Fix the PRAGMA case_sensitive_like command so that the LIKE function continues to be innocuous after the PRAGMA. Forum post 925dc9f67804c540. (check-in: 84c268c34c user: drh tags: trunk) | |
10:57 | Fix an off-by-one error causing a buffer overread in test2.c. (check-in: e1edf95ecc user: dan tags: trunk) | |
09:26 | Minor reshaping of Tester1 moving towards making a multi-threaded run mode. (check-in: f104c14c26 user: stephan tags: jni-threading) | |
09:16 | Remove a piece of stray debug output. No functional changes. (check-in: 00ac653562 user: stephan tags: wasm-post-343) | |
2023-08-14
| ||
19:10 | 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 post 9794b6aaa5. (check-in: 85fd4f0ef4 user: drh tags: trunk) | |
18:21 | Fix a problem in sqlite3_snapshot_recover() introduced by the [8a6b0c24937e855b] merge. (check-in: c2577eb0a4 user: dan tags: trunk) | |
17:12 | Bring handling of the Java auto-ext handler more in line with the core in terms of locking and mutability during traversal. This removes the explicit synchronous requirement from the Java open() and auto-ext bindings. (check-in: 42994b952e user: stephan tags: jni-threading) | |
14:21 | Remove some obsolete, commented-out makefile code. No functional or build changes. (check-in: ea574cd5de user: stephan tags: wasm-post-343) | |
13:33 | Change the name of the ".binary" command in the CLI to ".crnl". The sense of the setting is inverted. The original ".binary" still works for backwards compatibility but is now undocumented. ".crnl" is also undocumented on machines where it is a no-op (all machines other than Windows). forum thread 8bd0b0fbdbc12477 (check-in: 544de2da09 user: drh tags: trunk) | |
13:27 | More work on the JNI-specific mutexes. Rework the NativePointerHolder cache lookup to be slightly simpler and O(1) instead of O(N). (check-in: c84ded0e59 user: stephan tags: jni-threading) | |
12:20 | Fix harmless compiler warnings reported by MSVC. (check-in: 391e21bb6e user: drh tags: trunk) | |
12:05 | Enable SEH be default in Windows builds. (check-in: faae792fd5 user: drh tags: trunk) | |
08:28 | JNI-internal docs and removal of obsolete code. (check-in: b62d93258b user: stephan tags: jni-threading) | |
2023-08-13
| ||
20:58 | Internal API renaming for clarity's sake. (check-in: 911e4fc5aa user: stephan tags: jni-threading) | |
12:40 | Add a mutex for auto-extensions, tied in to the open() process since that's the route into auto-extensions. (check-in: 8da97e0db4 user: stephan tags: jni-threading) | |
10:28 | Add some docs and metrics for the new mutex internals. (check-in: 33d1780b43 user: stephan tags: jni-threading) | |
10:22 | Remove SQLITE_DEBUG from JNI build. (check-in: 82f004cf74 user: stephan tags: trunk) | |
09:53 |
An initial attempt at protecting the JNI global state via mutexes at the C level instead of relying on Java's synchronized keyword. | |
2023-08-12
| ||
23:47 | Bind sqlite3_interrupt() and sqlite3_is_interrupted() to JNI but with caveats regarding mutexing of the JNIEnv cache. Add a loud warning to the JNI 'dist' target that it should be built with JDK8 (a.k.a. Java 1.8) for compatibility reasons. (check-in: fbf99a2423 user: stephan tags: jni-threading) | |
21:39 | Merge the Java Native Interface (JNI) binding into trunk. (check-in: 48b13edcec user: stephan tags: trunk) | |
21:08 | Update wasm's push-testing rule to exclude files which were recently removed from the build. (check-in: 0a6930a7ff user: stephan tags: trunk) | |
20:50 | Correct JNI .jar rules to only include *.java/class files, not *.* (*~ files). (Closed-Leaf check-in: 1ba7754045 user: stephan tags: jni) | |
19:58 | Fix the mdevtest target so that it works with msvc. (check-in: 01f49448cd user: dan tags: trunk) | |
19:25 | Fix testrunner.tcl so that it restarts itself using [testfixture] if its current interpreter does not support [package require sqlite3]. (check-in: 408be98ddd user: dan tags: trunk) | |
18:23 | Have the mdevtest target support the OPTS variable on unix. (check-in: 940f58d9b9 user: dan tags: trunk) | |
17:36 | Add "mdevtest" target to makefiles. Equivalent to running "devtest" on both debug and non-debug builds. (check-in: af354fbc0b user: dan tags: trunk) | |
15:37 | More JNI docs. (check-in: 290028d3ca user: stephan tags: jni) | |
15:09 | Further simplifications in the interface of the OutputPointer family of Java classes. (check-in: 962c3e0de2 user: stephan tags: jni) | |
12:16 | Merge the latest trunk enhancements into the reuse-schema branch. (check-in: d2b0ddcc75 user: drh tags: reuse-schema) | |
10:39 | Tweaks and docs for the OutputPointer family of Java classes. (check-in: 265c8fd0d4 user: stephan tags: jni) | |
10:27 | Bind sqlite3_db_status() to JNI. (check-in: b79477a0af user: stephan tags: jni) | |
10:06 | Bind sqlite3_status(64)() to JNI. (check-in: cefb6614e6 user: stephan tags: jni) | |
2023-08-11
| ||
22:40 | Modernize the sqlite3 shell man page a bit, per forum request. (check-in: 3bc0693c46 user: stephan tags: trunk) | |
21:25 | Add timing info to SQLTester. (check-in: b69b5facbf user: stephan tags: jni) | |
21:24 | Merge trunk into jni branch. (check-in: 4f0aeeba02 user: stephan tags: jni) | |
20:32 | Fix a makefile deps problem which caused ext/jni build to fail if sqlite3.c/h were not created beforehand. (check-in: 101de67077 user: stephan tags: jni) | |
19:38 | Merge latest trunk changes, including support for handling of structured-exceptions in MSVC builds, with this branch. (check-in: cb3cf9bab0 user: dan tags: begin-concurrent) | |
19:36 | Merge latest wal2 changes, including support for handling of structured-exceptions in MSVC builds, with this branch. (check-in: 331f2f3e5d user: dan tags: bedrock) | |
19:33 | Merge latest trunk changes, including support for handling of structured-exceptions in MSVC builds, with this branch. (check-in: 00bfae9ffa user: dan tags: wal2) | |
19:31 | If SQLITE_USE_SEH is defined, handle structured-exceptions thrown by MSVC builds if the *-shm file mapping is accessed after it becomes invalid for some reason. (check-in: 8a6b0c2493 user: dan tags: trunk) | |
18:59 | Minor SQLTester test tweaks and have 'make tester' include the out-of-tree tests if they are found. (check-in: 6c8538d834 user: stephan tags: jni) | |
18:31 | Fix a problem with handling savepoints in BEGIN CONCURRENT transactions. (check-in: ca422d00d7 user: dan tags: bedrock) | |
18:25 | Fix a problem with handling savepoints in BEGIN CONCURRENT transactions. (check-in: 4a5c0439ae user: dan tags: begin-concurrent) | |
18:04 | Bind sqlite3_sql() and sqlite3_expanded_sql() to JNI. Start marking C-side functions which would need explicit mutex support if we remove 'synchronized' from their Java entry points (but there are many more left to mark). (check-in: c7fb32d1ef user: stephan tags: jni) | |
17:45 | Add a doc link for the new sqlite3_js_posix_create_file(). (check-in: 0d7aac45b8 user: stephan tags: trunk) | |
17:38 | Add sqlite3.capi.sqlite3_js_posix_create_file() and oo1.OpfsDb.importDb() as alternatives for the newly-deprecated sqlite3_js_vfs_create_file(). (check-in: da6eaf8d82 user: stephan tags: trunk) | |
14:31 | Deprecate sqlite3_js_vfs_create_file() because, it was discovered today, its out-of-scope use of the sqlite3_vfs, sqlite3_file, and sqlite3_io_methods APIs triggers unresolvable assertions in the core when built with SQLITE_DEBUG. (check-in: f3647a3ac8 user: stephan tags: trunk) | |
11:46 | Merge all the latest trunk enhancements into the bedrock branch. (check-in: 859932ebce user: drh tags: bedrock) | |
11:40 | Merge the latest trunk enhancements into the wal2 branch. (check-in: fe1bf30ca0 user: drh tags: wal2) | |
11:34 | Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: 7cb2b4e35f user: drh tags: begin-concurrent) | |
11:30 | Provide the -DSQLITE_LEGACY_JSON_VALID compile-time option to restore the (incorrect) legacy behavior of json_valid(NULL). (check-in: 00bc9f1b57 user: drh tags: trunk) | |
11:24 | Fix bug in the test case for the previous check-in. (Closed-Leaf check-in: c5daae8861 user: drh tags: legacy-json-valid) | |
11:23 | Update test scripts specific to this branch so that they work on windows. (check-in: f0ca13edad user: dan tags: wal2) | |
11:12 | Up until version 3.42.0, there was a bug in json_valid() such that it would return False (0) for a NULL input. That bug is fixed in 3.42.0. This check-in adds a compile-time option -DSQLITE_LEGACY_JSON_VALID that restores the old buggy behavior for applications that depend on it. (check-in: 15c2eadbff user: drh tags: legacy-json-valid) | |
2023-08-10
| ||
21:50 | Mark _all_ JNI binding funcs as synchronized so that Java can lock them and protect our global-state access. The alternative is writing a mountain of C-side code to do the same thing. (check-in: afe190a940 user: stephan tags: jni) | |
21:29 | Work around jdk8 and jdk19 mangling the C name of sqlite3_db_config() differently. Correct the variadic arg handling of the JNI-side subset of sqlite3_db_config() options. (check-in: 746894c3c0 user: stephan tags: jni) | |
21:20 | Add tests for structured-exception-handling and wal2. Fix a problem with the same. (Leaf check-in: 87242777ec user: dan tags: wal2-shm-exceptions) | |
20:52 | Add a working dist zip file for the JNI bits. (check-in: d6a4d212ce user: stephan tags: jni) | |
18:58 | Experimental merge of the wal-shm-exceptions and wal2 branches. (check-in: fd58c61624 user: dan tags: wal2-shm-exceptions) | |
18:57 | Initial pass at 'make dist' rules for the JNI bundle, but they still need a bare-bones, posix-make-compatible makefile to include in the bundle. (check-in: ff54e66a4d user: stephan tags: jni) | |
18:50 | New testcase() macro in the tokenizer, to better document its behavior. (check-in: b2fdac0b15 user: drh tags: trunk) | |
17:39 | Merge trunk into jni branch for the newly-relocated version-info tool. (check-in: cc8e8cba67 user: stephan tags: jni) | |
17:32 | Move ext/wasm/version-info.c to tool/ for re-use in build other dist bundles. (check-in: 4b0871fd36 user: stephan tags: trunk) | |
17:07 | Merge latest trunk changes into this branch. (Leaf check-in: 3ed89c344f user: dan tags: wal-shm-exceptions) | |
17:04 | Mark test script wal2big.test as "TESTRUNNER: slow". (check-in: ae7f3bcb5b user: dan tags: wal2) | |
17:03 | Merge latest trunk changes into this branch. (check-in: 72f7807b34 user: dan tags: wal2) | |
16:42 | Add SQLTester --keep-going flag to allow it to continue to the next script after an error. (check-in: 4d635f781b user: stephan tags: jni) | |
13:10 | Document that auto-extensions registered via JNI will fail if they open a db (to avoid triggering an endless loop in the auto-extensions). Discover the hard way that JDKv19 creates different mangled JNI names for some functions than JDKv8. Start reformatting much of the JNI API decls in prep for making them even longer. (check-in: 99c0941f1c user: stephan tags: jni) | |
12:36 | Resolve two assertions in the auto-extension JNI which were triggered via new SQLTester infrastructure. Move SQLTester's db-init SQL injection into an auto-extension. (check-in: 2952906c30 user: stephan tags: jni) | |
11:15 | Make test completion status more visible at a glance on modern terminals. (check-in: a4e96c306c user: stephan tags: jni) | |
11:04 | Disable REQUIRED_PROPERTIES handling in SQLTester, per /chat. Scripts with that directive are now skipped. (check-in: ddc534cb25 user: stephan tags: jni) | |
10:58 | Add a visual indicator (emoji) to TestScript verbose messages, dependent on the message's level of verbosity. (check-in: dc323d3894 user: stephan tags: jni) | |
10:44 | Add the current --testcase name to SQLTester --verbose output. (check-in: f87367402b user: stephan tags: jni) | |
10:34 | More SQLTester docs. Add --verbosity command to help zoom in on script areas while debugging. Spice up test-start/end output with some emoji. (check-in: 8dd0802149 user: stephan tags: jni) | |
05:25 | Give DbException the option of closing the db to simplify error handling in one case. (check-in: 908c9a4450 user: stephan tags: jni) | |
05:14 | Initial version of REQUIRED_PROPERTIES support for SQLTester, with TEMPSTORE_(FILE/MEM) and RECURSIVE_TRIGGERS options. (check-in: 48d16c9d2f user: stephan tags: jni) | |
04:24 | Generic cleanups and fixes in SQLTester. (check-in: fc5d3cc30d user: stephan tags: jni) | |
02:09 | Change the SQLite3Jni API annotations to use SOURCE retention (used only at compile-time). (check-in: 3c3fea6bf2 user: stephan tags: jni) | |
01:44 | Move all of the SQLTester code into a single file, since it's only got 1 public class. Remove 'public' from many methods which don't need it. Add more documentation to it. (check-in: 2815d67695 user: stephan tags: jni) | |
01:19 | Defer static JNI-side init of SQLTester until main() is called so that its auto-extensions do not leak over to clients of the main library. (check-in: e461fdd53b user: stephan tags: jni) | |
01:05 | Merge trunk into jni branch. (check-in: 52fa6f7841 user: stephan tags: jni) | |
01:03 | Treat all args to --glob as a single glob. (check-in: 4737bd3457 user: stephan tags: jni) | |
00:58 | Remove --print's ability to read ahead. (check-in: 15cfee972b user: stephan tags: jni) | |
00:34 | Replace the SQLTester infrastructure with a line-oriented, non-regex-heavy parser. Add --column-names command. (check-in: 88863908ee user: stephan tags: jni) | |
2023-08-09
| ||
23:47 | Port the SQLTester 'v1' commands to the 'v2' evaluation bits. Still TODO is swapping out v1 with these separate impls. (check-in: 0cf57e5b0f user: stephan tags: jni) | |
22:30 | Correct REQUIRED_PROPERTIES handling to not fail if there are no properties. (check-in: 7a19bef4f5 user: stephan tags: jni) | |
22:18 | More for the SQLTester rework. Can read input and dispatch commands, but only --print is currently implemented. (check-in: 4fa2ad33ed user: stephan tags: jni) | |
19:51 | Initial sketches of a line-by-line parser for SQLTester to overcome its compatibility shortcomings. Far from complete. (check-in: 43534cd042 user: stephan tags: jni) | |
18:25 | Adapt TestScript to skip REQUIRED_PROPERTIES, per [7a07863e082664da], and improve a couple of adject reasons-for-skipping messages. (check-in: f937097e9b user: stephan tags: jni) | |
17:47 | Add an extra constraint to the test-script-interpreter.md spec. (check-in: 7a07863e08 user: drh tags: jni) | |
17:23 | SQLTester --result command: do not double-{}-wrap error messages and do not throw on db error. (check-in: f7be20f5a6 user: stephan tags: jni) | |
17:04 | Move the test command body's trim() back into the TestScript class (to simplify Command-level code) but do it after double-verbose has had the chance to emit it as-is (so that debug output is not mangled by the trim). (check-in: f15ecb68f7 user: stephan tags: jni) | |
16:56 | Tweak the SQLTester --verbose and double-verbose output a bit for legibility. (check-in: 46b79afaaf user: stephan tags: jni) | |
16:29 | Strip --oom commands from SQLTester input since (A) we can't currently do anything with them and (B) they can appear as body content of --testcase commands and the current parser cannot deal with that. If --verbose is provided once, emit the name and args of each command as it's run. If --verbose is used twice or more, also emit the command's body text, if any. (check-in: 0770e8467d user: stephan tags: jni) | |
16:03 | Update the definition of "special characters" for the SQLTester and correct the code to match it. (check-in: 217f6e0c9c user: stephan tags: jni) | |
15:46 | Extend TestScript to be able to report why it should be skipped. Expand the test-skipping rules to account for the current spec doc. Add the {} empty-string case to the spec doc. (check-in: 4fcc8cb0cc user: stephan tags: jni) | |
14:47 | Add a test for the --null command. (check-in: 83ac815deb user: stephan tags: jni) | |
14:43 | Extend SQLTester glob support with '#'. (check-in: 756ef83f45 user: stephan tags: jni) | |
14:24 | Implement the SQLTester's result escaping rules. (check-in: 61bb950873 user: stephan tags: jni) | |
13:51 | Add --json and --json-block SQLTester commands. (check-in: 478129d901 user: stephan tags: jni) | |
13:16 | Add SQLTester --tableresult command. (check-in: 8c5b6d893d user: stephan tags: jni) | |
12:05 | Clean up the SQLTester output a bit by using the module name, instead of filename, where appropriate. (check-in: 5323e4fd25 user: stephan tags: jni) | |
11:10 | Document SQLTester's --print command and add some argument validation to it. (check-in: ab9c945bb0 user: stephan tags: jni) | |
11:05 | Rework how SQLTester's Command objects are dispatched and how TestScript stores its command entries. (check-in: f929f1f7f7 user: stephan tags: jni) | |
09:56 | Some minor tweaks in SQLTester in prep for larger refactoring. (check-in: 1d93f93ac9 user: stephan tags: jni) | |
2023-08-08
| ||
22:10 | Remove the current-statement tracking from the JNI internals because it will break down in the face of client-side mixed-mode native/java code, e.g. in cases like SQLTester. This makes tracing of sqlite3_stmt a micron slower but also reliably correct. (check-in: 4c0ec89dca user: stephan tags: jni) | |
21:22 | Adapt JNI build to be buildable with or without SQLTester. (check-in: adae7d7869 user: stephan tags: jni) | |
21:05 | Add SQLTester dup() and dup_count() UDFs. Correct arg handling of the --run command. (check-in: 0dba3073f4 user: stephan tags: jni) | |
20:41 | Correct --result arg count check and add infrastructure to let us add custom C-side behavior to SQLTester via an auto extension. (check-in: bb8321702e user: stephan tags: jni) | |
20:15 | If SQLTester now treats a no-args --result as comparing against an empty string. (check-in: 49005ca5cc user: stephan tags: jni) | |
20:02 | Add glob/notglob commands to SQLTester and complete the interrupted-midway impls of the strglob() and strlike() JNI bindings. (check-in: 4ba98ec0bf user: stephan tags: jni) | |
19:20 | When SQLTester hits an unknown command, emit a warning and skip the rest of that script instead of aborting the whole run, per /chat discussion. Reduce verbosity a bit. (check-in: 3e78d22d04 user: stephan tags: jni) | |
17:36 | Minor cleanups in sqlite3Int.h. By reordering some fields in the Parse object, it packs more tightly and uses less memory and less CPU to initialize. (check-in: aa6de539c0 user: drh tags: trunk) | |
16:53 | Fix an issue in the amalgamation generator in which it was not correctly expanding the SQLite version in the header comment. (check-in: 293f6191e9 user: drh tags: trunk) | |
14:58 | Correct the spacing output of multi-select SQL blocks for SQLTester --result. (check-in: 8d98645a9e user: stephan tags: jni) | |
14:49 | Updates to the test script interpreter spec: Rather than failing immediately upon encountering an incompatibility, simply abandon the rest of that particular input file. (check-in: d2c99b96f4 user: drh tags: jni) | |
14:40 | A number of baby steps for SQLTester.java. It can now handle basic --result cases. (check-in: 0404f688f6 user: stephan tags: jni) | |
14:25 | Add a few words of clarification on how the SQLite Test Script Interpreter should be initialized to start each test script. (check-in: 3aa2b5a5ca user: drh tags: jni) | |
13:05 | Correct JNI sqlite3_prepare() to emit a null stmt handle when the C counterpart succeeds but results in a NULL pointer. (check-in: 94628f88b5 user: stephan tags: jni) | |
11:46 | Implement the new/open/close SQLTester commands. (check-in: dc823bf00f user: stephan tags: jni) | |
11:46 | Add a JNI-layer sqlite3.toString() for debugging. (check-in: 456691649a user: stephan tags: jni) | |
10:58 | Bind sqlite3_strlike/strglob() to JNI. (check-in: eb5440f71b user: stephan tags: jni) | |
09:45 | SQLTester: add print command and improve argument error reporting infrastructure. (check-in: 1b6e84f6aa user: stephan tags: jni) | |
00:59 | Add missing license header. Minor cleanups in SQLTester. (check-in: 5be50fd588 user: stephan tags: jni) | |
00:37 | Rework SQLTester dispatching and add stub impls for several commmands. (check-in: 9e61af75ac user: stephan tags: jni) | |
2023-08-07
| ||
23:59 | Add command dispatcher to SQLTester. (check-in: e0a06931e9 user: stephan tags: jni) | |
23:04 | SQLTester now ignores tests which contain constructs specified in the spec doc. (check-in: ecaeee652a user: stephan tags: jni) | |
22:32 | SQLTester can now split a test script into a series of individual commands. (check-in: d3d1accc8b user: stephan tags: jni) | |
22:02 | SQLTester can now read a script and strip it of all noise content. (check-in: 59bd392817 user: stephan tags: jni) | |
21:04 | Initial skeleton for adding an SQL-driven test script interpreter for the JNI bindings. (check-in: 2aa8f0edec user: stephan tags: jni) | |
17:09 | Enhance sqlite3_vtab_nochange() so that it works with "UPDATE ... FROM ..." statements. Use this to allow some updates on fts5 contentless-delete tables. (check-in: 27ff86e4d8 user: dan tags: trunk) | |
16:15 | Changes so that sqlite3_vtab_nochange() works with "UPDATE ... FROM...". Use this to allow UPDATE on a contentless fts5 table if new values are supplied for all indexed columns. (Closed-Leaf check-in: 16cd2161e3 user: dan tags: fts5-contentless-delete) | |
11:18 | When converting a Java exception to a db error message, use Throwable.toString() instead of getMessage() so that the exception type's name is included. More internal API renaming for consistency. (check-in: 2d44720d06 user: stephan tags: jni) | |
10:59 | Lots of JNI internal API renaming, for consistency, and moving-around of utility functions. Make it safe for more callback types to throw. (check-in: 9a494394b9 user: stephan tags: jni) | |
10:01 | JNI API renaming to better match the C API. (check-in: 6e0bd03d0b user: stephan tags: jni) | |
09:44 | Rename fts5_api pContext parameters to pUserData, per /chat discussion. This is a cosmetic change made to reduce confusion between those parameters and the two other context-type parameters in that API. (check-in: 2ca064d8eb user: stephan tags: trunk) | |
01:06 | Make sqlite3_stmt() Java ctor private - it's only constructed from JNI code. (check-in: ce82c42f15 user: stephan tags: jni) | |
00:29 | Minor internal cleanups and additional test metrics. (check-in: fa0a6b6e8e user: stephan tags: jni) | |
00:06 | Bind the auto-extension APIs to JNI. (check-in: 746a5fa079 user: stephan tags: jni) | |
2023-08-06
| ||
22:09 | Rework the sqlite3_open(_v2)() order of operations so that pending auto-extension support can get ahold of the open-time Java state despite the Java/C (sqlite3*) binding not having yet been established. (check-in: 34da294ab5 user: stephan tags: jni) | |
21:29 | Completely rework how the JNI sqlite3_open(_v2) and sqlite3_prepare(_vN)() bindings deal with output pointers to give the JNI side full control over the origin of db and stmt handles (necessary for solving chicken/egg situations in auto-extensions and prepare-time trace). Lots of adjacent internal API renaming. (check-in: 644999caff user: stephan tags: jni) | |
20:01 | Start adding JNI-side support for auto extensions, but hit a brick wall which requires slightly awkward semantics changes in the JNI bindings for sqlite3_open(_v2)() to resolve, so stash this #if'd out for the time being. (check-in: 77a32d238e user: stephan tags: jni) | |
15:01 | Doc cleanups. (check-in: 5f56b00770 user: stephan tags: jni) | |
14:19 | Bind sqlite3_config() to JNI for call variants taking (int,int*) and (int,const char *) variadic arguments. (check-in: 6119289da8 user: stephan tags: jni) | |
13:02 | JNI-internal cleanups and API renaming. Add a C-side java-string-to-utf8 conversion. (check-in: 672d85795d user: stephan tags: jni) | |
11:05 | Remove doc outdated warning about sqlite3_trace_v2() JNI binding being incompatible with MUTF-8. Use new to-string capability to simplify Fts5ExtensionApi::xColumnText() JNI binding. (check-in: ebcfc2379b user: stephan tags: jni) | |
10:49 | Add a way to convert from standard UTF-8 to a Java string (JNI lacks this capability). (check-in: 07dd082c9e user: stephan tags: jni) | |
10:14 | Bind sqlite3_db_filename() and (closely related) (A) add many more docs about the UTF-8/MUTF-8 discrepancy (B) start adding internals to enable us to perform the standard-UTF-8-to-Java conversion from C. (check-in: 586720fa71 user: stephan tags: jni) | |
2023-08-05
| ||
22:41 | Bind sqlite3_set_authorizer() to JNI. (check-in: e0fa031359 user: stephan tags: jni) | |
21:35 | Refactor the per-JNIEnv cache from a fixed-size static array to a linked list of dynamically-allocated entries. Uncache all per-db state (which is necessarily JNIEnv-specific) when the corresponding JNIEnv is uncached. (check-in: 9dd8b78419 user: stephan tags: jni) | |
20:19 | Add SQLite3Jni.uncacheJniEnv(), a way for Java threads to clear their thread-specific cached state from the JNI bindings when they're about to terminate (or are otherwise done using the library). (check-in: 7468f8761b user: stephan tags: jni) | |
19:20 | In the JNI docs, note that the sizeof SQLITE_TRANSIENT and SQLITE_STATIC should ideally be the same as the platform's pointer size. (check-in: 7d4ac44ec4 user: stephan tags: jni) | |
19:15 | Tiny doc typo fixes from forum post 31eb707250. No code changes. (check-in: 8ede50082e user: stephan tags: trunk) | |