Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
100 check-ins occurring around f8c3ed23a6931b1d.
2023-05-08
| ||
13:47 | Improved error handling when ".open" fails in the CLI. (check-in: 38544b11 user: drh tags: trunk) | |
13:38 | In editPage(), if an attempt is made to edit an empty 64KB page, then take the slow path through rebuildPage(), in order to maintain strict invariants in the editPage() code. Forum post 0f37727c0d. (check-in: a865e574 user: drh tags: trunk) | |
11:11 | Ensure that the label for a JSON object really is a string and not an array or object that just happens to end with a string. dbsqfuzz 32f62ed8676d0a153dbe756aeae3202d3670fe50. (check-in: c335737c user: drh tags: trunk) | |
10:51 | Add tests for recovering data to a lost-and-found table from a utf-16 db. No code changes. (check-in: 832f6e9f user: dan tags: trunk) | |
2023-05-07
| ||
03:23 | It turns out that pagerExclusiveLock() can be called with the lock state already set to RESERVED if the SQLITE_FCNTL_PERSIST_WAL setting is set and a specific sequence of multiple journal mode changes occur. Enhance pagerExclusiveLock() to deal with this. Forum post 8130545bc6 (check-in: 2bb8d977 user: drh tags: trunk) | |
2023-05-05
| ||
20:22 | Fix a comment in the JSON logic. No code changes. (check-in: 3f30ea5e user: drh tags: trunk) | |
19:36 | Fix a buffer overrun that could occur when using the format() function to format a very small real value with the "," modifier. (check-in: 910e770a user: dan tags: trunk) | |
15:52 | Reduce the maximum depth of nesting in json objects to 1000. (check-in: c7697a0d user: dan tags: trunk) | |
15:28 | Do not attempt to run json502.test with SQLITE_OMIT_VIRTUALTABLE builds. (check-in: 66648506 user: dan tags: trunk) | |
14:16 | Updates to compile-time option usage and especially to the compile-time option test script in tool/omittest.tcl. (check-in: fece588b user: drh tags: trunk) | |
14:14 | Fix the pager2-3.1 test case so that it does not run if a required dependence (shared-cache) is omitted from the build. Fix for forum post 7a028538a7. (check-in: a77c8a78 user: drh tags: trunk) | |
11:47 | Allow virtual tables to prepare writes to shadow tables in defensive mode from with xRelease() callbacks - even if the xRelease() is invoked from within sqlite3_finalize(). (check-in: a1710649 user: dan tags: trunk) | |
11:33 | Improved formatting of comments on SQLITE_CONFIG_xxx defines as those comments are used by documentation. (check-in: 2cb840bc user: drh tags: trunk) | |
2023-05-04
| ||
20:28 | Add the "subsecond" modifier to the date/time functions. (check-in: 6fcb5a94 user: drh tags: trunk) | |
20:19 | Add some tests of subsecond modifier for date/time functions. Sync with trunk. (Closed-Leaf check-in: 6499ebff user: larrybr tags: subsec-modifier) | |
14:44 | Enhance the format() function so that the "," modifier works for floating point numbers in addition to integers. (check-in: 83683e10 user: drh tags: trunk) | |
14:41 | Merge latest wal2 changes into this branch. (check-in: b2e0800b user: dan tags: bedrock) | |
14:31 | Update this branch with latest changes from trunk. (check-in: 49777032 user: dan tags: wal2) | |
13:07 | Add support for the comma (,) modifier to %f formats in the format() function. (Closed-Leaf check-in: 7080e196 user: drh tags: comma-format) | |
11:29 | Fix a bug in cursor hints that can cause references to tables that have not been opened. Cursor hints are intended for use by COMDB2 only and should not appear in production builds, so this should not be a factor for the vast majority of users. (check-in: d3370d59 user: drh tags: trunk) | |
2023-05-03
| ||
14:10 | Add another assert() to FTS5 to demonstrate that a pointer is never NULL. (check-in: b8a84a1b user: drh tags: trunk) | |
13:57 | Add an assert() to fts5_config to ensure that a potential OOM is being handled correctly. (check-in: fe9c2076 user: dan tags: trunk) | |
13:48 | Protect a macro argument with parentheses in FTS5. (check-in: bc07fe51 user: drh tags: trunk) | |
13:33 | Add a comment to the [0512f82a2cde7447] change to link it to its TH3 test case. (check-in: 1281d4d9 user: drh tags: trunk) | |
13:03 | Enhancement to showwal such that it shows what the page hash should be on a hash mismatch. (check-in: 960dc970 user: drh tags: trunk) | |
11:27 | Conform CLI double-quoted escaping to what its doc says. (check-in: 910535ba user: larrybr tags: trunk) | |
10:56 | Fix a problem in test script changebatch1.test. (check-in: 98ecffdf user: dan tags: begin-concurrent) | |
07:30 | In the zipfile extension, leave the catalog list in a consistent state when the last entry is removed from the list. forum post f03f1e4c5a5c9959. (check-in: 1b489d00 user: drh tags: trunk) | |
06:48 | If the page size is wrong on the page1 content inside a WAL file, then running VACUUM could trigger an assert(). This check-in changes that assert() into a branch that returns SQLITE_CORRUPT. Forum post 4ef9b37d74d2d2e8 (check-in: 0512f82a user: drh tags: trunk) | |
06:38 | Improved detection of excess recursion on arrays and objects in the JSON parser. Fixes a problem detected by dbsqlfuzz. (check-in: d40fd592 user: drh tags: trunk) | |
05:00 | Do not overflow the Index.aSample[] array if the same index appears in the sqlite_stat4 table under multiple names because it is a WITHOUT ROWID primary key index. Forum post 537d8ab118df7edd (check-in: 9350a25a user: drh tags: trunk) | |
04:21 | Do not even attempt to load the sqlite_stat4 table if the use of STAT4 is disabled using sqlite3_test_control(). (check-in: 0bf94c77 user: drh tags: trunk) | |
02:32 | Fix CLI mishandling of OOM during .import _of_ a DB. Reported by forum post 7ed4a250d3. (check-in: 30da3f0e user: larrybr tags: trunk) | |
01:25 | In the CLI, ensure that the argument to quoteChar() is not a NULL pointer due to a prior OOM. (check-in: 776d1a47 user: drh tags: trunk) | |
2023-05-02
| ||
21:26 | Merge the latest trunk enhancements into the reuse-schema branch. (check-in: d08fa7d4 user: drh tags: reuse-schema) | |
21:10 | Update this branch with latest changes from trunk. (check-in: 6f22c767 user: dan tags: begin-concurrent) | |
20:34 | Fix a problem with the sqlite3changeset_size() API and rowid tables. (check-in: 92ade220 user: dan tags: trunk) | |
19:58 | Merge the latest trunk enhancements into the wal2 branch. (check-in: 0215dcc7 user: drh tags: wal2) | |
19:33 | Give CLI quoted args hex escapes (as documented.) (Closed-Leaf check-in: 90e434a6 user: larrybr tags: cli-hex-escape) | |
18:03 | Cure CLI hang on .import with high-ASCII column separator. (check-in: aac8ac63 user: larrybr tags: trunk) | |
17:33 | Allow for lower-case "nan" to mean NaN in JSON. (check-in: 6bee0a19 user: drh tags: trunk) | |
16:34 | Interpret negative arguments to sqlite3_sleep() as zero. (check-in: 2b542326 user: drh tags: trunk) | |
11:12 | Improved handling of NULL arguments to json_valid() and json_error_position(). Forum post 06c6334412. (check-in: ab78e694 user: drh tags: trunk) | |
10:22 | Fix typo in comment. Forum post 3da7d9c445. (check-in: 41a8a15c user: drh tags: trunk) | |
00:33 | Minor code change in the CLI to make a UAF warning from scan-build go away. (check-in: ad6aae76 user: drh tags: trunk) | |
2023-05-01
| ||
20:42 | Fix harmless compiler warnings. (check-in: 342af5b4 user: drh tags: trunk) | |
20:09 | The gcc definition of the SQLITE_INLINE macro is not compatible with string ANSI, so disable it if the -std=c89 command-line option is used. (check-in: 62d703d8 user: drh tags: trunk) | |
19:59 | Fix harmless compiler warnings in FTS5. (check-in: f6210017 user: drh tags: trunk) | |
19:28 | Remove xFileControl() handling from the OPFS VFS altogether, re-routing all syncing through xSync() instead. This eliminates superfluous syncing introduced in [a371374148a2], as discussed in forum thread 647d2f811dbc2dfe. (check-in: f809de7f user: stephan tags: trunk) | |
18:52 | Fix harmless compiler warnings. (check-in: 0a926994 user: drh tags: trunk) | |
18:28 | Add support for JSON5. (check-in: f8c3ed23 user: drh tags: trunk) | |
15:59 | Fix typos in comments in sqlite3session.h preventing documentation from being correctly generated. (check-in: ab75170d user: dan tags: trunk) | |
15:57 | New enhancements to the sqlite3_db_config() constants documentation. (check-in: d74011a3 user: drh tags: trunk) | |
15:42 | Expose the SQLITE_DBCONFIG_STMT_SCANSTATUS and SQLITE_DBCONFIG_REVERSE_SCANORDER sqlite3_db_config() options to JS. (check-in: 0a7024af user: stephan tags: trunk) | |
15:15 | Implement full xSync() for the OPFS VFS. The previous implementation was not correct for journal files. Reported in forum post 647d2f811dbc2dfe. (check-in: a3713741 user: stephan tags: trunk) | |
14:50 | Fix typos in documentation comments in sqlite3.h. (check-in: 6a8b0078 user: drh tags: trunk) | |
11:24 | Do not apply the "AND false" optimization if either operand comes from the ON clause of a join. Fix for the problem identified by forum post 96cd4a7e9e. (check-in: d095da0e user: drh tags: trunk) | |
03:56 | Fix abbreviated paths for objects such that they work even if the object key begins with '$'. (Closed-Leaf check-in: 1b991c78 user: drh tags: json5) | |
2023-04-30
| ||
23:52 | Fix a problem with json_patch() when one side or the other is JSON5. dbsqlfuzz bc10593a4ba8e7a7862593532285be31f00f8e41 (check-in: e18c0899 user: drh tags: json5) | |
20:37 | Accept the full ECMAScript 5.1 IdentifyName syntax for keys in objects. (check-in: 9be2c875 user: drh tags: json5) | |
19:45 | All JSON to understand floating point literals "Inf" and "QNaN" and "SNaN" in any case, without the SQLITE_EXTENDED_NAN_INF compile-time option. This extension is always available. (check-in: fb551145 user: drh tags: json5) | |
19:34 | Omit the json_valid() function. Change the name of json_error() to json_error_position(). Use "NOT json_error_position(X)" as a substitute for "json_valid5(X)". (check-in: 34c4e900 user: drh tags: json5) | |
2023-04-29
| ||
18:40 | Merge all the latest trunk enhancements into the JSON5 branch to facilitate testing of the JSON5 branch. (check-in: 30d12ede user: drh tags: json5) | |
18:31 | Fix a crash that could occur in fts5 'secure-delete' mode when operating on corrupt records. (check-in: 2e85b0e3 user: dan tags: trunk) | |
17:35 | More ALWAYS() macros. (check-in: 770b09f7 user: drh tags: json5) | |
17:13 | Add ALWAYS macros on unreachable branches in the new JSON5 logic. (check-in: 91e15ed9 user: drh tags: json5) | |
16:31 | Simplification of the logic that normalizes JSON5 integer literals into canonical JSON integer literals. Improved reporting of OOM. (check-in: 01ee613c user: drh tags: json5) | |
16:00 | Do not allow leading zeros on non-zero numeric literals in JSON. (check-in: 3e914943 user: drh tags: json5) | |
15:42 | Cure CLI generate_series() overflow bug (noted by forum post #754e2d4db2a5) and bring behavior with negative step arguments closer to as-documented and eponymous function in PostgreSQL. (check-in: 07383758 user: larrybr tags: trunk) | |
15:29 | Replace duped generate_series() test with another corner case. (Closed-Leaf check-in: fb2f0878 user: larrybr tags: generate_series-revamp) | |
12:29 | Sync w/trunk, improve generate_series() variable names. (check-in: ecbf7e13 user: larrybr tags: generate_series-revamp) | |
12:13 | Minor fixes to to the JSON% parser. (check-in: 2fe684cd user: drh tags: json5) | |
00:59 | Correctly recognize an isolated U+feff as a space character in JSON5. (check-in: 4473dc8e user: drh tags: json5) | |
2023-04-28
| ||
23:39 | Add tests for generate_series(), fix a so bug found, and change an existing test that enforced varying rowid-to-value mapping with query ordering. (That no longer varies.) (check-in: 9605db4a user: larrybr tags: generate_series-revamp) | |
23:38 | Bug fixes in the logic to skip over JSON5 comments. (check-in: c736b77a user: drh tags: json5) | |
23:19 | Bug fix in the offset computation for json_error(). (check-in: 8f7ab5d9 user: drh tags: json5) | |
21:25 | Revise generate_series() extension (in CLI) to address overflow reported in forum post #754e2d4db2a5 and to make behavior better match the like-named PostgreSQL function. (check-in: beeea3e1 user: larrybr tags: generate_series-revamp) | |
17:38 | Improvements to the accuracy of json_error(). Add the extension SQL functions random_json(SEED) and random_json5(SEED). (check-in: 8d09dc1c user: drh tags: json5) | |
14:48 | Add the json_error(X) function that returns the 1-based character offset to the first syntax error in JSON5 string X, or 0 if there are no errors. (check-in: 901ad995 user: drh tags: json5) | |
13:25 | Fix indentation and omit trailing whitespace in the random JSON generator script. (check-in: 629db09f user: drh tags: json5) | |
11:02 | Fix json_tree() so that it is able to deal with the JNODE_RAW labels of a JSON5 object. (check-in: f56528d4 user: drh tags: json5) | |
10:23 | Merge all the latest trunk fixes and enhancements into the json5 branch. (check-in: b5ca15cf user: drh tags: json5) | |
10:10 | Do not assert() a bad string representation in an sqlite3_value after an OOM. dbsqlfuzz c822a17a23c524a0ac7cfb203c7198209da15de8. (check-in: 91fee79a user: drh tags: trunk) | |
00:28 | Make CLI .load slightly harder to abuse. (check-in: 2779f927 user: larrybr tags: trunk) | |
00:19 | In the CLI, early out from the output_quoted_string() routine if the input string is NULL. forum post 8a22c0bfa7. (check-in: 2881978d user: drh tags: trunk) | |
2023-04-27
| ||
23:59 | Use a new technique to detect fresh OOM faults in columnName() that does not rely on there being no OOMs prior to entry into columnName(), as [forum/forumpost/fb6811c2f9|forum post fb6811c2f9] demonstrates a technique which could cause an OOM prior to entry into columnName(). (check-in: a63346d6 user: drh tags: trunk) | |
23:44 | Remove a faulty assert() from the CLI. Forum post 726c4f7db0. (check-in: 4bbebb6b user: drh tags: trunk) | |
23:40 | Remove an ALWAYS() macro that can in fact sometimes be false. Forum post f0e872fcee. (check-in: d85880e4 user: drh tags: trunk) | |
23:29 | Test cases added, and some bugs fixed. (check-in: bc84a82e user: drh tags: json5) | |
22:17 | Fix compilation issues seen with older versions of MSVC. (check-in: 4ba2a651 user: mistachkin tags: trunk) | |
21:31 | Adjust OSTRACE usage so that it works with the changes in the previous check-in. (check-in: 1eb4573e user: mistachkin tags: trunk) | |
19:30 | Further optimizations to the JSON parser. (check-in: bb8f1c16 user: drh tags: json5) | |
19:27 | Dynamically resize the node hash table used by the rtree module. (Leaf check-in: f94f3da5 user: dan tags: rtree-batch-insert) | |
19:13 | Faster implementation of numberic literal parsing in JSON. (check-in: 58398292 user: drh tags: json5) | |
18:28 | Add support for hexadecimal integer literals in JSON. (check-in: 85e00c9e user: drh tags: json5) | |
17:32 | All floating point literals "NaN" and "Infinity". Additional variants of these literals are available if compiled with SQLITE_EXTENDED_NAN_INF. (check-in: c13346af user: drh tags: json5) | |
16:57 | Fix handling of reverse solidus in string literals. Allow decimal points in floating point literals to occurs and the beginning or end of the mantissa. (check-in: d92a6ab2 user: drh tags: json5) | |
16:24 | Fix the handling of escape solidus in the JSON routines. (check-in: 676877ac user: drh tags: json5) | |
15:48 | JSON string literals may span multiple lines by escaping new line characters. (check-in: 66da4bd4 user: drh tags: json5) | |
15:11 | Allow the labels on JSON objects to be unquoted identifier names. (check-in: fb428db3 user: drh tags: json5) | |