dan
da56b15e95
Merge accidentally created fork.
...
FossilOrigin-Name: b7d080b8e850bd262f53f29ba4687a62cf76d4ef
2011-01-11 17:40:30 +00:00
dan
354bfe0363
Add the SQLITE_FCNTL_SYNC file-control.
...
FossilOrigin-Name: b3f2f465c310a2cfef8731a0dae3453593b68de9
2011-01-11 17:39:37 +00:00
drh
ca94d8bf82
Change the page size of the destination database in a backup, if it is
...
changeable, prior to starting the backup.
FossilOrigin-Name: a5e4e0caad788318bc973e2550488a3b83128b8b
2011-01-11 17:38:03 +00:00
dan
9f4beedb6f
If a rollback is attempted in journal_mode=off mode, force SQLite to discard the contents of the pager cache before processing any subsequent queries.
...
FossilOrigin-Name: ece7efce2733b4fdd71db385abebbde464ac8f30
2011-01-11 16:09:55 +00:00
drh
bbd91944dd
Fix the sqlite3.h generator script so that it generates the correct
...
SQLITE_SOURCE_ID string with the latest versions of Fossil that
include fractional seconds on the date/time stamp.
FossilOrigin-Name: 3513bf6ee090d9be97f60e12a4b39f4361ee17b7
2011-01-11 12:46:05 +00:00
drh
444d26065e
Update pager requirements to accound for the ZIPVFS extension.
...
FossilOrigin-Name: d94e59b514c16c5f7ea506e0af1c6e2ffecc13be
2011-01-10 21:01:10 +00:00
drh
2e5de2f2b3
Reorder the fields in private structures in an effort to reduce alignment
...
gaps and thus make the structures smaller, and to put frequently accessed
fields first. Also update some obsolete comments. Valgrind shows a very
slight performance improvement.
FossilOrigin-Name: 378a1d13af4a6f4cb2bfa65944b3b0d444b9f21c
2011-01-07 02:50:40 +00:00
drh
b7787eef7a
Enhance the showdb tool to show overflow page pointers at the end of
...
overflow cells.
FossilOrigin-Name: cda5eab18f48d3836dfd3e1f8c76e5f83b43485f
2011-01-06 15:51:18 +00:00
drh
5240aebdd8
Enhance the showdb tool to show a btree page layout. Add limit checks so that
...
overflow content does not overflow the buffer.
FossilOrigin-Name: 57ffa07e26a26d2f4527c8e6d7a9c1f48f380bf7
2011-01-06 01:26:38 +00:00
drh
b2c062df71
Fix a bug in the showdb utility: the serial types for BLOB and TEXT where
...
reversed.
FossilOrigin-Name: 65a13faf1e3cd18f3459cd410f65d334cfa7c376
2011-01-05 21:46:52 +00:00
drh
100335be77
Enhancements to the "showdb" debugging tool. Add the ability to display
...
the content of a cell.
FossilOrigin-Name: e9023a4e1edd552a81dcb2dcd5a996edfa167709
2011-01-05 21:20:52 +00:00
drh
8a3d62224c
Increment the version number to 3.7.5.
...
FossilOrigin-Name: 9ec3896e2fda5b04e609300463dc5b6e79d6cff1
2011-01-05 13:43:23 +00:00
drh
db26d4c9e1
Add the sqlite3_vsnprintf() interface.
...
FossilOrigin-Name: fc67adea414320e0c0b24054f76070cfaeebb401
2011-01-05 12:20:09 +00:00
drh
65a0ce16aa
Fix a null-pointer dereference that can occur on an OOM error while running
...
ANALYZE with SQLITE_ENABLE_STAT2.
FossilOrigin-Name: 73128d4ef5d7703bf7af0553c307b55dc1b783f6
2011-01-04 20:06:33 +00:00
drh
4856698fa5
Fix the ANALYZE command so that it takes collating sequences into account
...
when gathering index statistics.
FossilOrigin-Name: a5867cfc4c9b9155fa345247dec29e38fffa8002
2011-01-04 19:01:26 +00:00
drh
8e93b10a4e
The ANALYZE command now counts at all rows of an index, even those containing
...
NULL values. A valid sqlite_stat1 entry is created even if the index contains
nothing but NULLs.
FossilOrigin-Name: 824c8dd3015bbd5c8a1dd661cfe09fe5bf7a80d3
2011-01-04 17:57:53 +00:00
dan
b29010cd4f
Have testfixture invoke C routine Zipvfs_Init() when creating a new interpreter if SQLITE_ENABLE_ZIPVFS is defined.
...
FossilOrigin-Name: 430635dacfa818e8266a88214aaf60c77862de1c
2010-12-29 18:24:38 +00:00
dan
72903821e3
Fix some off-by-one errors in the comments for API functions create_function() and value_blob(). No changes to code or tests.
...
FossilOrigin-Name: 7ded90baeb75db5af83345cd2c31211cbee1e91b
2010-12-29 10:49:46 +00:00
dan
b9a93d70b8
Reduce the number of calls to sqlite3_realloc() made by fts3 when querying for position information of a term prefix.
...
FossilOrigin-Name: 7088d9450f403f12f67eed558e368573101245d6
2010-12-24 15:49:27 +00:00
drh
b469f46083
Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined.
...
FossilOrigin-Name: b82e85ece94c8e25c1dc3251f5444a295fbf8c89
2010-12-22 21:48:50 +00:00
drh
2a58e9cc32
Add test cases for the new lookaside hit and miss status outputs. Add
...
the output of lookaside hit and miss to the command-line shell statistics.
FossilOrigin-Name: b0888047bb6d9ac55e29b9224df2ff650728bb78
2010-12-21 21:28:38 +00:00
drh
e0a55f443b
Merge into the trunk the experimental enhancements to sqlite3_db_status()
...
for measuring lookaside memory allocator performance.
FossilOrigin-Name: 8c3b06c299554759b67437e09ee7ef6420dacafc
2010-12-21 20:36:45 +00:00
drh
697e965299
Remove the obsolete compile-time option SQLITE_THREAD_OVERRIDE_LOCK
...
from the autoconf makefile. Needed only for LinuxThreads, which we no
longer support.
FossilOrigin-Name: 09f6c053ff9239c22ecf527ae579446c6e21e550
2010-12-21 00:20:53 +00:00
drh
29ecd8a077
Rearrange a variable declaration in the proxy locking code to avoid a harmless
...
compiler warning on recent MacOS versions.
FossilOrigin-Name: 39bbd35599e735b32f7ed18143073165b805dd98
2010-12-21 00:16:40 +00:00
drh
08bd9f83ce
Clarify the documentation of the SQLITE_STATUS_MALLOC_COUNT parameter to
...
sqlite3_status().
FossilOrigin-Name: 3b41bcc3e36a9ef0146bc2f6ae86377bd1700afd
2010-12-20 17:00:27 +00:00
drh
0b12e7f860
Add additional DBSTATUS options for measuring the hit and miss rates against
...
the lookaside memory pool - information useful in tuning the lookaside size.
Currently experimental pending analysis of performance impact.
FossilOrigin-Name: 34613f1dc54c638531ca2f5907b71fbe8841233e
2010-12-20 15:51:58 +00:00
drh
9c88d68988
Add the "-heap" option to the command-line shell - to allocate a fixed heap
...
for use with SQLITE_ENABLE_MEMSYS5.
FossilOrigin-Name: 74fff692345fed4b247e2b34c1e63b4d50cddfd4
2010-12-17 14:03:01 +00:00
drh
cd2f58b374
Fix minor typos in the sqlite3_backup documentation.
...
FossilOrigin-Name: df430be59d0766a34a94ab85fec9aa3c3baeb740
2010-12-17 00:59:59 +00:00
drh
230bd63011
Improvements to the documentation for sqlite3_backup. No code changes.
...
FossilOrigin-Name: f83609f4703b5e74a91bca071a4ac2843189f463
2010-12-16 20:35:09 +00:00
drh
4278d53efa
Fix an assertion fault that can only occur if SQLITE_ENABLE_STAT2 is defined
...
and the constant folding optimization is disabled using sqlite3_test_control().
Problem introduced by [ad8bc68197f2b4] but we missed it prior to the 3.7.4
release due to taking shortcuts and skipping tests in the release checklist.
FossilOrigin-Name: 70a3d81742fcd481f83ccc8f7ff6af58bc29c4fa
2010-12-16 19:52:52 +00:00
drh
7d20844542
Make wal_checkpoint a no-op if a prior checkpoint has already copied all
...
WAL content into the database. This prevents a concurrent write to the
database from resetting the wal-index out from under the WalIterator of
the checkpoint as it is initializing.
FossilOrigin-Name: cf86affcb7d3089496e9849cbf43a211097e4f64
2010-12-16 02:06:29 +00:00
drh
d9c9b78e6c
Enhanced comments in wal.c and declare some procedure parameters "const".
...
No changes to the generated code.
FossilOrigin-Name: d0e4375b8a784d4e4ae66caababac919edd61883
2010-12-15 21:02:06 +00:00
drh
901e994b8b
When registering the built-in LIKE and GLOB functions, make sure that they
...
are tagged with SQLITE_UTF8 so that if other application-defined LIKE and
GLOB implementations are provided for UTF16, then the appropriate function
will be selected.
FossilOrigin-Name: e1660764f20fed3fe92156d2b7f06075ff6ac145
2010-12-15 18:54:37 +00:00
dan
d3842765ae
Fix a performance regression in matchinfo().
...
FossilOrigin-Name: fa37d8eb7cd8049689068af2a80fe2cbb4a603f1
2010-12-10 17:06:48 +00:00
drh
a4bfd7fde8
Add support for the SQLITE_DEFAULT_FOREIGN_KEYS compile-time option.
...
FossilOrigin-Name: c959945ab7129b67eb2364befb9bf5cc88a8b0bf
2010-12-09 19:15:17 +00:00
drh
7f322e791c
Mention the SQLITE_DEFAULT_WAL_AUTOCHECKPOINT compile-time option in the
...
documentation for the sqlite3_wal_autocheckpoint() interface.
FossilOrigin-Name: 5a52dd59ff577b071b4ed9316dc3bc753a18c8da
2010-12-09 18:55:09 +00:00
drh
10fc727d35
Update the sqlite3_stmt_readonly() interface so that its output is
...
well-defined for all prepared statements, and so that it gives the
correct result for VACUUM.
FossilOrigin-Name: 9c19b7ae3542fd1fac692b4471f1839b22685c76
2010-12-08 18:30:19 +00:00
drh
e14cd93f2e
The command-line shell ignore errors in sqlite3_close() when shutting down.
...
FossilOrigin-Name: 925332c3d79f6252895ff1a367f795630619247e
2010-12-08 03:28:17 +00:00
drh
81d7fd13e4
Changes to the shell which should, in theory, allow it to work with
...
libeditline as an alternative to libreadline.
FossilOrigin-Name: e474fd9e7f89644a7840e33e9df03dbaa4dd28bd
2010-12-08 00:02:26 +00:00
drh
91412b2446
Improved documentation for SQLITE_FCNTL_FILE_POINTER.
...
FossilOrigin-Name: 43935548ae79d4d1a71549820a77368cda77104a
2010-12-07 23:24:00 +00:00
drh
5480617fb1
Version 3.7.4 release candidate 4
...
FossilOrigin-Name: a586a4deeb25330037a49df295b36aaf624d0f45
2010-12-07 20:14:08 +00:00
shaneh
2c2e8eb1a8
Work around restriction in Windows file locking.
...
FossilOrigin-Name: fe441df9ba447d97571e919099846efa3ec87427
2010-12-07 17:12:21 +00:00
dan
c216eee7ce
Fix a bug in the demo "superlock" code preventing locks from being released in some circumstances.
...
FossilOrigin-Name: 65c393793ff5fdb935d5acfe5bdc3bca052f7314
2010-12-07 16:39:25 +00:00
drh
6568ffb14f
Version 3.7.4 release candidate 3
...
FossilOrigin-Name: 11c74c0dae0e302f248ec4af6dc8a9376203b034
2010-12-07 14:59:22 +00:00
dan
1ce1b4a780
Run some of the existing test scripts with optimizations disabled as part of all.test.
...
FossilOrigin-Name: b0634d2f909fb192d20315e59fa31fcd8f316541
2010-12-07 14:32:28 +00:00
dan
c60982408c
Add tests to tkt-80ba201079.test.
...
FossilOrigin-Name: c370338c772bcd0797a23f83c3f6dc019640c6dd
2010-12-07 07:57:49 +00:00
drh
b0a7c9cd2f
Fix the build so that it once again works with SQLITE_OMIT_SHARED_CACHE
...
and SQLITE_OMIT_AUTOVACUUM.
FossilOrigin-Name: fabcb6b95e1d4059d1e6c6183f65846f6cbd5749
2010-12-06 21:09:59 +00:00
drh
f58ee7f1aa
Add the ability to disable constant factoring using sqlite3_test_control().
...
Add a TCL interface to this new capability and add tests cases to the TCL
test scripts to actually use the new capability.
FossilOrigin-Name: ad8bc68197f2b47435149c3dbc035f4e7210fc76
2010-12-06 21:06:09 +00:00
drh
ef4c059843
Back out part of the previous change that was not really necessary in order
...
to fix [80ba201079ea60], and which in fact serves no useful purpose.
FossilOrigin-Name: fa9eef865f2f399870305bef82296db25e5b3e90
2010-12-06 18:59:13 +00:00
drh
48b5b041d1
Initialize all constants at the very beginning of a prepared statement.
...
Do not allow constant initialization to occur once control flow has a chance
to diverge, to avoid the possibility of having uninitialized registers.
Ticket [80ba201079ea60807].
FossilOrigin-Name: c5c53152d68218bb5e7f922271dd7c50da2361c1
2010-12-06 18:50:32 +00:00