drh
f294ce648b
Add the checkfreelist extension to the command-line shell.
...
FossilOrigin-Name: 48418f2ed5ab1cb270776166141ce32ed3ebf22ed4e33a66a204d4fde9d11f52
2017-10-11 18:26:26 +00:00
dan
7d157f91f4
Check that the leaf count on each freelist trunk page is in range as part of
...
checkfreelist processing.
FossilOrigin-Name: 4e89406248f51d3b83d61e5472fb493f3d3b4ff2a69bf256c7e15445eeb2f3ec
2017-10-11 18:21:44 +00:00
dan
36187fe8c2
Add new extension "checkfreelist", which uses sqlite_dbpage to check that
...
there are no invalid entries on the database free-list.
FossilOrigin-Name: 21930ef5376261d95fa325be7761d327a350d4ae6b4573c83ddb4d294dea51c4
2017-10-11 18:00:34 +00:00
drh
512e6c3c51
Convert the implementation of the ".dbstat" dot-command of the command-line
...
shell to use the sqlite_dbpage table.
FossilOrigin-Name: 497409e167c7c025fbddc319b4fa9a8b965f70d05ac88c060dee469f70321388
2017-10-11 17:51:08 +00:00
mistachkin
690e8858fe
Make JSON1 defines consistent in the makefiles for MSVC.
...
FossilOrigin-Name: 31eee0e4bffc5419e076a589049bfea7327dfc666fcc2767c0b700f506055c4e
2017-10-11 17:50:22 +00:00
drh
9b40ab45b2
Enable JSON by default in the Windows command-line shell sqlite3.exe.
...
FossilOrigin-Name: 79c96121baf065fd78ba4f1fe82ce725b6372df20e9323d88022b7c243701372
2017-10-11 17:25:08 +00:00
drh
ca5cf1229b
Enable sqlite_dbpage and dbstat virtual tables in the shell, by default.
...
FossilOrigin-Name: 01bf856c424c20b464f26973720bf5dcd3e89509c5b02c3625d4828f0385d3db
2017-10-11 17:13:29 +00:00
drh
34d0b1ac56
Get writes working on the sqlite_dbpage virtual table. Add a few test cases.
...
FossilOrigin-Name: a8b264d811e5bcb7e3ae8a12bf5b6830a9d1adff1f59436dda9e886f97da242f
2017-10-11 15:02:53 +00:00
drh
a43c8c8a60
Initial implementation of the "sqlite_dbpage" virtual table. Currently
...
it is read-only and has a place-holder xBestIndex.
FossilOrigin-Name: c2c1d656e3f52465192c2a697a976cd1837ccc4e10708a2377cff8bf6eaa7d49
2017-10-11 13:48:11 +00:00
drh
ff0a67a1a7
In the speed-check.sh test script, allow an additional test-name argument
...
which becomes the comparison baseline, in place of "trunk".
FossilOrigin-Name: 0245adffc6f9b580217e0d2feb396d6895e54cdc25f5dfc9c8f4090b919e9e49
2017-10-11 12:20:36 +00:00
drh
679afb492e
Create a branch for the 3.21.0 release. Development continues on trunk.
...
FossilOrigin-Name: 0f160a8abb0409b6e687ebc13b732559b3d65428f72430df142fd925eb39e9a2
2017-10-11 11:12:20 +00:00
drh
a2c41c2f2b
DROP TABLE now works for WITHOUT ROWID tables and the SQLITE_OMIT_AUTOVACUUM
...
compile-time option. Fix for ticket [e651b1341861d6]
FossilOrigin-Name: b8c1b5a584aeb6ab63cff875ca16135efeadac16b4b32afa589845477feebf32
2017-10-10 13:37:22 +00:00
mistachkin
94ea27f808
Fix harmless compiler warnings in FTS5 seen with MSVC.
...
FossilOrigin-Name: 5594a121bf132a98d0ecb4cf86d9f2681925c9416206096bf11c9370a5dae22f
2017-10-08 02:22:06 +00:00
mistachkin
cc24f81576
Fix harmless compiler warning seen with MSVC.
...
FossilOrigin-Name: 39d920d1ef0cce40195b21e148f78f544710348fa180c0e76f743a73e5236d45
2017-10-07 23:58:55 +00:00
mistachkin
4537f77a53
Revise variable declaration moved in the previous check-in so sqlite3VdbeReset() is consistent with sqlite3VdbeRewind().
...
FossilOrigin-Name: 63d1b425ee6a7d2ae782b738d81d98e39342ae7fe7c4fd217a28a0bdafe4f222
2017-10-07 23:35:40 +00:00
mistachkin
b60424e495
Fix C99-style variable declaration issue seen with older versions of MSVC.
...
FossilOrigin-Name: 14b181e862bd742555c51b87fab59d6f8f6602fe2c18dde3ef3b020779912419
2017-10-07 23:31:33 +00:00
dan
a0ac086f15
Add tests for the example fts3 "rank" function that appears in the
...
documentation.
FossilOrigin-Name: 702b137aa4f76543647e177beeb1ca2b3cd18c61021c78880e9aa8656f341d65
2017-10-06 18:00:36 +00:00
drh
2ed5737aca
Fix compiler warnings that come up with SQLITE_OMIT_WAL.
...
FossilOrigin-Name: 8ca0fa8dfe6a66aea7fc63f15e6f704cb190aa0760a3fec2db5f6bad3861a135
2017-10-05 20:57:38 +00:00
dan
5f54e2b5d3
Fix a problem building with SQLITE_OMIT_WAL defined.
...
FossilOrigin-Name: 373b0ace480aa303bbf512ea8806a17f6186b16d6316a7b724499bf94b3974d4
2017-10-05 20:02:49 +00:00
drh
c3cbd678a1
Fix the command-line shell so that the ".schema --indent" command does a better
...
job of dealing with \r\n in the middle of a CREATE statement in the schema.
FossilOrigin-Name: 4258fb578a6e75590c7314fe511ca8dc6659e5f2d3a54d8f60ff705fe51ccc92
2017-10-05 19:12:10 +00:00
drh
5aa1e7cd30
Disable the delta checksum verification in RBU by default. Reenable it using
...
-DRBU_ENABLE_DELTA_CKSUM, if desired.
FossilOrigin-Name: d22c99b6ba997179ef3ccd341d9c36d5213d699305d15942d82587a0bfd16f9d
2017-10-05 11:29:37 +00:00
drh
c6aa38159b
Updates to requirements marks.
...
FossilOrigin-Name: 40964a4ef7565ea0ddf452f48cb22373d068528e07d40eefc008f2231c969422
2017-10-04 18:26:44 +00:00
dan
7b7c956f09
Update the speedtest1 program so that it prints the output of "PRAGMA
...
compile_options" if the -stats option is specified.
FossilOrigin-Name: 7c69f8f1089c3e3843fbf7ec37a897c849a3df822a4ce3b4fcde586adf991a3f
2017-10-04 17:05:04 +00:00
mistachkin
3dfbe9b3fc
Fix typos in session extension header comments. No changes to code.
...
FossilOrigin-Name: 182ec9d6f6c44938de0a2cd542e259d082deeeabc12a1815fff35e3ed1e524ef
2017-10-04 16:35:01 +00:00
drh
f3b2c7aa81
New test cases for ticket [b899b6042f97f5] derived from a bug report on
...
the mailing list from Wout Mertens.
FossilOrigin-Name: ef94ea061d2ec8ee0243e97dfcfc7a7c75dd22006e61a7195b780722bbc925db
2017-10-04 14:13:29 +00:00
dan
4c16760c37
Amend recent changes to busy.test to avoid failing with SQLITE_ENABLE_STAT4
...
builds.
FossilOrigin-Name: 9ff4944194c56b38843bc626dc51604db8e1ca8a0fd221e2d6f78c840d57c341
2017-10-04 12:08:35 +00:00
drh
7c58fea39f
Turn restriction 20 on the query flattener into an assert since the situation
...
restricted can no longer occur because of the more aggressive use of
co-routines.
FossilOrigin-Name: 4464f40ccd7c5553f4d44120ca6dac4e9445f08f083f7dcb3bd66b4413d818e0
2017-10-04 12:06:31 +00:00
dan
61b513e9e3
Add tests to verify that the busy-handler is invoked correctly when processing "PRAGMA optimize" and ANALYZE commands.
...
FossilOrigin-Name: fb83c3d8df250cb701fbe775b48ab93f5674496f68c57e04f50668c43c2de328
2017-10-04 10:39:28 +00:00
drh
cdb2f60743
Remove a redundant restriction from the query flattener.
...
FossilOrigin-Name: 66629b2a0997ceedcfb38553f2200466b6c4e352ea00f8a0a7cb67a660c19523
2017-10-04 05:59:54 +00:00
drh
e76acc654f
Fix a minor typo in the query flattener header comment. No code changes.
...
FossilOrigin-Name: d050dc605c24bcf60c0c47d13612ad53b871d3d4eff681c0c1b933acf53fb5ee
2017-10-04 02:30:45 +00:00
drh
0c4db03481
Simplify the computation of types on columns of a view.
...
FossilOrigin-Name: 772b0db1469c9e1c2728cf65dd070e29c624e75c3a5da72ee1297f15d758dd13
2017-10-03 19:53:12 +00:00
drh
997a4deb4e
Do not enable SELECT tracing with -DSQLITE_DEBUG. Require the
...
-DSQLITE_ENABLE_SELECTTRACE compile-time option to enable SELECT tracing.
FossilOrigin-Name: f5c395834c2a776beba6fe172cc4a5e428ce30b9cb4259ef8e440f10455a41e9
2017-10-03 18:35:57 +00:00
drh
8906a4b802
Add some OK_IF_ALWAYS_TRUE() marks on optimization branches in select.c.
...
FossilOrigin-Name: 1dd828088d6981dfebf9f4d650dad8431bece4405650c61f90eb8d8f43289b52
2017-10-03 17:29:40 +00:00
drh
ce2c482e5a
Remove an unused variable from sqlite3Insert() and fix harmless
...
compiler warnings associated with -DSQLITE_MUTATION_TEST.
FossilOrigin-Name: 7be760e907274131bcd4acfaff9e72c9c59a05e7d411db3d9afe690fe0d64b4b
2017-10-03 17:17:34 +00:00
drh
a78d757c36
Fix the sqlite3_column_decltype() interface to return the correct datatype
...
when the value comes through a CTE.
FossilOrigin-Name: 966438bd259ade3a2d4a6ec9587ce79c81a21b942248bffb389995b9132b53e3
2017-10-03 16:57:33 +00:00
drh
e2463398fd
The simplification to sqlite3SelectExpand() in last night's
...
[3a4ffb21] check-in was not completely correct. This adjustment is needed
for correct OOM handling in some configurations.
FossilOrigin-Name: c5ad5e1675f6cb5a54df21606dfec2198a7cf88acc529460ebe27bdab128a6e5
2017-10-03 14:24:24 +00:00
drh
cafc2f7b3e
Do not compute column and row size estimates for the transient Table objects
...
associated with the result set of a SELECT statement, since those estimates
are never used for anything constructive.
FossilOrigin-Name: e4342fd401d4025eecc53ebfcd59f3150166a5f0bd6adb1b5820703bd4a1ec58
2017-10-03 03:01:09 +00:00
drh
878fcf9d4e
Mark a single branch within sqlite3SelectExpand() as an optimization.
...
FossilOrigin-Name: 3a4ffb21d0ee2326c31b9ddc512d79d4ebf3a249a2840e88e99165978eec31fd
2017-10-02 23:50:08 +00:00
drh
b7651e6b60
Simplification to sqlite3SelectPrep() for improved testability.
...
FossilOrigin-Name: 5bf2ccb908dc6ebf7e063014b0a4bed7e3e9e0a555f78c6b4f6647adfb7209e4
2017-10-02 23:30:45 +00:00
drh
2f65b2f512
Add the OK_IF_ALWAYS_TRUE() and OK_IF_ALWAYS_FALSE() macros for marking
...
conditionals that improve performance but do not change the outcome.
FossilOrigin-Name: 6035c9b2728f47d338696978eb6fe5a7d6cb84bbea0792ef985c0986ac8f39dd
2017-10-02 21:29:51 +00:00
drh
3ee1416b68
Avoid using lookaside memory for persistent virtual table structures.
...
FossilOrigin-Name: d815f255dfbcd6d64326f7bc0ad3fe3c4ff08270ca75f8836ef2a919d5e57401
2017-10-02 13:20:43 +00:00
drh
3fc5394258
The query planner now always prefers to implement a FROM-clause subquery using
...
a co-routine rather than flattening the subquery into the outer query.
FossilOrigin-Name: c9104b59c7ed360291f7f6fc8caae938e9840c77620d598e4096f78183bf807a
2017-10-02 02:52:54 +00:00
drh
de6422a609
Improvements to a comment in lempar.c. No code changes.
...
FossilOrigin-Name: 8000d230171fe53599fc6a916666f60f88f789e6c9c6c2869514c02d837d6fc8
2017-10-02 02:32:12 +00:00
drh
67cc51a491
More details in the header comment of pushDownWhereTerms(). No changes to
...
code.
FossilOrigin-Name: 928486231ff7cc0df17a5aa23a080a1b8720e168db5227a7dbd34861283ba689
2017-09-30 11:47:06 +00:00
drh
24ae373ab1
Make sure the SQLITE_Stat34 optimization switch is always 0x800, a value
...
which is hard-coded in the TH3 test suite.
FossilOrigin-Name: 6aed4ea34c4163c682ad5bb2956fdf4f3a3ad048fefd3edab0fef6761c3783cc
2017-09-30 10:50:34 +00:00
drh
508e2d00f3
Fix unreachable conditionals and revise a testcase that was made obsolete by
...
the changes on this branch.
FossilOrigin-Name: 71f0adf7ca6824c3aba69104b9976dbb71b377474529e1a36220b4804293501e
2017-09-30 01:25:04 +00:00
drh
25c221eb1d
Always render a subquery that is not part of a join as a co-routine.
...
FossilOrigin-Name: 6b1651d711eae6e7c65a191f02ca2439160bcd677099712289e76a0f8422fd37
2017-09-29 22:13:24 +00:00
drh
fd06385f21
Merge the query flattener comment improvements from trunk.
...
FossilOrigin-Name: f62cd4d940506c39db82e83ff3df8ab1856f1fb91ffda835ae2d727263ee9b0b
2017-09-29 16:08:46 +00:00
drh
d981e8289a
Clean up the comments on the query flattener to more clearly and accurately
...
express the conditions under which the flattener is able to run.
FossilOrigin-Name: 0840f9f824c16212ce3fd6c859e501176eb0a58924ea1728a54d5bdfd0c25c86
2017-09-29 16:07:56 +00:00
drh
129c398d4b
Merge changes from trunk.
...
FossilOrigin-Name: 06f432fb7c979f1bb7f01f5c90716ce5c0248f73f70b78a9870b9de5c9bf7ef4
2017-09-29 14:31:16 +00:00
drh
824d21aff3
Make sure the 6th parameter to the authorizer callback for view subqueries
...
has the correct view name.
FossilOrigin-Name: 2a45bbc9fd1c64f1c4c4dac38f063cd67480fcb6da24bf93fdefbfca66fd81ab
2017-09-29 12:44:52 +00:00
drh
23768298d2
Better names for subqueries in EXPLAIN comments.
...
FossilOrigin-Name: 04ef40a8fea88776e0d8b73d942922d45d0c038fbfac1a9a82b9322181b4ad92
2017-09-29 12:12:52 +00:00
drh
648fe49f96
Do not flatten subqueries that contain an ORDER BY or GROUP BY clause and
...
can be implemented using a co-routine.
FossilOrigin-Name: 042d655dd9002e8b89a798ad955b0285891aecf79f6978c5312e70ffe0609a46
2017-09-28 20:06:53 +00:00
drh
2e9d706252
Remove the (undocumented) query-planner control that prevents
...
a "SELECT ALL" subquery in FROM clause from being implemented as a co-routine.
FossilOrigin-Name: ff2f5a31a2ac67a2fdbb25793e8013cb0e062ab90bdcba2d52a62d6d4d8b6d18
2017-09-28 17:29:24 +00:00
drh
3d240d2119
Fix over-length source code lines in select.c. No logic changes.
...
FossilOrigin-Name: fd3267ef92384fcefaee7460a5ffbaf8ddcb6049eec36f72a7046a43e2871fbf
2017-09-28 16:56:55 +00:00
drh
4e6cec1ca0
Fix an issue introduced by check-in [4cd2a9672c59] (2017-03-03) that could
...
allow a negative value in the 3rd parameter to memmove() when
defragmentPage() is called on a btree page with a corrupted
freeblock list. The corruption is now detected early and results in
an SQLITE_CORRUPT return before the memmove() is reached.
FossilOrigin-Name: 5b9ae693120fe4f7bc3b6270f35d773876f6cc8f5990e05cce0d255c54b36ae7
2017-09-28 13:47:35 +00:00
drh
70efa84da7
Add new routines to simplify dealing with collating sequences in expressions:
...
sqlite3ExprNNCollSeq() and sqlite3ExprCollSeqMatch().
FossilOrigin-Name: 490e488ea963fe725b16212822c8608f2b6abce688931b611446bc2cbfe6b87c
2017-09-28 01:58:23 +00:00
drh
db8e68b4cd
Indexes on expressions with a COLLATE clause are able to satisfy an ORDER BY
...
with the same COLLATE clause.
FossilOrigin-Name: 0413001843dce7c63659d39b329ca14cdcd54f4407922f51b2fb7659572a733e
2017-09-28 01:09:42 +00:00
drh
488e619192
In two places, change the magic number -1 to its proper symbol XN_ROWID.
...
FossilOrigin-Name: 80277d2fc9b76fe41e345d00952da1528e69884f25911cf6e4f78b09ff778421
2017-09-28 00:01:36 +00:00
drh
9325c87c26
Disable tests for the LIKE optimization when ICU is enabled, since the
...
LIKE optimization only works for the built-in LIKE operator and ICU overrides
the built-in.
FossilOrigin-Name: f5ef2e1bcd2790f960c15947f87cda19bd6a6a384ad09b25f6d07d5244cfecbd
2017-09-27 16:51:00 +00:00
dan
b92d585c60
Add an extra snapshot related test case.
...
FossilOrigin-Name: 24a95e143785bb8e12198092d13c979ec2e116fa8b55d0bf482cb473a92294d8
2017-09-25 09:37:37 +00:00
dan
21f2bafd9b
Experimental change so that snapshot transactions always lock the wal file -
...
preventing writers or truncate-checkpointers from wrapping it.
FossilOrigin-Name: d71eeaab9ecdeed772047498b781be1f0be0655af284b94cf676bb408ceea8b1
2017-09-23 07:46:54 +00:00
mistachkin
3314062b9d
Use the updated Win32 VFS semantics for winOpen from check-in [5d03c738e9] for WinRT, et al, as well.
...
FossilOrigin-Name: 2c03d8b8f028b6a736aaf2cf8b28a51b3434cf341c95cf3a80469e0a24acdd98
2017-09-22 16:23:23 +00:00
drh
24ddadfa3b
Partial backout of check-in [e0af9a904076]. It turns out we do need some
...
extra space at the end of the record blob as an overrun area to use when
decoding a maliciously malformed record.
FossilOrigin-Name: 403b88a894d877b85bcc33133abad06c3c576e4928de4a4b0c091f74c4015355
2017-09-22 12:52:31 +00:00
drh
0b11bcb3e4
Update the configure script so that it looks for tclsh8.7 ahead of tclsh8.6.
...
FossilOrigin-Name: 0a12915b373cd0491a58d8f7a645711c620c70efced623e6b40aa01f23284157
2017-09-22 00:24:44 +00:00
drh
0e97e9a4c2
In the Windows VFS, when trying to open a database file read/write, if it
...
fails check to see if the file exists and is read-only and immediately fall
back to a read-only open attempt, rather than running the AV retry loop.
FossilOrigin-Name: 5d03c738e93d36815248991d9ed3d62297ba1bb966e602e7874410076c144f43
2017-09-21 20:43:48 +00:00
drh
b40d9eea50
In the Windows VFS, do not emit an SQLITE_CANTOPEN error log message when
...
falling back from SQLITE_OPEN_READWRITE to SQLITE_OPEN_READONLY. Wait until
the open fails completely.
FossilOrigin-Name: fa3f5bcc23d9342f6df8ea15732988d637e9fa5dade85a73b05a9f66136d6964
2017-09-21 20:03:17 +00:00
drh
8dfde89bc6
Fix harmless UB in the ICU extension.
...
FossilOrigin-Name: 68e9a840d9cfbf4988e1a68c34e809d15d0235998cf0bfa147a1ab88ea842a61
2017-09-21 19:08:25 +00:00
drh
9616805728
Fix a potential use of an uninitialized pointer in RTree following an OOM
...
error.
FossilOrigin-Name: fd4ec0cdbd84f3333dd4c7a4236491bce6b9ab21fb2c088751ca1279b31bd864
2017-09-21 13:11:47 +00:00
drh
19be1b631b
Fix a bug in tool/mksourceid.c:
...
The mksourceid.c program was incorrectly including the "# Remove this line"
line of the Fossil-generated "manifest" file in the SHA3 hash. That means
that all SQLITE_SOURCE_IDs for trunk versions going back to
check-in [30966d56] (2017-08-22) are incorrect.
FossilOrigin-Name: 65765222ef6f4e80c05a24994fcee145f5fbc0ad35c9fab3d75492964b3eb187
2017-09-21 10:24:10 +00:00
drh
c07df4c3b9
Revert one performance improvement changes from check-in [3b3e32d4cd07] as
...
it was causing a reference to an uninitialized value.
FossilOrigin-Name: f8b1c64d3eeb8413ca149f34cc00f9154a5446d06ad33bbffa69118e6110f81d
2017-09-21 01:04:30 +00:00
drh
b5c1063ab7
Fix the rendering of the P4_INTARRAY argument to the OP_IntegrityCk opcode
...
in the output of EXPLAIN.
FossilOrigin-Name: adc12c83dda8ba93ca220bbff649f763058b9440968ae463621f0cb7de8889cf
2017-09-21 00:49:15 +00:00
drh
762dffa54a
Size and performance optimization on sqlite3VdbeMemGrow().
...
FossilOrigin-Name: 4b3f7eacb862fbb5b75cf50b72fb60dfbd0acb5818e9f83383a6a63c8bbeacdf
2017-09-20 18:47:51 +00:00
drh
63d1632f1e
The BLOB returned by sqlite3VdbeMemFromBtree() does not need to be
...
zero-terminated.
FossilOrigin-Name: e0af9a9040768adf8bba42a8780adeb6304bc442afb1f35d239d019db1624f40
2017-09-20 18:07:50 +00:00
drh
97397a70e4
Small size and performance optimization in the bytecode engine.
...
FossilOrigin-Name: 3b3e32d4cd07a1d2d1708fffa47819345ae6b39205a9f548280d499c8f481d64
2017-09-20 17:49:12 +00:00
drh
84d4f1a328
Improved resolution of large integer values in "CAST(x AS NUMERIC)".
...
FossilOrigin-Name: 7f2bd4ff45fba29528c18cac6da983bd9b164303525d3965056f5b40f85dc83f
2017-09-20 10:47:10 +00:00
drh
9a243e69c2
Updates to the "lemon.html" document received from Andy Goth.
...
FossilOrigin-Name: 5b2002f3df1902aaa571a0efd01ab8bae7f4d37ac4819cc51595277f4de93433
2017-09-20 09:09:34 +00:00
drh
cf51255c44
Add the sqlite3_mmap_warm() function as an extension in the ext/misc/mmapwarm.c source file.
...
FossilOrigin-Name: 1b2de41453ac33de82f9cd6cbb92eee4fe184fb282c27e5efa5243c8cb239630
2017-09-18 18:17:01 +00:00
drh
262d55121f
Fix a typo in the MSVC makefile.
...
FossilOrigin-Name: 3235835babb49b4dd1acaabd1aa6cfb0b7fe19a914db1cb511e8cc872d3c0c39
2017-09-18 18:08:54 +00:00
dan
460f1fa55c
Add extension "mmapwarm.c". Provides function sqlite3_mmap_warm(), used to
...
"warm up" the memory mapping used by SQLite in mmap mode to access db file
content.
FossilOrigin-Name: d4a30b91f9aad93510baead8c04ee51b82c98763be5a224ed4873298214c963a
2017-09-18 16:28:56 +00:00
drh
63347e7df8
Minor simplification of error message generation during compound query
...
code generation.
FossilOrigin-Name: a944719314e0ac2f1954b65668815769eba3ab3e39a74666293b8dea52a184b2
2017-09-18 13:16:10 +00:00
drh
edea4a7cc9
The out-of-bounds read on recovery fix of check-in [378afa16381a222a] caused
...
problems for some corner-case error conditions. This alternative fix appears
to work better.
FossilOrigin-Name: 74f399d81fe250e09fde730ac0c17fe8b2b776ed32a3f576adaad56090f2b7fa
2017-09-18 09:40:46 +00:00
drh
2acd24d90c
Fix the CSV virtual table extension so that it works when the default character
...
is unsigned.
FossilOrigin-Name: 42f07775556758754e92e29a759d200d0d81d16eee83ab982b840db11292f834
2017-09-18 00:18:31 +00:00
drh
97258194a2
Do not make the assumption (as check-in [4da49a95c0f07] incorrectly did) that
...
the ExprList returned by sqlite3ExprListDup() would never be passed into
sqlite3ExprListAppend(). Include a new test case that shows this sometimes
does happen.
FossilOrigin-Name: 29227d00a9999f0f28a0b55ef70183799a667c3b9d81d2e5ac0ab1840bef98b1
2017-09-17 19:45:28 +00:00
drh
559656196b
Simplify the sqlite3VdbeGet() routine. Smaller, faster, and easier to maintain.
...
FossilOrigin-Name: 5dbb255a9377a6c2619fbac519f18caa4d8cb23257dfba0ffb9e36dd9dc16627
2017-09-16 20:58:41 +00:00
drh
2def2f7e0a
Remove an unnecessary parameter from selectInnerLoop().
...
FossilOrigin-Name: dd95887f82739d05585edfb70913fdaaab154de46c4d3113dd32d283767fb6fc
2017-09-15 17:40:34 +00:00
drh
3df6c3b1c5
Improved the header-comment documentation on sqlite3ExprCodeExprList().
...
No changes to code.
FossilOrigin-Name: 5dc3ecb5f67968545fb35ceed61ad625e069c4e744c5c3ebaea65e2fee347a5f
2017-09-15 15:38:01 +00:00
drh
a19543fe70
Optimization to the ExprList object to make it slightly smaller and faster.
...
FossilOrigin-Name: 4da49a95c0f07ed7790169e8833c3e2dacda504a3d997f567572020148abe30b
2017-09-15 15:17:48 +00:00
drh
154896e8d2
Fix a harmless comment typo. No changes to code.
...
FossilOrigin-Name: f7f0bf1da03f7fc1647ef172d9cb71a2ac46f136d4dee8e3a24e39313a981eb5
2017-09-15 14:36:13 +00:00
dan
3ed0f1c936
Add another test case for the problem fixed by the previous commit.
...
FossilOrigin-Name: 1a7e0b61c8a6bdd3ed105b9bc8a3732668fd7a897d2ed16c99445498e3c87089
2017-09-14 21:12:07 +00:00
dan
629ec14abc
Avoid an out-of-bounds read that can be caused by a specially constructed
...
journal file.
FossilOrigin-Name: cf5bf42cad6e019a38dc0a36ff1f53ada619eef5259e175c3554a16669e03202
2017-09-14 20:41:17 +00:00
drh
263a8b660f
Avoid an out-of-bounds read on a recovery attempt using a carefully crafted
...
database and rollback journal with mismatched page sizes. The test case for
this is in TH3.
FossilOrigin-Name: 378afa16381a222aafa6009dbbbc92473a69683537f1c265694678b0595a42c8
2017-09-14 02:36:27 +00:00
drh
bb6896226f
Test case update due to PRAGMA integrity_check enhancements in [8525c30c].
...
No changes to code.
FossilOrigin-Name: 43c6023bbf6b808ab4cfdbd1a63a516cbe2f1794c7787f8230632bae12e2ff59
2017-09-13 20:20:36 +00:00
drh
4c08735732
Disable FTS3 matchinfo() tests that assume a littleEndian platform when
...
running on bigEndian.
FossilOrigin-Name: 87ccdf9cbb9284553330683d4971be4f523ce922089aee6dffccfc18b3004263
2017-09-13 12:55:59 +00:00
drh
d33bcb8a3c
Improvements to PRAGMA integrity_check for better detection of malformed
...
records. Integrity_check now avoids returning SQLITE_CORRUPT on a corrupt
record. Also includes microoptimizations that I stumbled over while working
on integrity_check.
FossilOrigin-Name: 8525c30c1d6676e51b9d9c642450aae3722c129edafdbc39b8435fcfe09b1817
2017-09-13 00:33:36 +00:00
drh
74588ceb31
PRAGMA integrity_check returns SQLITE_OK even if it encounters corruption
...
while scanning indexes.
FossilOrigin-Name: 81f62e99f27dedf3dc10fa1593c4cd9fc158680867206aee853e503a0cc8df71
2017-09-13 00:13:05 +00:00
mistachkin
77187faf5a
Fix test script comment. No changes to code.
...
FossilOrigin-Name: a5a1949259a26c3330d7b1dcf38a8dd2e9b2c3af8d52f937e8537df138c9a55a
2017-09-13 00:01:26 +00:00
mistachkin
bf60baa985
Remove use of the rand_s() function (added by [139081bef9f63c3e]) as it appears to cause issues with some third-party DLLs.
...
FossilOrigin-Name: 3a2793aa65727cbbf8c4678d478cf8fb02350f19ff98201934a984727368d64d
2017-09-12 23:58:47 +00:00
drh
3ba18adde5
Fix an error in [b22cdd67] that can cause a negative infinity to be (rarely)
...
reported as a positive infinity.
FossilOrigin-Name: 9780b23ca375de6a542516fbc03eb39d5a393ca577718fda231d0d0ccf3b1c7e
2017-09-12 15:05:34 +00:00
drh
b9772e7fe8
Changes to (hopefully) get the build working with recent Intel compilers.
...
FossilOrigin-Name: b22cdd6734ecda2b2b9749668f353abc2660f192d6a40c5d266309d30e25695e
2017-09-12 13:27:43 +00:00
drh
3e1e14d818
Make sure all connections are closed in the pragma.test script.
...
Test change only - no changes to code.
FossilOrigin-Name: d7b7f038a2c5e81a58c1dd4b556096b58ce10c30eb74fd4b770445927fdb62f3
2017-09-12 00:24:45 +00:00
drh
68262d85ec
New test case for ticket [b899b6042f97f52d].
...
FossilOrigin-Name: 9d91ee5ee3f316a8804b02eb3c34b175b8f87b28c22df56f481af708c54e297c
2017-09-11 23:46:59 +00:00
drh
fa7b471c35
Add support for new operators in virtual tables: !=, IS, IS NOT, IS NULL, and NOTNULL.
...
FossilOrigin-Name: 3b7dbe9da90b7db336eed597a73a5364d8a691e57c1febd60908349f57a539ad
2017-09-11 20:54:54 +00:00
drh
303a69b5ad
Refactor names of constants and functions associated with the auxiliary
...
operators for xBestIndex.
FossilOrigin-Name: 0fb992af669e765760a94d2b6e2330b21a98f39f18445a94b0a2290560368d58
2017-09-11 19:47:37 +00:00
drh
33892c11a7
Minor adjustments to indentation and spacing for clarity. No changes to code.
...
FossilOrigin-Name: d3153abda6fd48015b007081734738b9cc4622e3564dc78a7a470a72dc2ca236
2017-09-11 18:37:44 +00:00
dan
09ccaf72d1
Add tests to check that affinities work with != operators on virtual table
...
column values. No changes to code.
FossilOrigin-Name: 8d24e0803d180448e637e33030a4ebf2c20eb1cab1074290c08f2eee0a23f66c
2017-09-11 08:53:54 +00:00
drh
9ecd7086c1
Simplifications to the PRAGMA integrity_check code generator.
...
FossilOrigin-Name: 99b9140c795c0c17c4e9d2547477c9dac056edfd443f2b2bd70edecd43c49ab7
2017-09-10 01:06:05 +00:00
drh
c2c6fd18dd
Simplification and performance improvement to sqlite3_reset().
...
FossilOrigin-Name: b6425d0170721d803a055a958f1823c9c4be925cd93ac47562ff723daf8ce2ed
2017-09-09 22:46:56 +00:00
drh
226cef4ef1
Improved detection of malformed records by PRAGMA integrity_check.
...
FossilOrigin-Name: 8fa923caa1535fc9ebed0214d211fc3d09a015d78afd01f288c215a7980d25f2
2017-09-09 20:38:49 +00:00
dan
d03024d814
Enhance the vtab interface to handle IS, !=, IS NOT, IS NULL and IS NOT NULL
...
constraints.
FossilOrigin-Name: 34c8e952616013deb6fffec701ac5989afac9bef1bf92458a2e4ba92c7ee924f
2017-09-09 19:41:12 +00:00
mistachkin
2158a0c7ac
Fix harmless compiler warnings seen with MSVC.
...
FossilOrigin-Name: faa22e29a5a05a16d46a428d838acedfa7d6fad6239495d59a6a1f4764e1b1b6
2017-09-09 00:51:36 +00:00
dan
7834551c1e
Have the header comment for sqlite3Checkpoint() mention TRUNCATE along with
...
the other three checkpoint types. No changes to code.
FossilOrigin-Name: e1e3ca7ea43a68b9b57dc38d8855f63b63a53feb8128b666a1becf87a2c70341
2017-09-08 17:48:00 +00:00
drh
05f1ba0ef8
Prevent a possible crash when trying to recover using a carefully corrupted \
...
and truncated rollback journal. (Test case in TH3)
FossilOrigin-Name: 02828d717e2d97b1f59e9279cea9c06eed4accd4e262606bd90d060449c5a1a3
2017-09-07 09:56:37 +00:00
dan
3841372350
Update "PRAGMA integrity_check" to detect inconsistencies between a single
...
record's header and body.
FossilOrigin-Name: 9e393a0edf1a578ddecc16a72fe3c54b75c2a650d507bcbc37c9724fbede1494
2017-09-05 20:16:19 +00:00
dan
1273f8dafe
Fix a comment describing the xRowid method of the "series" virtual table. No
...
code changes.
FossilOrigin-Name: 868cd1960015dc1bf003f911dcc417a94540d1948617ea1838a48b5cff59afda
2017-09-05 17:23:39 +00:00
dan
f21124f251
Add experimental API sqlite3rbu_temp_size_limit(). For limiting the amount of
...
temporary disk space RBU uses.
FossilOrigin-Name: 7fdd629830679db620d477df3c206bf84598cc935ccb51547c0d8444a186b63e
2017-09-05 16:24:38 +00:00
mistachkin
88a7973057
Use the SQLITE_CORRUPT_BKPT return code in a couple more places.
...
FossilOrigin-Name: 72d22c226bf4311345e8844fd9801ebddf77aceb80a038dce46608bf4ccae636
2017-09-04 19:31:54 +00:00
mistachkin
050dc5cff4
Add the 'mksourceid' executable to the clean target for MSVC.
...
FossilOrigin-Name: 77854694b2da989aa4dbbdbd3ccf61756c46cc368de9731f5fd1c3aa38d7cad5
2017-09-04 18:44:54 +00:00
drh
7e6f980bd4
Proposed fix for ticket [b899b6042f97f5]
...
FossilOrigin-Name: c7f9f47b239fdd99b555fb0a31eb82b22dbe6c821f1612d67a0d6a822288d9f7
2017-09-04 00:33:04 +00:00
drh
70739addc2
Fix recent test cases in test/indexepxr2.test so that they work even without
...
SQLITE_ENABLE_STAT4 and SQLITE_ENABLE_JSON1.
FossilOrigin-Name: 03f3cc03aaf233ad663d32a0200bfafee24a6c81f6a0ad14094ff014f880f00f
2017-09-04 00:19:29 +00:00
drh
3908fe90b1
Add the new sqlite3PagerUnrefPageOne() pager method to deal with the special
...
case of unreferencing page1.
FossilOrigin-Name: b2e2100cf766da1cb499aec0ca0a9969d7af5d93312ab8cf895fbf4a6ffb9b2f
2017-09-01 14:50:19 +00:00
drh
dfcdc663f2
Remove an obsolete optimization in pcache that due to more recent changes
...
was recently making the code a little slower.
FossilOrigin-Name: c4e7e175eecfd79015f4fae99618dfce6baf97c21bf3c909ea535d4e12dcaaad
2017-09-01 12:57:33 +00:00
drh
f0dae6d0a2
Small size and performance improvement in pcacheManageDirtyList() by not
...
zeroing the PgHdr.pDirtyNext and PgHdr.pDirtyPrev pointers for PgHdr objects
that are not on the dirty list.
FossilOrigin-Name: 919863b14859d958d6c078097faae02070c7bd082e2814cf3f84bd84921e4419
2017-09-01 12:18:41 +00:00
drh
38688b0b1d
Clarify the documentation about "protected" versus "unprotected" sqlite3_value
...
objects. No changes to code.
FossilOrigin-Name: 4094a3410e05597d0adc740d161e0358a3041c5a4e73bde35b1e983594c6879a
2017-08-31 21:11:52 +00:00
dan
9c1cf3235c
Remove unnecessary "__declspec(dllexport)" qualifiers from generated file
...
shell.c.
FossilOrigin-Name: bcc20be5b290c563183e82a590cc1fdabadfb13475fd8f6b3d810365cea5d868
2017-08-30 13:21:17 +00:00
drh
617b7b42e3
Small performance optimization in pcache1.
...
FossilOrigin-Name: ffd437da9541f8a2792e3e07c0a43f388f856fdc211fe42755eb51bfa5995d9f
2017-08-30 04:44:59 +00:00
drh
52fb8e1945
Faster memory allocation from lookaside by not trying to keep track of the
...
number of outstanding allocations, and rather computing that value only
when requested.
FossilOrigin-Name: a06263f1efd2d45eac88b8d59e8fe8e458670fa3808c795feaa7f247fc36cbe9
2017-08-29 20:21:12 +00:00
drh
83bebddbd9
Add the --enable-update-limit option to the ./configure script.
...
FossilOrigin-Name: 64a8ae68381b7fbb29b659901ca7ce8d50510e4753758d5761f7e41539288cef
2017-08-28 17:00:12 +00:00
drh
52df6f5e5c
Avoid unnecessary mutexes in the pcache1 implementation in the common case
...
where no auxiliary page cache memory is configured.
FossilOrigin-Name: 1ba051e34d7512ab5e8fc969c1b5aaaf827b8e6493ba4235895257aca78b500f
2017-08-28 16:11:05 +00:00
drh
b2a0f75c06
Remove the rarely-used scratch memory allocator. This makes the code smaller,
...
faster, and easier to maintain. In place of the scratch allocator, add the
SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite
that large memory allocations should be avoided.
FossilOrigin-Name: 54b000246cfb5c7b8adb61a17357ef5a49adddde9e48e8937834d5ba0beb8a6b
2017-08-28 15:51:35 +00:00
drh
b3c4523c58
Backport changes to shell.c into shell.c.in.
...
FossilOrigin-Name: 2348045fbc3fc99e2b46095cc86db99815cd1f9254d30a3b72c2b15c02076a84
2017-08-28 14:33:27 +00:00
drh
20554381d9
Fix the ".dump", ".schema", and ".fullschema" commands of the command-line
...
shell so that they work even if PRAGMA empty_result_callbacks is enabled.
Fix for ticket [02f0f4c54f281].
FossilOrigin-Name: cf0d3715caac9149e65bb4802fd179d0952cfaf9add17ac243c6ca87cbd6e6b7
2017-08-28 11:12:57 +00:00
drh
f49759bf03
Fix a few over-length source code lines. No functional changes.
...
FossilOrigin-Name: 1783c54ce9dcb4b2c4f2a66f6d3315e646b71b54a8899fc32a7bf0f935a21f7f
2017-08-25 19:51:51 +00:00
drh
36494b8bc6
Size and performance optimization for sqlite3Init().
...
FossilOrigin-Name: 776d91284a891bec64d6f649ff17de898b6ac6f66dd3d2afccc394a012a40c7d
2017-08-25 15:43:34 +00:00
drh
83e8ca54d1
Small performance optimization in sqlite3WhereBegin().
...
FossilOrigin-Name: 39f708d1e286931365a8992dbe7f900108ff1dad146032a284ad1dec09b11e06
2017-08-25 13:34:18 +00:00
drh
6034846eb6
Convert a branch made unreachable by [59560d07] into an assert().
...
FossilOrigin-Name: 2738b8db3caa6ce48d27cb5749d27b79241e6f6682b694886f6ef663e5443583
2017-08-25 13:02:48 +00:00
drh
95b46c85e2
Improve the internal mechanism used to keep track of what kind of syncing
...
to do for WAL transaction commits and checkpoint operations.
Use the checkpoint-style of syncing to sync the header of a new
or restarted WAL file.
FossilOrigin-Name: e8d23afe8478e42779ec1dd602ca2d77d4f3c26c4d54f52112c5aaa928536538
2017-08-25 11:44:51 +00:00
dan
1c305122a2
Avoid returning duplicate rows in experimental pragmas "pragma_list",
...
"module_list" and "function_list".
FossilOrigin-Name: b79cc8dc88c8ae03daff1290fd650b2b0e6f673ec9d83be6a533a57172930190
2017-08-25 09:17:14 +00:00
drh
daaae7b9d1
Update the mechanism used to keep track of what kind of syncing to do for
...
WAL transaction commits and checkpoint operations. Use the checkpoint-style
of syncing to sync the header of a new or restarted WAL file.
FossilOrigin-Name: bf65dae8d4297c57ac63228ccf0100f9fabf2fb600438c9f2e10a29c4b118168
2017-08-25 01:14:43 +00:00
drh
9c6e07d2fa
Fix an incorrect hyperlink in a comment.
...
FossilOrigin-Name: 25292b9a4eb5efc7db551da0b3c9cfd7e79da1594ee14729de44090e188c2b2a
2017-08-24 20:54:42 +00:00
drh
09e16491f6
Fixes to documentation about SQLITE_OPEN_URI.
...
FossilOrigin-Name: 7ec72314d6b66e4969833194fd032f01963bb861a7bb30d060acdb82dc5d62fe
2017-08-24 15:43:26 +00:00
drh
526740b1b9
Make sure the sqlite3_result_pointer() interface does not leave a VM register
...
in an inconsistent state. Fix for ticket [7486aa54b968e9b5]. Test cases
are in TH3.
FossilOrigin-Name: d2f9230c5c7ad6166e7d2b649f77960fa58b1cb583e529a43882753ab348413c
2017-08-24 13:55:46 +00:00
drh
87d63c900d
Performance optimization to pageFindSlot() in the b-tree layer.
...
FossilOrigin-Name: 59560d079fab4b91ec50855cc60349da178209c38fb6dae674ff874ccfc7f5fa
2017-08-23 23:09:03 +00:00
drh
5e398e4cbd
Size and performance optimization to dropCell() and freeSpace().
...
FossilOrigin-Name: bc1ec123ce05c9d16b0942f870381145dc9725764e47806939ff207a73066f4d
2017-08-23 20:36:06 +00:00
drh
5e27e1dc49
Smaller and faster implementation of the fillInCell() routine.
...
FossilOrigin-Name: 77074990edef6c42bdfe7ccce1affc8ed64a86dde3ad4fa50b60ba0a6d851eea
2017-08-23 14:45:59 +00:00
drh
489a224bea
Update documentation to make it clear that SQLITE_SOURCE_ID and
...
sqlite3_sourceid() might changes if the source code is edited.
FossilOrigin-Name: e69c0c8770d3cc2fcdc779c6290caf1575644d457326caa00327b9070251d620
2017-08-22 21:23:02 +00:00
drh
0a02c72e79
Less dramatic changes to the source-id following an edit. Modify the way
...
that the amalgamation is constructed to give it the opportunity to detect
changes and modify the source-id.
FossilOrigin-Name: 564c7340a3368501c3da885afde52123ed7f558801f6190cbe6173dfe9704b70
2017-08-22 21:07:03 +00:00
drh
48b9a6dd6b
Modify the SQLITE_SOURCE_ID if the source code has changed in any way since
...
the previous check-in.
FossilOrigin-Name: 515d6a8377cc1dc76d2e78e242fe256cbeef1c1217ec35367648ddeeb17007ec
2017-08-22 19:54:34 +00:00
drh
c9aed7f891
Trying again to get out-of-tree builds to work correctly.
...
FossilOrigin-Name: a1b3337e949fc431e19a3d977d07a312bb253ab7fec6811c0221abd514985d55
2017-08-22 19:49:34 +00:00
drh
a172254742
Attempting to fix the source-id generator so that it works for out-of-tree
...
builds.
FossilOrigin-Name: 5a037ac2da7449be3e26c36910ac5d865d7e74d3c25af0a10578c1f92fe2afea
2017-08-22 19:43:41 +00:00
drh
f39e0ed4de
Add the "mksourceid" program to the build process. That program changes
...
the SQLITE_SOURCE_ID if the source tree has been modified in any way.
FossilOrigin-Name: d4c05e04f7e1325a3260808ee17252876f678e78bf0cf6569a18a52ff674bd7a
2017-08-22 19:19:00 +00:00
drh
2e2338101a
Fix error tests in seldom-used compile-time branches of the unix backend.
...
FossilOrigin-Name: 885c2b44a44f8d054014e4079b2cac8279c11d13206d5b5215189ef75b9c5254
2017-08-22 15:21:54 +00:00
drh
b40f06c62d
Remove an unnecessary conditional.
...
FossilOrigin-Name: 56d19f9fd7b01d4ed5c3e7309977b43fedffee168c9760d3e3b7e885790f781e
2017-08-21 02:20:57 +00:00
drh
b32c18bf42
Minor optimization to sqlite3VdbeMemSetStr().
...
FossilOrigin-Name: 6538ef7b6b56c7a6629a0bb7418910c64c8b2e73af2296a116c073ecf2e0d429
2017-08-21 02:05:22 +00:00
drh
c84ddf14c5
Space and size optimization to the printf implementation.
...
FossilOrigin-Name: d01d2cffefd1cdb52b386e4983599534c0fbbe6aebda186db53200e4b2283f0a
2017-08-19 20:38:18 +00:00
drh
251866d07c
Another size and performance optimization to readDbPage(). This time we
...
eliminate some unnecessary local variables.
FossilOrigin-Name: 745bc8decd18d4dc00589474fd3928a3a9f4156d09e05e6f5b8623de6491795a
2017-08-18 22:30:20 +00:00
drh
56520ab848
Size and performance optimization the readDbPage() routine in the pager.
...
FossilOrigin-Name: ca9e1875c3a893321d70a131fc4ffc76d169ad05e0b48b7006f53b6b467db4be
2017-08-18 21:14:50 +00:00
drh
c68886bb9e
For the unix VFS, avoid an unnecessary stat() system call prior to opening
...
any file in the common case where there are no unused file descriptors.
FossilOrigin-Name: 3075cfa07489eaf13cb9a2760e2391e79dd73181fe1730fae7bdcd6ad66d2a1f
2017-08-18 16:09:52 +00:00
drh
0f3f7664f0
Combine the OP_CreateTable and OP_CreateIndex opcodes of the bytecode engine
...
into a single OP_CreateBtree opcode. This simplifies the implementation and
makes the bytecode programs clearer.
FossilOrigin-Name: eb1202b5e43f1f029ad2bdf845509e7f31361e4dc189943e5e2bd4462e2ef3f3
2017-08-18 14:34:28 +00:00
dan
62f6f51ae1
Only use indexes on expressions to optimize ORDER BY and GROUP BY if the
...
collation sequence matches. Possible fix for [e20dd54a].
FossilOrigin-Name: 37e1900880b70be6802eaf43b0e568fda709a1dd6083d8be11e5a7a7d1fda41a
2017-08-18 08:29:37 +00:00
drh
ceb4b1dbdd
Use the __builtin_clzll() function of gcc to improve the performance and
...
reduce the size of the sqlite3LogEst() routine.
FossilOrigin-Name: a42a438cbbd721765ca55e71c464552dbaa494050cf472593599b8c7f0249516
2017-08-17 20:53:07 +00:00
drh
dceed86d07
Small optimization in the Expr tree walker.
...
FossilOrigin-Name: 264a5e1b75ee073bd019483e289c3d8d79abcf5a765435be23ac3c21b1db8246
2017-08-17 19:23:16 +00:00
drh
6f7fbcf0bb
Size optimization in the authorizer error message generation logic.
...
FossilOrigin-Name: 0367a4d58682a64d7ed4c5a4b4377899e22432851587c649d419efb6d7bac250
2017-08-17 18:54:27 +00:00
drh
efaffb64fd
In sqlite3ViewGetColumnNames(), return the number of errors, not an error code.
...
FossilOrigin-Name: f13682ea2350ba366026a4a58e59591af378c496b92da60803c4c642c3bfc8de
2017-08-17 18:23:46 +00:00
drh
6362bbe68d
The RTREE extension should return SQLITE_CORRUPT_VTAB, not just SQLITE_CORRUPT
...
when it encounters incorrectly formatted shadow tables.
FossilOrigin-Name: 0712f057ef3dcd907984dda30f6d961a29b61c1d2b25627028c4e227ec85dbba
2017-08-17 18:17:24 +00:00
drh
967f8f9e07
Remove an unnecessary branch from the [be436a7f4587ce517ddc] fix.
...
FossilOrigin-Name: fb6ca99b88c67414eab425e2b4ddb6a5e2fd48a6b2cd96a34627c86a5b568c9b
2017-08-17 14:47:56 +00:00
dan
865c3c58ab
Add test cases for ticket [be436a7f4587ce517] using virtual table modules fts5
...
and rtree.
FossilOrigin-Name: 2101b4208787d297788e05f2bd82d4a9aff26e2237a7016ac857a52fb5252ce0
2017-08-17 14:12:16 +00:00
drh
dc6b41ed47
Defer schema resets when the query planner is running.
...
Proposed fix for ticket [be436a7f4587ce517].
FossilOrigin-Name: a7bc7752ba0266684f5317e424a4ee9add4af002272082183519e708ab9ffc79
2017-08-17 02:26:35 +00:00
drh
fe0cf7a18c
Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce
...
the size and improve the performance of OP_Column.
FossilOrigin-Name: f078deb25149b7b1881b7f3374b343d0677e82336d8fdd7f1cdd06d926b5dd57
2017-08-16 19:20:20 +00:00
drh
1f613c4df3
Remove an unnecessary local variable from OP_Column, for a small size
...
reduction and performance increase.
FossilOrigin-Name: 39543903282409ad3f139f8a0bb376661e7595a33af4f647945b1513a028ccb4
2017-08-16 14:16:19 +00:00
drh
95b225a46d
Performance improvement in the OP_Column opcode.
...
FossilOrigin-Name: dc98a92f32511ee322b0207bd286e967248a8e59b418f11168eb31e34b0fa0fa
2017-08-16 11:04:22 +00:00
drh
6cd8c8c57a
Small size and performance in the OP_Column opcode.
...
FossilOrigin-Name: 2cf3f3de8a48465bd6b0af7763bfe905f3bb0151488f63c9ecc3147bcb345094
2017-08-15 14:14:36 +00:00
drh
352a35abf5
Btree optimization: New field BtCursor.pPage that points to the current page,
...
saving a single pointer dereference on each access.
FossilOrigin-Name: 373b71d19cad785922d5a80828f2fee0cbe7dff6594743e625bbdfa31b1ca131
2017-08-15 03:46:47 +00:00
drh
f38dd3b68f
Minor size and performance optimization to sqlite3BtreeCloseCursor().
...
FossilOrigin-Name: 16969338841734d00ab906a94b82480c7e1e426eb0ddf7b9e6aed722aee5d91f
2017-08-14 23:53:02 +00:00
drh
44548e7218
Change the internal btree routine moveToRoot() to return SQLITE_EMPTY if
...
the table is empty or if it has pgnoRoot==0. This simplifies the callers,
making them smaller and faster. The SQLITE_EMPTY result code is intercepted
and changed into SQLITE_OK before surfacing in an API.
FossilOrigin-Name: 240d57143d943eaddd5f7c2d473f47a1d29417e61d28142f70f3d960bb9b30df
2017-08-14 18:13:52 +00:00
drh
f0357d8b2c
Fix harmless indentation error.
...
FossilOrigin-Name: 25e92baaaeb9e8a2650b3083d3febf3661ecf1e05d9d24b26fe9f87a03bdd8fa
2017-08-14 17:03:58 +00:00
drh
4dd89d5a24
Sometimes a TK_COLUMN Expr node can have Expr.pTab==0 if it is a reference
...
to an expression column in an index on and expression. Fix for ticket
[aa98619ad08ddcab].
FossilOrigin-Name: d0da791ba0edfb65186459345e43500d8364a086a5a1651d828fecc1a1dd1edb
2017-08-14 14:53:24 +00:00
drh
1112cc797b
Properly dequote column names in tables constructed by an aggregate SELECT.
...
FossilOrigin-Name: 7e0d3e9cb071873564b7916c022aba5cd9f3b8ebab9dba787ecd7113c5b7816a
2017-08-14 01:33:07 +00:00
dan
3c77a1e9f1
Add new test file fts5vocab2.test.
...
FossilOrigin-Name: 02174842c353bfaa747019cb3dcdee5bca6551d0a06d83fc1ac6d4569e16bc34
2017-08-12 18:31:31 +00:00
drh
dccf4f2b15
Update the speed-check.sh test script to append log output to the end of the
...
cout-NAME.txt file.
FossilOrigin-Name: 14d262d6aa4e281dfe0490988f0c1965c4babf98038a1a96b9bb5772a61521a3
2017-08-12 02:16:34 +00:00
drh
3f18e6d7a9
Remove the zBase field from the StrAccum object. Resulting code is slightly
...
smaller and faster.
FossilOrigin-Name: 6e52fa5fd79988a433bae0152ceae036edab4bb18d2b48ed04c1f53f141728b0
2017-08-12 02:01:55 +00:00
drh
8abc80b294
Size and performance micro-optimization on sqlite3SrcListIndexedBy().
...
FossilOrigin-Name: 28a5aec118f9d078c9e7225f85cd48a91920b13908c540771e309557c3f15f84
2017-08-12 01:09:06 +00:00
drh
b7f4b6ccca
Fix compiler warnings that arise if the PAGERTRACE macro is turned on.
...
This changes does not affect production builds.
FossilOrigin-Name: 831156a4bd7c4408085f7c5584cdeebd1953c539972f80c5ef29bc147008630e
2017-08-11 18:59:00 +00:00
drh
140efc90ea
Improved comments in the header of the LSM1 vtab module. No code changes.
...
FossilOrigin-Name: aa49926dbffaae4f7c486be72ad814f381cca65c549f9d2605f47540a5f4be84
2017-08-11 18:55:04 +00:00
drh
cb96d2a79c
New test cases for LSM1.
...
FossilOrigin-Name: cb0c49cbd1eede157c5bd60d1e28e02c642aefe1ff82553eac1117a4c73dd9db
2017-08-11 13:51:41 +00:00
drh
037a2bacb0
Convert the LSM1 virtual table to be WITHOUT ROWID and get UPDATE and DELETE
...
operations working on it.
FossilOrigin-Name: 2164031b509dc6eae367ffb9d915f3e1d33d26210506b2de8b2bfca38c53465f
2017-08-11 12:49:59 +00:00
drh
f41a8d3d9a
Simplification to the like optimization logic. Remove unnecessary branches.
...
FossilOrigin-Name: 9466d952e169a6a60f6e575e679a61f05887b51c693505764edaf10f62cd829f
2017-08-11 03:47:21 +00:00
drh
21f6b626f5
Allow WITHOUT ROWID virtual tables to be writable as long as they have
...
exactly one column as their PRIMARY KEY.
FossilOrigin-Name: c601d128ff1f1dd6d221ee9f55595a95b58ba07d043e1d530743ea913731560e
2017-08-10 20:43:07 +00:00
dan
7c3ca3611c
Add the "instance" type to the fts5vocab virtual table module. For direct
...
access to the contents of the fts5 term index.
FossilOrigin-Name: 34a7bd7121a478e14982d59be95ad891fab8050ad5e006638f826c57c392b93e
2017-08-10 20:36:56 +00:00
dan
5b156b2bb4
Fix a typo in csv01.test introduced by the previous commit.
...
FossilOrigin-Name: f38ff718278c8ff477d1c6379ced32167063de15f0666c8eac2e4dd30cbd975c
2017-08-10 19:12:04 +00:00
dan
09fc79bd6f
Add extra tests to this branch.
...
FossilOrigin-Name: b0e3b88a792623f7761586d8bfac058ddf939f49944ff0c4376627ff920895db
2017-08-10 19:10:23 +00:00
drh
4dd176eaab
Test case for writing to a WITHOUT ROWID virtual table. The TCLVAR virtual
...
table is modified to add a "fullname" column which is the primary key, and
to accept update operations against the primary key.
FossilOrigin-Name: 6997e00c3221f266f4d9187501d8a9e5bafb85551e88a744cdc8ffe3b75ec2a4
2017-08-10 17:53:11 +00:00
drh
e3740f272b
Experimental changes that allow a WITHOUT ROWID virtual table to be writable
...
as long as it has only a single-column PRIMARY KEY.
FossilOrigin-Name: ab9ee4c1e64c09c7130e385a23d043d78bad95dff5509c7adc9b992350a4a537
2017-08-10 15:19:39 +00:00
drh
6fa9375c01
Add a first draft of the "vtablog" extensions that implements a generic
...
virtual table useful for experimentation using the command-line shell.
FossilOrigin-Name: e49279e65169a939b6058a0960dc1fe09ce4ee2d78992a1969773cbc7ce1043b
2017-08-10 03:27:27 +00:00
drh
7524b613c5
Preserve the error code from xConnect or xCreate methods in virtual table
...
implementations when they are encountered during parsing.
FossilOrigin-Name: dcdf091388251292ff9939bdff920708320bc64dacfe0fa1878c5ffd11b679c9
2017-08-09 22:55:09 +00:00
drh
73e00cf056
Various bug fixes for the new LSM1 virtual table design.
...
FossilOrigin-Name: 94434a252f0f2b57f325fd8fb82534f20cc1340ff13076cd88deeb47740ef6a2
2017-08-09 19:27:24 +00:00
drh
2e27d28fec
Work toward redesigning the interface to the LSM1 virtual table.
...
FossilOrigin-Name: 313df946668b943b0a9a9a91fd7bafa7212d05765c7714fa6c0de46aa9062a74
2017-08-09 18:40:35 +00:00
drh
ca03bdaf6e
The identifier "vsnprintf" appears to be a reserved word in recent versions
...
of XCode, so avoid using it as a structure field.
FossilOrigin-Name: 795eede331b832a53e886318466dedc12504f7181c1d7295af7935864a04b72c
2017-08-08 21:40:23 +00:00
drh
b8313cc998
Fix a faulty signed/unsigned character comparison in the LIKE optimization
...
logic.
FossilOrigin-Name: f4a4b1497355c1b27d3d0770550fffcc3b2d2d51ab284101f19e8fc4264ee675
2017-08-08 21:30:43 +00:00
drh
4f57352937
Enhance the CSV virtual table extension so that it accepts the last row of
...
the CSV file even if the last row omits the closing \n, as long as the last
row has a full set of columns.
FossilOrigin-Name: 537e3be2e9503183799afffcd91defc751fea2c779e9b77b77f9485f7de5d170
2017-08-08 20:03:10 +00:00
dan
b46dfdb81c
Avoid casting a value larger than 2^31 to a (size_t) or (SIZE_T) on systems
...
where it is a 32-bit type.
FossilOrigin-Name: b26d7a1c7b5d59a2ceabc3716ccea32e26de729eb164a9c0e47f2d8f6ad3df37
2017-08-07 19:12:49 +00:00
mistachkin
e35395a45a
On Windows, avoid casting a value larger than 2^31 to a (SIZE_T) on systems where it is a 32-bit type.
...
FossilOrigin-Name: f08d63b413601b22726e8b96ff8eb779857321b9df30db0333f71e50ffb5077d
2017-08-07 19:06:54 +00:00
dan
089df50687
Fix a problem with handling SQLITE_FCNTL_MMAP_SIZE requests with a negative
...
parameter in os_unix.c.
FossilOrigin-Name: 4249fcf7b0c0233f9b3ba5139702738d5221c5309240e6e91dc139eff59471fe
2017-08-07 18:54:10 +00:00
dan
010a016ac9
Update bigmmap.test to account for builds that use
...
"-DSQLITE_MAX_MMAP_SIZE=<integer-constant>LL".
FossilOrigin-Name: 7c8b6f1cace42ee1182c252c8e66e5679f523f4248c27d38c075ae21e7c25374
2017-08-07 18:27:19 +00:00
dan
43c1e622cd
Avoid casting a value larger than 2^31 to a (size_t) on systems where it
...
is a 32-bit type.
FossilOrigin-Name: 46c3085dcad6372ac20eff499e17fe11680fdf4adb9186bf8b12221a5047e485
2017-08-07 18:13:28 +00:00
mistachkin
54640de156
Fix an out-of-order test number.
...
FossilOrigin-Name: 38f30091f9b1e2c393396da7257f3487fa374e1ee6d610577291909768ff9626
2017-08-07 17:28:18 +00:00
dan
969012e534
Add new test file "bigmmap.test". For testing builds with
...
-DSQLITE_MAX_MMAP_SIZE > 2GB.
FossilOrigin-Name: 17447062799239ee978bedbf7fcc67f4c7d2cad2e82dcf9349a966fc8f67d390
2017-08-07 17:14:30 +00:00
dan
226744d11b
Fix a segfault in swarmvtab that could occur if there was an error in the SQL
...
statement passed to the constructor. Add other test cases.
FossilOrigin-Name: 6ce8b7ca62fcf97875395fc1a989179309e0abb48d4465658ef0d871434ea057
2017-08-05 16:15:33 +00:00
drh
eabb67fb61
Microoptimization in pcache1.c makes the code slightly smaller and faster.
...
FossilOrigin-Name: 422cd9f39403feeacd70133c7a147e23572c75d617ac564344f016ae6611162c
2017-08-05 15:49:03 +00:00
dan
7d90417733
Fix memory leak in swarmvtab.
...
FossilOrigin-Name: 002a9c7baccf3417c56ec7d16755ea32fdd70a654ffc75f2fc4624fd2b688aed
2017-08-05 15:30:46 +00:00
drh
1451778a88
Add the swarm virtual table to the existing union virtual table module.
...
FossilOrigin-Name: 0f6f6f03deaba2f4bdd168980647136e8ddff4907863b62b3056b8e4665599df
2017-08-04 20:27:13 +00:00
drh
a5aed4b10b
Add the optional non-found-callback to the swarm-vtab.
...
FossilOrigin-Name: a94e2f600bc766fb459418e674b842628ba21e27cf9942c00cd533507d7b35fe
2017-08-04 20:15:08 +00:00
dan
d83e082524
Add further test cases for swarmvtab. And minor code changes.
...
FossilOrigin-Name: 0f82d3b9dd5bd2e34a984c78e4a4a87921cf3e15b01b611133378c0ea9901010
2017-08-04 17:39:13 +00:00
dan
0ff2217035
Add test cases and associated fixes for swarmvtab.
...
FossilOrigin-Name: 7ae20eac83fc053dc1bbc42501dd41f77445a6b9a33cfa42b899fc7a18c637ab
2017-08-04 16:16:32 +00:00
dan
f12228fa23
Add SQLITE_API qualifiers to public API functions in header file sqlite3rbu.h.
...
FossilOrigin-Name: e11e6eb1d98518ba3f0361efa1c274084c5d6325b52e8470b6873e14e00c4eff
2017-08-04 08:24:52 +00:00
dan
f5f0e43a6d
Update script tool/mksqlite3c.tcl to avoid duplicating the SQLITE_API
...
qualifier when copying sqlite3rbu.h into the amalgamation.
FossilOrigin-Name: 61ab112f326a51d2d524a6371d8c93851ca2c6917414a802ac72d7cf5a2413fb
2017-08-04 08:23:33 +00:00
dan
a64d1fbc23
Modify swarmvtab to use a separate database connection for each database file.
...
FossilOrigin-Name: 1f05ad29c3a540408470da7f8111f1319f961539c1a96b1a81abf1423af90f15
2017-08-03 20:13:00 +00:00
dan
f48d4ef8bc
Add SQLITE_API qualifiers to public API functions in header file sqlite3rbu.h.
...
FossilOrigin-Name: d8637badf63b90b650e9d6dc970c7e1ce46669ce8272f46f01fac9bd97c1b0fc
2017-08-03 15:50:10 +00:00
dan
0c2e5cfda5
Fix some problems in RBU test cases. Also update RBU source code to better
...
handle the trivial case where an RBU update is applied to a database zero
pages in size.
FossilOrigin-Name: 7676b39bc120ae23da0c6a14452eb99a58901ee45c3d43b8beae426f9e4dc0c3
2017-08-03 15:43:55 +00:00
drh
5859636fb1
Optimization to the comparison opcodes in the byte-code engine.
...
FossilOrigin-Name: 654935c7737f1a9e08fde9b220c543e86ff6e05910e2f08973a2f93ab2b3e028
2017-08-03 00:29:23 +00:00
drh
a485ad191f
In the KeyInfo object, refactor the nField and nXField elements into
...
nKeyField and nAllField, which are more useful and run a little faster.
FossilOrigin-Name: aea5990eab5e85f92df966aa641db2271c81052010ad2d80982475c4275a1284
2017-08-02 22:43:14 +00:00
dan
63331b1af3
Enhance the code in unionvtab.c to also provide the "swarmvtab" virtual table
...
module. There are still several problems on this branch.
FossilOrigin-Name: 03d94388d62fd0f1fae377d273bbd5561208adc34bd97f7ce27783b30a369fd7
2017-08-02 19:59:56 +00:00
drh
754ee285fa
Avoid redundant calls to sqlite3ApiExit() in sqlite3_step().
...
FossilOrigin-Name: 527974d4caba8bce7c89a28ea04a573b14c558657c14d9ad3c64bf1e0884caf8
2017-08-02 19:04:37 +00:00
drh
59533aa5e0
Only attempt to invoke WAL callbacks when a transaction has committed.
...
FossilOrigin-Name: bcc6dacb9114df709ef1bde24264c2193d9e39fc7fab024d5ebfc6056033274c
2017-08-02 18:28:26 +00:00
drh
60172a5a93
Minor optimization on clearCell()
...
FossilOrigin-Name: f3c39c2986be08683c2af4df610bc12e3c6bc6bec265c94ce01b94a950723524
2017-08-02 18:27:50 +00:00
drh
85ef630fde
Optimizations associated with error handling in btree cursors.
...
FossilOrigin-Name: 49ba54e26731ed371745d4bdd9dd1dfeb73357b6d206c85a4252ec866be971d0
2017-08-02 15:50:09 +00:00
drh
57498ae9cf
Remove unused token codes.
...
FossilOrigin-Name: c45078c062f41f43c71965b2e5a97932ff79123eeb017ba853314987bebc2bca
2017-08-02 12:38:10 +00:00
drh
13aa88d956
Rearrange some of the added token codes for a very slight size decrease and
...
performance increase.
FossilOrigin-Name: cb3742f51f4b3aa0fd8dc373af771e93ddb4100787115705955f2008aef92745
2017-08-02 11:36:16 +00:00
drh
6a8700b97b
Rearrange integer token values in the parser and logic in the
...
resolveP2Values() routine for a small size reduction and performance increase.
FossilOrigin-Name: 1cad2926ad88b83becab1326bd189d7bac8ba6d470b36ba5d29af5c9fb016014
2017-08-02 11:04:00 +00:00
drh
a02860511d
Show which opcodes are jumps in the comments when generating
...
the opcodes.h header file.
FossilOrigin-Name: eef643a369250f1acac4c01a9b3d29068a510e5bf7fa843d565df5e2523e4dd9
2017-08-02 03:21:52 +00:00
drh
59c435a015
Add the "%token" control to the lemon parser. Not currently used by SQLite.
...
FossilOrigin-Name: a6e4c5ae8f29bc2e7f2088426341254e9281d19db9dc9a14abc376d56dad4c4b
2017-08-02 03:21:11 +00:00
drh
0019881e08
Faster implementation of resolveP2Values().
...
FossilOrigin-Name: 82e46fe0d497f871e652a579f25e77de7ef05d56484418961a1296f65f19415e
2017-08-02 02:46:43 +00:00
drh
6903bf6d49
Slightly smaller and faster by allocating Parser objects on the stack.
...
FossilOrigin-Name: 436a89b91901851ce21bf0cb997291b48888c52788b904822083d8dfac32b84b
2017-08-01 20:59:41 +00:00
drh
86b40dfd33
Split the OP_Last opcode into OP_Last and OP_SeekEnd. Use OP_SeekEnd to
...
position a cursor prior to appending. Ticket [cb91bf4290c211d].
FossilOrigin-Name: 3e02474c7bbe16891a7cfc8771cf72f64cd2c0692779037982d7d307512a4f23
2017-08-01 19:53:43 +00:00
drh
b7673ede37
Take advantage of atomic-write capabilities in the F2FS filesystem when the
...
database is stored on such a filesystem. This is a compile-time option
activated using SQLITE_ENABLE_BATCH_ATOMIC_WRITE.
FossilOrigin-Name: 24190b221f73472dafaead6de101b4debc2c91c1ca28d70b45a38df5bb61fb39
2017-08-01 14:16:15 +00:00
drh
e9e1074d27
Allow ATTACH and DETACH inside of a transaction.
...
FossilOrigin-Name: 95e8f31658254dd2df3eeaae337aff0fe2125d170ae966c74f4fc70400e099b1
2017-08-01 00:20:34 +00:00
mistachkin
334d163e41
Recognize 'AMD64' as 'x64' in the TclKit batch tool for MSVC.
...
FossilOrigin-Name: 0c77935cf9949099d834ec51384c1d4dcdaf7b4422c859c9fce6d3cb3bde2645
2017-07-31 19:39:34 +00:00
mistachkin
5b54259873
Sync up the MSVC autoconf makefile.
...
FossilOrigin-Name: b3b89f4ff92ee4b76f467d4e70fb42267470aef77af645f1ce71f9b1a675aabb
2017-07-31 19:26:06 +00:00
drh
ab2eca0965
Fix a windows-compatibility issue in the recently added schema6.test script.
...
FossilOrigin-Name: 14e6c302ec3bc0e012b3c01aabee2d32e81389e1a4d834d1c57dd60bfbc97f29
2017-07-31 17:51:49 +00:00
drh
93bbfbe539
Prevent OSSFuzz from using debugging pragmas that are disabled in default builds
...
and which generate lots of excess output.
FossilOrigin-Name: cdc6494c050d821908087e6fd9b1e44ba92d81f363494a80b54647f19e5675f7
2017-07-31 17:06:34 +00:00
drh
c644980c4d
Move the generation of output column names earlier, to right after
...
name resolution and before query transformations such as flattening.
This prevents the names from getting mangled by query transformations,
and obviates hacks in the query flattener that attempt to work around
the name mangling. The resulting code is smaller and faster and gives
more consistent output. Fix to ticket [de3403bf5ae5f72ed].
FossilOrigin-Name: ade7ddf1998190b2b630715774963150d86bed3211b7fd600cbf3068427e1531
2017-07-31 16:42:46 +00:00
drh
ea2844f153
Add the schema6.test module for demonstrating schemas that generate identical
...
and different content.
FossilOrigin-Name: ac1da06a829051d393ccb8bb986e78f5bd35b060687688f6b3661913b13c9a5a
2017-07-30 19:50:42 +00:00
drh
df94966c8b
Correctly handle an "INTEGER PRIMARY KEY UNIQUE" column in a WITHOUT ROWID
...
table. This is a fix for ticket [bc115541132dad136], a problem discovered
by OSSFuzz.
FossilOrigin-Name: 5216bfb73f1a49bdd879d470de139bf46a212474eaf6f38ad2390536d66a2afd
2017-07-30 18:40:52 +00:00
drh
ce00d05a7b
New test cases for column name generation interacting with the query flattener.
...
FossilOrigin-Name: 0c38dde4543d6183a6ab0b7b3b75819f56c47704756a2426d54d3f20468d78d8
2017-07-29 17:02:22 +00:00
drh
f35f2f92ed
Move the generation of output column names earlier, to right after name
...
resolution and before query transformations such as flattening. This prevents
the names from getting mangled by query transformations, and obviates hacks
in the query flattener that attempt to work around the name mangling.
The resulting code is smaller and faster and gives more consistent output.
This is an alternative fix to ticket [de3403bf5ae5f72ed].
FossilOrigin-Name: 09834279aeca3bda63de684a369ed64f2cbf587b5f5df1454c0a3c009a1337ad
2017-07-29 16:01:55 +00:00
mistachkin
7751deb3e2
Update Tcl version used by the TclKit batch tool for MSVC.
...
FossilOrigin-Name: bcec155e0d6c6b17ae09d5a366c080723d01ff40dbc1a0ad0bb669a91db1b850
2017-07-28 22:22:15 +00:00
mistachkin
f6285fab68
Fix harmless compiler warning.
...
FossilOrigin-Name: 3286e1a07b0693049a07f0865bf93749c461ea8f6d1175ec2d1642886673d8ac
2017-07-28 22:13:26 +00:00
drh
2fc2f92ed6
Disable the writecrash.test module on Windows.
...
FossilOrigin-Name: 4c0520d4df7473eb4cc764774df7d99bb96cf067ac224755e09f0df47fb2a810
2017-07-28 20:49:02 +00:00
drh
9e61104c68
More precise determination of when an in-memory journal needs to be
...
spilled to disk.
FossilOrigin-Name: 6a505bdd9347783d3d8105cb8185aa787801bad0c855b623cfd780fb406f0e7b
2017-07-28 18:16:14 +00:00
drh
344f763f72
Add new extended error codes for the atomic write file-controls.
...
FossilOrigin-Name: 94a2004756ffe027b3495be91366750135c294a9c460edc9a1b4b9422dcc33bd
2017-07-28 13:18:35 +00:00