drh
055f298ad4
Work toward making the schema parsing logic simplier and more compact.
...
FossilOrigin-Name: c52ca2c0662bb30ab34574f933429512655b19ff
2016-01-15 15:06:41 +00:00
drh
2d80151f32
Combine the xFunc and xStep pointers of the FuncDef object into a single
...
pointer xSFunc.
FossilOrigin-Name: 0d1b3d7d3ca66cb0b97493f1aeade1703af3c9f4
2016-01-14 22:19:58 +00:00
drh
3349620e9e
Simplification to the ISO8610 parser in the imnplementation of date/time
...
functions.
FossilOrigin-Name: b9159f42a517a95ae52464c96431708c00b7bb36
2016-01-14 19:32:46 +00:00
drh
cb75bff3f7
Merge the latest fixes and enhancements from trunk.
...
FossilOrigin-Name: 007e5c6df60f9743ac6914332f59925e4a7a861c
2016-01-14 14:48:17 +00:00
drh
b4acd6a8d6
Fix the build so that it works for SQLITE_OMIT_WAL again.
...
FossilOrigin-Name: d55a557bc70460c46a67ae5acd9f8a8356a580c2
2016-01-14 01:56:43 +00:00
drh
31a2313fa8
Add the SQLITE_FCNTL_JOURNAL_POINTER file control.
...
FossilOrigin-Name: ad3daa5427672d2d236939ad3285b765f4601801
2016-01-13 18:12:44 +00:00
drh
504ef44022
Add documentation for the SQLITE_FCNTL_JOURNAL_POINTER file-control.
...
FossilOrigin-Name: 807c5aee2e5e5c01eb33688a199755c345c3664e
2016-01-13 18:06:08 +00:00
drh
a04a8be2c2
When the [ https://www.sqlite.org/queryplanner.html#partialsort |block sorting optimization]
...
is used in a scalar subquery, be sure to exit the loop as soon as the first
valid output row is received. Fix for ticket [cb3aa0641d9a4].
FossilOrigin-Name: cdbb0947f9ce18d6d7e29ffab5ea6a2ee5365fbb
2016-01-13 17:50:10 +00:00
drh
b19e7352c1
Add the ".vfslist" command to the command-line shell.
...
FossilOrigin-Name: 5727562b75edf25102cd72607c420d245379c96d
2016-01-12 19:37:20 +00:00
drh
d1dd7507e4
Fix a harmless use of an uninitialized variable following system errors
...
in the multi-threaded sorter.
FossilOrigin-Name: 4bb2c1df105c2d21f5c4c7ef656ff1d6e15f78bc
2016-01-12 14:10:05 +00:00
drh
8f3f65ec1c
Remove an unused field from the MemPage object.
...
FossilOrigin-Name: 5fc0a4c1f353c4c06fcbc4bce8bbe1897ef49eee
2016-01-12 04:08:54 +00:00
drh
869aaf0941
Make sure all bytes of the WAL file are initialized even if the checksums are
...
not being computed until commit due to WAL overwrite.
FossilOrigin-Name: 1f44a9bdc1577aed088d9b91882527228015dcd3
2016-01-12 02:28:19 +00:00
drh
9ca33fa4c2
Fix an uninitialized field in the Select object when SELECTTRACE is enabled.
...
FossilOrigin-Name: fc62851667d9120f98a2641c87bbc5a2485482b2
2016-01-12 02:00:24 +00:00
drh
e2258a2076
Various #ifdef enhancements for improved VxWorks support.
...
FossilOrigin-Name: 75cd41ff179e29c5d45f9d7fed784bc339e0d7a0
2016-01-12 00:37:55 +00:00
drh
00dcecab19
Performance optimization in the sqlite3VdbeChangeP4() routine of the
...
code generator.
FossilOrigin-Name: 28bd8d5fc541464b69886b7e886939035b42a869
2016-01-11 22:58:50 +00:00
drh
69f6e2587b
Performance optimization on the Column opcode.
...
FossilOrigin-Name: ecc98bef43c2fd07d64e4efddf340929a875ebac
2016-01-11 18:05:00 +00:00
drh
50922cfc7c
Performance optimization in sqlite3WalkExpr().
...
FossilOrigin-Name: 2f8bd5fab8cc51d1f8932c3490fd24dbccf6ef31
2016-01-11 14:19:14 +00:00
drh
604ce70448
Merge recent enhancements, and especially the WAL overwrite change, from trunk.
...
FossilOrigin-Name: c4a858b228a164be2f89f5b01833f0b5e0d7735b
2016-01-11 13:10:41 +00:00
dan
87dc2bc841
If a single page is written to the wal file more than once, instead of appending the second and subsequent copy to the wal file, overwrite the first.
...
FossilOrigin-Name: d493d4f1186c15da50558a13490cba0191e6f649
2016-01-11 12:13:47 +00:00
drh
07e8347221
Slightly smaller and faster LIKE/GLOB comparison implementation.
...
FossilOrigin-Name: 5dddcc78eec5bcd0c7e8fe1b70875ce775488f0c
2016-01-11 03:48:18 +00:00
drh
8997087a00
Improved testability.
...
FossilOrigin-Name: e83d3a2a4e06665e8a056f63063bd6df03f063b9
2016-01-11 00:52:32 +00:00
drh
b7c2f86b85
All WAL frame overwrites even if there are active savepoints. This is safe
...
because a ROLLBACK TO will cause all reverted pages to be rewritten to the
WAL file prior to COMMIT.
FossilOrigin-Name: 99b31a6b491c1c51227f478d3713b020d37a17cf
2016-01-09 23:55:47 +00:00
dan
c9a9022b21
If it is known that checksums will be recalculated on transaction commit, skip calculating checksums when appending frames to the wal file. When recalculating checksums, recalculate them starting with the first overwritten frame - not the first frame in the transaction.
...
FossilOrigin-Name: 16b34f2537bbc7846d8e6dc2b35daae5af241c1b
2016-01-09 18:57:35 +00:00
dan
d6f7c97952
If a single page is written to the wal file more than once, have each subsequent copy overwrite the original frame.
...
FossilOrigin-Name: 5d113aef2c7d746e8eda88d4e36c04a39b0a11be
2016-01-09 16:39:29 +00:00
drh
a829992969
Typo fix in the previous commit.
...
FossilOrigin-Name: 52c166039831cc8423e2252019ef64a21b9d7c2a
2016-01-08 22:31:00 +00:00
drh
24dbeae6f5
More #ifdef fixes for the unix VFS.
...
FossilOrigin-Name: 122c111e360761de8166e16ca151cb7260ee9bf8
2016-01-08 22:18:00 +00:00
drh
5a1fb1885a
Fix the build for SQLITE_OMIT_SHARED_CACHE, which was broken, possibly
...
by check-in [2d96aeba].
FossilOrigin-Name: 3392f8fa2ddf2c10ffe91ddd92470040c909b36d
2016-01-08 19:34:39 +00:00
drh
e4a08f9e39
Fix a problem with #ifdefs on the system calls in the unix VFS that causes
...
problems when compiling with SQLITE_OMIT_WAL.
FossilOrigin-Name: ceceea4c5ee242b20ebf216593c15c11ce2c369a
2016-01-08 19:17:30 +00:00
drh
c0fba6d8e8
Remove an obsolete #ifdef related to iOS support.
...
FossilOrigin-Name: e9a51d2a580daa0fb152fe4c891149caa8025b9d
2016-01-08 17:28:24 +00:00
drh
ca3862dc6e
Reduce the number of calls to memset() in sqlite3DbMallocZero().
...
FossilOrigin-Name: cede2bf8e42ac140a8cc75a1d173083f543ba467
2016-01-08 12:46:39 +00:00
drh
21d61853e7
Add the experimental SQLITE_FCNTL_JOURNAL_POINTER file control for obtaining
...
the sqlite3_file pointer associated with a rollback journal or WAL file.
FossilOrigin-Name: a02ace9a746ff02fc1a5969bf13939b568624f93
2016-01-08 02:27:01 +00:00
drh
c9d6d1b67b
Omit performance tracking from the memsys5 memory allocator if neither
...
SQLITE_DEBUG nor SQLITE_TEST are defined.
FossilOrigin-Name: af5c7714e993f060841f1e893f754ddf3870e6d0
2016-01-07 21:12:40 +00:00
drh
cad2486543
Fix to cause BtShared.db to be set correctly on shared-cache
...
connections in SQLITE_THREADSAFE=0 builds. Added assert()s to verify
the correct setting of BtShared.db.
FossilOrigin-Name: 2d96aeba2460779a0a20356739a0ba49144c8a85
2016-01-07 17:19:24 +00:00
drh
8549d55ead
Small performance and size optimization spotted while working on the
...
shared-cache problem.
FossilOrigin-Name: 828958ff77a5c239d55302f570077835c093e0fa
2016-01-07 17:09:43 +00:00
dan
7a2347e20b
Add some assert() statements to verify, where possible, that BtShared.db is set correctly.
...
FossilOrigin-Name: 359277e0e5338f6d7743d58cf99e1c934a8460d5
2016-01-07 16:43:54 +00:00
dan
20d876fa1c
Have the vdbe layer call sqlite3BtreeEnter() on all b-trees in use from within sqlite3VdbeExec() even in SQLITE_THREADSAFE=0 builds. This ensures that BtShared.db is set correctly.
...
FossilOrigin-Name: d0214602d44d6b84b7463d530720e2560aee6edf
2016-01-07 16:06:22 +00:00
drh
72bf6a3e9c
Add the "sqlite3 -sourceid" command in the TCL interface. Use that command and
...
others to output additional information about the test configuration at the
conclusion of a TCL test.
FossilOrigin-Name: 4f80440bf566959306f6ca8cbb1fd29d138ee38b
2016-01-07 02:06:55 +00:00
mistachkin
e787cbbe2a
Merge updates from trunk.
...
FossilOrigin-Name: 5cbab63756f6f276996f39d16d70b178581f63cd
2016-01-06 20:50:02 +00:00
drh
f56a2a07ff
Merge changes for version 3.10.0.
...
FossilOrigin-Name: fa4705c91f9650ecd7ec967dbbf0028aabd8a98c
2016-01-06 15:14:53 +00:00
drh
0816905cdd
Another attempt to get reuse of excess opcode array space working correctly
...
on all architectures and platforms.
FossilOrigin-Name: 2f8583748abab1e15029d3a8693ba9a66c978c2b
2016-01-05 03:39:25 +00:00
mistachkin
98486c046f
Permit the 'test_fs' test module to be compiled and used on MinGW.
...
FossilOrigin-Name: ac27f38eef7a241d56124c263d9f8c91f372a77f
2016-01-05 01:48:29 +00:00
drh
11e3e538d6
Fix a corner case in the opcode-array reuse logic where the number of bytes of
...
reusable space might be computed to be a negative number, due to unusual
system alignment restrictions and rounding error.
FossilOrigin-Name: 1aa530144643582658c8c1dd66548662f950efe3
2016-01-04 23:43:47 +00:00
drh
721f26dc9a
Merge in last-minute patches for the 3.10.0 beta.
...
FossilOrigin-Name: c785cd7813e4ef6d6f2cb362a0f822713db6bcea
2016-01-04 19:02:47 +00:00
drh
fa385edff3
A new approach to very large sqlite3_mprintf() strings: Back out the
...
[d655a665] check-in and instead make the size fields in StrAccum unsigned.
Strings generated by sqlite3_mprintf() can now be as large as 2^31-1 bytes.
FossilOrigin-Name: 7adb789f45698e5569b840d23f3f9488db3ed109
2016-01-04 12:07:27 +00:00
drh
6044bf8bf3
Limit the length of sqlite3_mprintf() output to 2^30 bytes, even if
...
SQLITE_MAX_LENGTH is set larger at compile-time.
FossilOrigin-Name: d655a665acfae676d30e90e3731f483bee6acc63
2016-01-04 04:28:11 +00:00
drh
9fbc885afc
Fix a harmless compiler warning.
...
FossilOrigin-Name: 4b404a99aa9bfa6cfe8998f5dc1f84f8be20b840
2016-01-04 03:48:46 +00:00
mistachkin
710b33b999
Alternative to [76f5efa6], move definition of utf8_printf up.
...
FossilOrigin-Name: 54c5522dda239cb9775709495ed7eb56a5dd8e11
2016-01-03 18:59:28 +00:00
drh
dc0b1f1c29
Bug fix: the conflict resolution behavior for the implied NOT NULL constraint
...
on the PRIMARY KEY of a WITHOUT ROWID table should be ABORT.
FossilOrigin-Name: e30062e9f6cae980150dda7df440b36dfdcb7bbe
2016-01-03 18:07:57 +00:00
drh
41d0ba72ae
Fix a premature reference to utf8_printf in shell.c.
...
FossilOrigin-Name: 76f5efa68728d899a63a74f2528dfd0c497aa5f0
2016-01-03 11:27:47 +00:00
drh
9abe841e9e
Fix a (harmless) typo in an #ifdef for SQLITE_ENABLE_CURSOR_HINTS
...
FossilOrigin-Name: 2047d2deabf2021ea05d620c3dd4919448027b11
2016-01-02 05:00:31 +00:00