]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Sat, 15 Oct 2011 00:16:30 +0000 (00:16 +0000)]
Added the tool/warnings-clang.sh script. Changes so that there are no
warnings with either gcc or clang even including FTS4 and RTREE and
both with and without SQLITE_THREADSAFE=0.
FossilOrigin-Name:
39408702a989f907261c298bf0947f3e68bd10fe
drh [Fri, 14 Oct 2011 22:57:03 +0000 (22:57 +0000)]
Fix a few minor and harmless clang warnings in FTS3 and RTREE.
FossilOrigin-Name:
b3324f6cc27c3bfb32b12eacace2fc731c2dd644
drh [Fri, 14 Oct 2011 21:49:18 +0000 (21:49 +0000)]
Add assert() statements and eliminate needless variable assignments in order
to get the clang scan-build utility to report zero problems against the
SQLite core. Clang's static analysis did find one real problem - but it was
in the command-line shell, not in the SQLite core.
FossilOrigin-Name:
60fee9574b0125705787e33c16f116cf188c8323
drh [Thu, 13 Oct 2011 18:08:04 +0000 (18:08 +0000)]
Change the makefile to delete both plain and ".exe" variants of build tools.
Ticket [
92bd6eaf04e117 ]
FossilOrigin-Name:
19536a382815c2ff4cb23625984b4ca92e5e17ee
drh [Thu, 13 Oct 2011 18:00:11 +0000 (18:00 +0000)]
Simplifications to the upper() and lower() SQL functions.
Updates to documentation on sqlite3_bind_text() and sqlite3_result_text()
to make it clear that users should not try to create strings with
embedded NULs and that if they do the result of expression on those strings
is undefined. Ticket [
57c971fc74524a ]
FossilOrigin-Name:
9984cc20ca70b7fb39c0b99580a1317a7b0c9c85
dan [Thu, 13 Oct 2011 17:16:45 +0000 (17:16 +0000)]
Handle updating the only row of an FTS table correctly. Fix for [
9fd058691 ].
FossilOrigin-Name:
7e24645be2fe0ffe092212e7bcfa5b4500305811
drh [Thu, 13 Oct 2011 17:09:01 +0000 (17:09 +0000)]
An improved fix for the page_count and quick_check problem previously
patched at [
150592b4b4d8637 ]
FossilOrigin-Name:
c3cb7f4fad725d5fa4d5acd9da63fc4538ce8e13
drh [Thu, 13 Oct 2011 16:36:29 +0000 (16:36 +0000)]
Provide a complete prototype for isatty() in the command-line shell sources.
FossilOrigin-Name:
8bf13b036a77af9984f8f3d3a93da589fafd773f
drh [Thu, 13 Oct 2011 16:30:13 +0000 (16:30 +0000)]
Change the command-line shell to do the ".dump" inside of a SAVEPOINT
rather than a transaction, since this allows it to be run from within
a transaction.
FossilOrigin-Name:
6df7343b4c3de9ad8221180dc959dbbdf54733c7
drh [Thu, 13 Oct 2011 16:02:17 +0000 (16:02 +0000)]
Enable large-file support for fopen() and friends in the command-line shell.
Ticket [
92af7da36b6fbd ]
FossilOrigin-Name:
eeeba4f0d2207ec26c60a405e2705e5d40022dbb
drh [Thu, 13 Oct 2011 15:35:52 +0000 (15:35 +0000)]
Make sure the query optimizer for aggregate queries knows that expressions
(x='a') and (x='A') are different. Ticket [
fa7bf5ec94801e7e ]
FossilOrigin-Name:
e43da426e66e6b63d5ed9610a6308aba0089313b
drh [Thu, 13 Oct 2011 14:41:22 +0000 (14:41 +0000)]
Make sure the page_count and quick_check pragmas work properly even when
their names are capitalized. Fixes a problem reported on the mailing list.
FossilOrigin-Name:
150592b4b4d86372e70332d4f69e41a04c4c54c3
drh [Thu, 13 Oct 2011 14:18:51 +0000 (14:18 +0000)]
Adjust the symbols.sh script for STAT3. Add the symbols-mingw.sh script for
testing on windows with MinGW.
FossilOrigin-Name:
c41d1d4652b8c7608322e9360c30f06965fd0942
drh [Thu, 13 Oct 2011 14:05:32 +0000 (14:05 +0000)]
Make sure all non-API functions in os_win.c have file scope.
Ticket [
35c54c874987 ]
FossilOrigin-Name:
17e4fde5c541f1bba723386938b6123b2431bffc
drh [Thu, 13 Oct 2011 13:34:04 +0000 (13:34 +0000)]
Do the ".dump" command inside of a transaction to prevent other processes
from modifying the database while the dump is underway.
Ticket [
2466653295e65 ]
FossilOrigin-Name:
1c00d5454c85dfddb6c628c3742b4ddeaad6423a
drh [Thu, 13 Oct 2011 01:01:14 +0000 (01:01 +0000)]
Fix a harmless compiler warning introduced into os_unix.c by one of the
recent changes.
FossilOrigin-Name:
4bf4d5ebfbf5d157a8bf3a3817e2ce350f25af0e
drh [Thu, 13 Oct 2011 00:41:49 +0000 (00:41 +0000)]
If errors are encountered while processing the ".dump" command in the
command-line shell, print error messages as comments in the output and
ROLLBACK at the end rather than committing.
Ticket [
ee19e690ec9a5a2 ]
FossilOrigin-Name:
8a8dcd6bd043d82dc04b6ad0614c64d20ace8e5f
drh [Thu, 13 Oct 2011 00:11:36 +0000 (00:11 +0000)]
Be sure to allocate plenty of space for error messages coming out of
sqlite3_load_extension(), so that filenames and procedure names are
not truncated. Ticket [
7d32c69b50f89d ]
FossilOrigin-Name:
af8bcdd951c31f69966942d67833da30f6b121bf
drh [Wed, 12 Oct 2011 23:49:49 +0000 (23:49 +0000)]
The sqlite3_overload_function() interface returns an error if it is unable
to create the overload function. Ticket [
20f9d4fbbff3a3 ]
FossilOrigin-Name:
d5b6b374c5225d21c386fb3d6507d3938296e759
drh [Wed, 12 Oct 2011 23:13:43 +0000 (23:13 +0000)]
The date/time functions return NULL if the xCurrentTime or
xCurrentTimeInt64 VFS methods fail.
Ticket [
0b803bff856c644c ]
FossilOrigin-Name:
c96651dd6ceadd51c9e1f4d942177d3c128c47b4
drh [Wed, 12 Oct 2011 19:04:07 +0000 (19:04 +0000)]
Suppress a compiler warning that occurs with SQLITE_OMIT_VIRTUALTABLE.
FossilOrigin-Name:
6bedb49d68f2960a6fc4701d02e177789abf9099
drh [Wed, 12 Oct 2011 18:52:59 +0000 (18:52 +0000)]
Clean up obsolete comments in printf.c.
FossilOrigin-Name:
97ef4f5013731fa3a0f72451b7e8c9aec5523104
drh [Wed, 12 Oct 2011 17:00:28 +0000 (17:00 +0000)]
Clarify a comment and fix a code formatting issue in btree.c.
FossilOrigin-Name:
4f1a558d0013fbf3fe00bdf5883e61a1f3779831
drh [Tue, 11 Oct 2011 20:41:54 +0000 (20:41 +0000)]
Put in code to defend against signed/unsigned character problems
in the command-line shell.
FossilOrigin-Name:
b94a80a832777f0e639f6a81fcfe169bf970a8c0
drh [Tue, 11 Oct 2011 20:14:41 +0000 (20:14 +0000)]
Add a couple of asserts trying to make the operation of
sqlite3SelectNew() clearer.
FossilOrigin-Name:
b21b1c7bc490b193da8d8a277489eb875a507e30
drh [Tue, 11 Oct 2011 18:18:54 +0000 (18:18 +0000)]
Change the behavior of the readonly_shm=1 query parameter so that it never
attempts to open the -shm file read/write.
FossilOrigin-Name:
f1364004836078378e4005ab3eb9c0a04e3d4ce7
drh [Tue, 11 Oct 2011 17:54:54 +0000 (17:54 +0000)]
Remove all precision and width limits from formatting fields in the
sqlite3_mprintf() family of functions. Malloc for space as necessary.
The prevents a stack overflow on very large numbers using %f.
FossilOrigin-Name:
1f843fb383583ee7ef51c13b8a820744e450101a
drh [Tue, 11 Oct 2011 12:39:19 +0000 (12:39 +0000)]
Fix requirements marks associate with STAT3.
FossilOrigin-Name:
9325c1a8c413dfbf0381190d8347f0a446ae5f5b
drh [Mon, 10 Oct 2011 16:06:35 +0000 (16:06 +0000)]
Enhance sqlite3_analyzer so that it is able to deal with multiplexed databases
that have 8+3 filenames.
FossilOrigin-Name:
e5169f9a5b7e20b8adaf6ebb7868a64e44fd7321
drh [Mon, 10 Oct 2011 12:04:14 +0000 (12:04 +0000)]
Fix a typo in a comment for PRAGMA journal_mode. Also amplify that same
comment.
FossilOrigin-Name:
c8ff2a484005ca48c52407db9f4a9a7d9f747158
drh [Sat, 8 Oct 2011 21:39:11 +0000 (21:39 +0000)]
All the soft_heap_limit to be exceeded by 10% in test cases.
FossilOrigin-Name:
4be9dccc711c9ad252e2cbd99bbcbe43247503a1
dan [Sat, 8 Oct 2011 14:57:07 +0000 (14:57 +0000)]
Add the SQLITE_DIRECT_OVERFLOW_READ compile time option.
FossilOrigin-Name:
2ab14a846727857175eac7961b7338c4d3b417ca
drh [Fri, 7 Oct 2011 23:52:25 +0000 (23:52 +0000)]
Change the ANALYZE command so that it no longer tried to delete unused
sqlite_stat2 and sqlite_stat3 tables. Change the DROP TABLE command so
that it is able to drop those tables.
FossilOrigin-Name:
589f3f5652e3674d3203f8bd32784a46b5ed530c
drh [Fri, 7 Oct 2011 18:24:25 +0000 (18:24 +0000)]
Make sure sqlite3_data_count() behaves as documented, even for
EXPLAIN QUERY PLAN queries.
FossilOrigin-Name:
d4f95b3b6e9f4a4072606af5daa17ea7c645382e
drh [Fri, 7 Oct 2011 17:52:40 +0000 (17:52 +0000)]
Improved handling of OR terms in the WHERE clause with multi-column indexes.
FossilOrigin-Name:
b23ae131874bc5c621f0f5ea8d76fce1ec089cc2
drh [Fri, 7 Oct 2011 17:45:58 +0000 (17:45 +0000)]
Add testcase() macros to ensure good test coverage.
FossilOrigin-Name:
5c132592820e9dc2355e26ea14e155c797c335b3
dan [Fri, 7 Oct 2011 16:57:59 +0000 (16:57 +0000)]
Add the SQLITE_FCNTL_OVERWRITE file-control. Used by SQLite to indicate to the OS layer that the current transaction will overwrite the entire file.
FossilOrigin-Name:
1da87fcdacfa7d277c3ee98e410a9ea8b529c368
drh [Fri, 7 Oct 2011 16:08:28 +0000 (16:08 +0000)]
More test cases for the OR optimization.
FossilOrigin-Name:
4997d8b81cd3ea7c708911bfece00020d11224f9
drh [Fri, 7 Oct 2011 14:40:59 +0000 (14:40 +0000)]
Prevent infinite recursion of in the query planner for some pathological
test cases by disabling OR-clause processing upon first recursion.
FossilOrigin-Name:
9fca05eac503d712886a05d03794f76c61fb39ed
drh [Fri, 7 Oct 2011 13:33:10 +0000 (13:33 +0000)]
Begin an effort to enhance the query planner to do a better job with OR terms
in the WHERE clause. This change allows ANDs outside of the OR to be factored
into the OR terms if that is helpful in finding better indices.
FossilOrigin-Name:
876bd21aaac444c7e056730e35696a74e9a1af0a
drh [Fri, 7 Oct 2011 12:59:23 +0000 (12:59 +0000)]
Enhance the sqlite3_data_count() routine so that it can be used to determine
if SQLITE_DONE has been seen on the prepared statement.
FossilOrigin-Name:
9913996e7b0f94ba1c51200b61433193002f3638
drh [Wed, 5 Oct 2011 19:46:03 +0000 (19:46 +0000)]
Add the --pageinfo and --stats options to the sqlite3_analyzer utility.
FossilOrigin-Name:
baa80c7bc31900decae0d8e6090b30fcde377492
drh [Wed, 5 Oct 2011 18:18:13 +0000 (18:18 +0000)]
Update the sqlite3_analyzer utility program to provide more details about
the compression performance of ZIPVFS database files.
FossilOrigin-Name:
fa5ed53296d45a5f963d20fb361555c432e0f31b
dan [Wed, 5 Oct 2011 17:36:27 +0000 (17:36 +0000)]
Fix test code related to reporting the size of overflow pages in zipvfs databases.
FossilOrigin-Name:
ad7c9eed8bbd607babce4f5965f587c873e7bc02
drh [Wed, 5 Oct 2011 15:26:13 +0000 (15:26 +0000)]
When finding the appropriate file permissions for journal files with
SQLITE_ENABLE_8_3_NAMES, ignore "-" characters in the name of the
containing directory.
FossilOrigin-Name:
328cc1867ffbbf1c953dfd843649f5f209c8e6ec
drh [Mon, 3 Oct 2011 15:30:33 +0000 (15:30 +0000)]
Merge the STAT3 changes into trunk.
FossilOrigin-Name:
774d0842bcce8862f2aac371f1689536ed234a0a
mistachkin [Sun, 2 Oct 2011 05:23:16 +0000 (05:23 +0000)]
Update MSVC makefile to allow targets to be built with support for ICU.
FossilOrigin-Name:
eb5da5e1dbe9c198095036827318fb381441cbd0
dan [Fri, 30 Sep 2011 12:01:01 +0000 (12:01 +0000)]
Disable the xfer optimization if "PRAGMA count_changes=1" is configured. Ticket [
c48d99d690 ].
FossilOrigin-Name:
9ddfe1e41300413bc9af7e5ce0ec9d1daf9136b1
drh [Wed, 28 Sep 2011 01:10:00 +0000 (01:10 +0000)]
In the shell, allow arbitrary table names on the ".import" command.
Ticket [
d1d84037b90a449 ].
FossilOrigin-Name:
f4dd32d30ed54f847319664cf749fd0b92b4af3f
drh [Wed, 28 Sep 2011 00:50:14 +0000 (00:50 +0000)]
Enhance the stat VFS to report out the total size of all pages used by
a table, even if the ZIPVFS compression backend is in play. Update
the sqlite3_analyzer logic to use these new outputs.
FossilOrigin-Name:
19b8eaaf70db82d401d33beb7fd36045d5e8326f
drh [Tue, 27 Sep 2011 13:40:26 +0000 (13:40 +0000)]
Changes to sqlite3_analyzer to try to avoid integer overflow problems
when linking against older versions of TCL.
FossilOrigin-Name:
8c846311a0cd510bbf9361213bb60764e9b797aa
dan [Mon, 26 Sep 2011 19:32:47 +0000 (19:32 +0000)]
Changes to the analyzer script to make it work with zipvfs databases.
FossilOrigin-Name:
d82cffab6acafcf9d91fea4ac47cad73f6f09775
drh [Sun, 25 Sep 2011 17:49:26 +0000 (17:49 +0000)]
If an open as read/write fails, do not try to reopen as read-only if in
exclusive access mode.
FossilOrigin-Name:
263c5fb2802f8c84835e42fc66acb1065b7e42b9
drh [Sun, 25 Sep 2011 17:47:58 +0000 (17:47 +0000)]
If an open as read/write fails, do not try to reopen as read-only if in
exclusive access mode.
FossilOrigin-Name:
4a153f010037db83107314269b240c0ece8430f8
dan [Sat, 24 Sep 2011 09:54:14 +0000 (09:54 +0000)]
Fix misc3.test so that it works with OMIT_MERGE_SORT builds.
FossilOrigin-Name:
87946c627f7230bea3739fd6aeec3e56115a3f93
dan [Sat, 24 Sep 2011 05:55:36 +0000 (05:55 +0000)]
Fix some test files so that they work with SQLITE_OMIT_WAL builds.
FossilOrigin-Name:
a38668dcff0a4d241d959ea19330ad43295d757d
drh [Fri, 23 Sep 2011 18:58:23 +0000 (18:58 +0000)]
Add SQLITE_DBSTATUS_CACHE_HIT and _MISS to the ".stat" command in the shell.
FossilOrigin-Name:
d279e1a309909a0897b6082753a0fadb5066c31a
drh [Fri, 23 Sep 2011 16:34:49 +0000 (16:34 +0000)]
Add the -DBUILD_sqlite option to the compiler when building testfixture.exe
using the configure script.
FossilOrigin-Name:
15a13b6c59ddf145c3fc860d993a7fa5587a0799
drh [Fri, 23 Sep 2011 14:40:31 +0000 (14:40 +0000)]
Merge the latest trunk changes into the stat3-trunk branch.
FossilOrigin-Name:
0beb88a92c8f75231df120bef54616c7e4bb68c8
drh [Fri, 23 Sep 2011 13:59:33 +0000 (13:59 +0000)]
Testability enhancements.
FossilOrigin-Name:
be44928cf2a3c063c8228b769d90947acbfad1ef
drh [Fri, 23 Sep 2011 13:25:03 +0000 (13:25 +0000)]
Fix typos in the format description comment of analyze.c.
FossilOrigin-Name:
74e27fad339a2d7899c1f42805e615128929f07a
drh [Thu, 22 Sep 2011 20:52:56 +0000 (20:52 +0000)]
Remove the restriction on the number of entries per index in sqlite_stat3.
FossilOrigin-Name:
374343c8ad53829c4ad715ed623d16635797de9a
drh [Thu, 22 Sep 2011 18:46:34 +0000 (18:46 +0000)]
Fix an issue in ANALYZE when STAT3 is disabled but both sqlite_stat2 and
sqlite_stat3 tables exist. Also add testability tweaks to the STAT3 code.
FossilOrigin-Name:
3ca7e449e2e20d95e516cf7fe87bfa0b51c07086
dan [Thu, 22 Sep 2011 15:31:30 +0000 (15:31 +0000)]
Remove a redundant (and undefined) "forcedelete" command from corruptE.test.
FossilOrigin-Name:
6d8d4e1694694c3e961fc1922f732d1da40caa6f
dan [Thu, 22 Sep 2011 14:56:31 +0000 (14:56 +0000)]
Remove the SQLITE_PAGECACHE_BLOCKALLOC compilation option.
FossilOrigin-Name:
4eb4689834b538b9eeec5a5803528260e1aff78d
dan [Thu, 22 Sep 2011 14:41:16 +0000 (14:41 +0000)]
Add the SQLITE_DB_STATUS_CACHE_HIT and MISS options. For querying the number of cache hits and misses on a per-connection basis.
FossilOrigin-Name:
5100b6e9dc5107f0f835d0aac26fe6d4938ffc73
drh [Thu, 22 Sep 2011 00:56:38 +0000 (00:56 +0000)]
Update the version number to 3.7.9.
FossilOrigin-Name:
14e28eb9546906b33eb03e596ad104c8ca049d6c
drh [Thu, 22 Sep 2011 00:28:55 +0000 (00:28 +0000)]
Fix an uninitialized variable and a misuse of memcpy().
FossilOrigin-Name:
ee110d5a4a6f29400bb632a9a18c7dcd04638657
mistachkin [Thu, 22 Sep 2011 00:06:44 +0000 (00:06 +0000)]
Integrate build changes for sqlite3_analyzer into the MSVC makefile. Also, more cleanup of build files, including sqlite3_analyzer, for all makefiles.
FossilOrigin-Name:
af1c5718292c0326b785416b7109eafefaeb59a7
drh [Wed, 21 Sep 2011 20:10:42 +0000 (20:10 +0000)]
Minor tweaks to the TCL code for sqlite3_analyzer.
FossilOrigin-Name:
3a261f383f11d839d3a23d454b4422298bef9c88
drh [Wed, 21 Sep 2011 18:29:49 +0000 (18:29 +0000)]
Remove unnecessary dependencies from the sqlite3_analyzer targets in
makefiles.
FossilOrigin-Name:
0bd8fd352d290637d8c4d4fb76e8dd28f0149fa0
drh [Wed, 21 Sep 2011 17:04:21 +0000 (17:04 +0000)]
Fix the sqlite3_analyzer target in the configure-generated Makefile.
FossilOrigin-Name:
256cdbdc810cae23388ccf73583c591304294dbb
dan [Wed, 21 Sep 2011 16:43:07 +0000 (16:43 +0000)]
Change the way the sqlite3_analyzer executable is built.
FossilOrigin-Name:
05e3cced8a884e8bca6f208d2f09e335d3929eac
drh [Wed, 21 Sep 2011 00:09:41 +0000 (00:09 +0000)]
Pull in the latest changes from trunk. Update the STAT3 documentation.
FossilOrigin-Name:
63fc3e4bea6a7f5dc34b2af83f30458eb10b8fe0
drh [Mon, 19 Sep 2011 20:56:59 +0000 (20:56 +0000)]
Minor comment change in the description of the different memory allocator
options. No changes to code.
FossilOrigin-Name:
36be31ff0af7f811fe2c6f7e26f058cffb7257e1
drh [Mon, 19 Sep 2011 20:36:42 +0000 (20:36 +0000)]
Merge in all changes through the 3.7.8 release.
FossilOrigin-Name:
9607600b6ca9b546dd248982fd8e8d64f708be5c
drh [Mon, 19 Sep 2011 14:49:19 +0000 (14:49 +0000)]
Version 3.7.8 release candidate
FossilOrigin-Name:
3e0da808d2f5b4d12046e05980ca04578f581177
drh [Mon, 19 Sep 2011 13:01:53 +0000 (13:01 +0000)]
Increase the default lookaside cache line size from 100 to 128 bytes.
FossilOrigin-Name:
db019465036171fcad31181bec7d6ac185f50430
dan [Mon, 19 Sep 2011 11:57:34 +0000 (11:57 +0000)]
Remove a stray merge-sort related change from pager.c and pager.h.
FossilOrigin-Name:
69823ed163049d6fa1e24a9810c3c99f2a8fdd46
drh [Sat, 17 Sep 2011 17:29:20 +0000 (17:29 +0000)]
Add a new script to build an amalgamation that omits FTS3/4 and RTREE.
FossilOrigin-Name:
b31a7d7db9040d8eedaf1ecd89ea0033f579d0f1
mistachkin [Sat, 17 Sep 2011 15:34:50 +0000 (15:34 +0000)]
Make sure the file structure is zeroed prior to calling the VFS to open a file.
FossilOrigin-Name:
29c4d0dd43d41650e54824afd70dd40f1b91cc86
drh [Fri, 16 Sep 2011 22:10:57 +0000 (22:10 +0000)]
Fix a problem with SQLITE_OMIT_TRACE that was introduced by the recent
OP_Once change.
FossilOrigin-Name:
96be3f7b59b3ed4703b907e29db629df34b2b56f
mistachkin [Fri, 16 Sep 2011 20:43:44 +0000 (20:43 +0000)]
Fix #if's in winSync to avoid compiler warnings about unused local variables. Also, update version numbers in the MSVC makefile.
FossilOrigin-Name:
2e66e41457422449ac5918b16be443e737dfb149
mistachkin [Fri, 16 Sep 2011 20:16:36 +0000 (20:16 +0000)]
Silence harmless compiler warning about redefinition of the _CRT_SECURE_NO_WARNINGS macro by shell.c.
FossilOrigin-Name:
690220717f3d92d4fb7bd72226fc8d5f38f5fbcf
drh [Fri, 16 Sep 2011 19:29:58 +0000 (19:29 +0000)]
Merge all the latest trunk changes into the experimental STAT3 branch.
FossilOrigin-Name:
51908c8f2bc6c086570f7493a29b096f0a40ce34
drh [Fri, 16 Sep 2011 19:04:03 +0000 (19:04 +0000)]
Remove unreachable branches from the previous change. Add additional
test cases.
FossilOrigin-Name:
cf51ef8ab8a610ddf64f66970dd689fe1df405b8
drh [Fri, 16 Sep 2011 17:43:06 +0000 (17:43 +0000)]
When analyzing the right-hand side of IN operators to see if the IN operator
can work with an index, be sure to decend into nested subqueries.
Fix for ticket [
1a1308d2538d7 ]
FossilOrigin-Name:
0156f10e23daca0e2504cd293a67ed0233d254d0
drh [Fri, 16 Sep 2011 16:00:51 +0000 (16:00 +0000)]
Further streamlining of the subquery materializer. New test cases for
ticket [
002caede898a ]
FossilOrigin-Name:
ff8b76b25b42497a7374de56c6a8f34cbe70cd6a
drh [Fri, 16 Sep 2011 01:38:53 +0000 (01:38 +0000)]
drh [Fri, 16 Sep 2011 01:34:43 +0000 (01:34 +0000)]
Add the new OP_Once opcode. Use it to clean up and simplify various
one-time initialization sections in the code, including the fix for
ticket [
002caede898ae ].
FossilOrigin-Name:
7f00552b739fad79517b042a6ed61abe743a917b
drh [Thu, 15 Sep 2011 23:58:14 +0000 (23:58 +0000)]
Materialize subqueries using a subroutine and invoke that subroutine
prior to each use of the subqueries manifestation. Fix for
ticket [
002caede898aee4 ]
FossilOrigin-Name:
4b8357ee3c4ccdbd34e0cd077efd84cca677f496
drh [Thu, 15 Sep 2011 19:39:42 +0000 (19:39 +0000)]
mistachkin [Thu, 15 Sep 2011 00:40:11 +0000 (00:40 +0000)]
Cleanup/fix error handling when no arguments are supplied to the SQLite analyzer.
FossilOrigin-Name:
3fc566ac5dfce314ee414a3fb79daeeed6d0f179
mistachkin [Wed, 14 Sep 2011 18:19:08 +0000 (18:19 +0000)]
Remove 'const' from a variable that might actually be written when an OOM error occurs. Also, fix a couple MSVC/Win32 compiler warnings.
FossilOrigin-Name:
3035dc1c7398791d550f4c02774ef7f961b4bb02
drh [Wed, 14 Sep 2011 13:41:40 +0000 (13:41 +0000)]
Remove unused parameters from internal routines in vdbesort.c. This is
an additional simplification made possible by recent optimizations.
FossilOrigin-Name:
a1f3aeeb0988c848d40ce8f6da6e902935a997e2
drh [Wed, 14 Sep 2011 13:23:21 +0000 (13:23 +0000)]
Remove code from vdbesort.c that was made unreachable by the recent
sqlite3VdbeRecordUnpack() optimizations.
FossilOrigin-Name:
607aba6cd7020973200fa376cf8df55360165266
drh [Tue, 13 Sep 2011 19:09:28 +0000 (19:09 +0000)]
Merge the latest trunk changes into the stat3-trunk branch.
FossilOrigin-Name:
11ca4ed8bf850dae1a24b7182f70039f32bd8dd1
dan [Tue, 13 Sep 2011 19:08:43 +0000 (19:08 +0000)]
Allocate the correct size for the output buffer in fts3DoclistOrMerge(). Fix for [
56be976859 ].
FossilOrigin-Name:
07788c0f7f3740c1c280f6ce4dc68401c30bae6e
mistachkin [Sun, 11 Sep 2011 10:14:37 +0000 (10:14 +0000)]
Cleanup pdb/ilk files generated by the MSVC makefile.
FossilOrigin-Name:
a9db247b752bcda0131b8f01c6f0182f3101d154
dan [Mon, 5 Sep 2011 20:16:38 +0000 (20:16 +0000)]
Fix a minor performance regression in btreeMoveto().
FossilOrigin-Name:
d0712dfb24867a807c9cddcc12bd0aebe1d3e085