drh
5128e85cde
New test cases for the ".dump" and ".mode insert" commands of the shell.
...
FossilOrigin-Name: dfce8569765614462a3952d1761c10d579984665
2012-04-24 13:14:49 +00:00
drh
8df9185ce4
Move the shell test scripts into the test/ subfolder so that they are
...
run automatically by "make test".
FossilOrigin-Name: 9fb7da6904e479f4671eeebf1a4b7e4e4e4f2b7b
2012-04-24 12:46:05 +00:00
drh
b202d70a87
Fix a sign-extension problem for BLOB output in ".insert" mode of the
...
command-line shell.
FossilOrigin-Name: 282f2a74c23aa3fca6087bdeaf5d961b4f5bbe47
2012-04-24 12:12:57 +00:00
drh
9878123752
Update the ".table" command in the shell to show all tables in all
...
attached databases, and to avoid using the deprecated sqlite3_get_table()
function.
FossilOrigin-Name: ce2d06e2533763a8008e7a405630293d8f9a3108
2012-04-23 12:38:05 +00:00
drh
9b8d3572a9
If terminating interactive input to the command-line shell with ^D, issue
...
an extra \n to move the cursor to the next line before exiting.
FossilOrigin-Name: feff1ef0b8f7b51ae80a9d34380b46a5103bf6cd
2012-04-21 11:33:39 +00:00
mistachkin
045f09cbb9
Merge the latest trunk changes into the WinRT branch (fixes for tickets [2a5629202f] and [385a5b56b9]).
...
FossilOrigin-Name: 25478dcff59690a5f59c3b96600374184057eae9
2012-04-21 00:31:21 +00:00
dan
6a36f43586
Do not consider a DISTINCT clause redundant unless a subset of the result-set is collectively subject to a UNIQUE constraint and it can be guaranteed that all columns of the subset are NOT NULL (either due to NOT NULL constraints WHERE clause terms). Fix for [385a5b56b9].
...
FossilOrigin-Name: 7b8548b1872cc1225355ba8311e93dd08d6526e2
2012-04-20 16:59:24 +00:00
dan
99f8fb66a4
Fix for 2a5629202f. When considering whether or not a UNIQUE index may be used to optimize an ORDER BY clause, do not assume that all index entries are distinct unless there is some reason to believe that the index contains no NULL values.
...
FossilOrigin-Name: 9870e4c4fef10112c987c40cb1b95255a7214202
2012-04-20 15:24:53 +00:00
drh
50f79f56a8
Remove obsolete art.
...
FossilOrigin-Name: 372a90e2264a29ce543c093766cdec764d18b5a5
2012-04-20 12:02:32 +00:00
mistachkin
c2f2d9280b
Merge the latest trunk changes into the WinRT branch (fixes various MSVC compiler warnings).
...
FossilOrigin-Name: 294a5cca5087b510c2483792631bbf98a415e254
2012-04-20 08:23:32 +00:00
drh
83cc139231
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in
...
tclsqlite.c and in the FTS4 module.
FossilOrigin-Name: 3281972eaa46cb57fd9f0387063f47430dc0a3b4
2012-04-19 18:04:28 +00:00
drh
7ed243b71a
Fix a harmless compiler warning in tclsqlite.c for MSVC x64. Fix a test
...
case associated with the FTS4 merge feature.
FossilOrigin-Name: de3f7187eb2ff24683a1854ae523e7d30c290893
2012-04-19 17:19:51 +00:00
drh
d5a336ef58
Fix harmless compiler warnings (unused parameter warnings) in the aggregate
...
query analyzer.
FossilOrigin-Name: 2d43562084316ec180a4c2cfc3fee08d58432204
2012-04-19 15:49:19 +00:00
mistachkin
fec360acea
Merge build tool updates from trunk. Also, modify MSVC makefile to allow for debugging of build tool issues.
...
FossilOrigin-Name: b2a2fdb0ac8d27efe3036fc49941279e24de6211
2012-04-18 10:29:21 +00:00
drh
3a2d08e599
Fix a harmless compiler warning in the mkkeywordhash.c utility program.
...
FossilOrigin-Name: 6015200beb3be7ec141ce36de694278e3ba11a02
2012-04-18 10:13:20 +00:00
drh
d25d692252
Fix a typecast problem in lemon that could cause problems on 64-bit machines.
...
FossilOrigin-Name: 4a5641cc0aa4c49762f4fe73dab4a6612631c0d2
2012-04-18 09:59:56 +00:00
mistachkin
a749486e31
Import all the latest trunk changes into the WinRT branch. Refactor and/or remove WinCE-specific macros and functions used for file locking to improve clarity of presentation.
...
FossilOrigin-Name: ad5cd15f49b286896f94ab1ff207077beee40e12
2012-04-18 05:57:38 +00:00
mistachkin
a6ff857437
When compiling for WinRT, always use the 'appcontainer' linker option.
...
FossilOrigin-Name: 300bcfe31102d4428567d56810b57d1d54c1d43b
2012-04-17 21:00:12 +00:00
drh
374fdce485
Improved handling of aggregate subqueries within an aggregate query.
...
FossilOrigin-Name: 430bb59d798286a86c351de92c429345f016b3f0
2012-04-17 16:38:53 +00:00
drh
d8621b90c9
Add an undocumented and possibly ephemeral ".breakpoint" command to the
...
command-line shell, to call a no-op routine on which it is convenient to
set a symbolic debugger breakpoint.
FossilOrigin-Name: 8e2363ad76446e863d03ead91fd621e59d5cb495
2012-04-17 09:09:33 +00:00
drh
8c5058bbdb
Fix a bug in the command-line shell logic that attempts to continue with a
...
".dump" even after encountering database corruption.
FossilOrigin-Name: 020b5e90f950a42299074ff770612b9e68850d95
2012-04-16 17:22:30 +00:00
drh
5adc60bab0
In the unix VFS, always set every open file to close-on-exec using either
...
O_CLOEXEC at open (preferred) or FD_CLOEXEC in an ioctl after opening. Before
this changes, many files were done this way, but not all.
FossilOrigin-Name: 9efbeb11ae0d480a13ff1353820c12f3a8bff452
2012-04-14 13:25:11 +00:00
drh
2b32b9941d
Fix a typo in a comment that is extracted for documentation. No changes to
...
code.
FossilOrigin-Name: e87371c5081ce28431a4c7ceaa81ff966a378c66
2012-04-14 11:48:25 +00:00
drh
a2acb0d769
Add a testcase() macro to ensure that the sqlite3AuthCheck() call inside
...
the query flattener really is effective.
FossilOrigin-Name: a134e6e739cbb27701b092b33033244feb164cdf
2012-04-11 23:22:37 +00:00
drh
85e7243acf
Fix harmless static-analysis warnings, mosting having to do with memory
...
leaks in the command-line shell. Add a clang analysis of the command-line
shell to the "warnings-clang.sh" script. Other minor cleanups to the
command-line shell code.
FossilOrigin-Name: 93a0f452a7023898ad3d62ee81b39a80477c332f
2012-04-11 11:38:53 +00:00
drh
c00ce490c5
Add new interfaces to the test_quota.c module: sqlite3_quota_ftruncate(),
...
sqlite3_quota_file_size(), sqlite3_quota_file_truesize(), and
sqlite3_quota_file_mtime().
FossilOrigin-Name: 2fa9f54309aea9927fb3695a986febd4963df7d1
2012-04-10 17:53:47 +00:00
drh
35c86a94cf
Fix a copy/paste error in a comment in the fuzzer. No changes to code.
...
FossilOrigin-Name: 7433f2b5508ebf09d0e3e32a995f1126eaab8999
2012-04-10 16:05:27 +00:00
drh
89d5d6a2a7
Fix the application-defined function logic so that functions with a variable
...
number of parameters can be replaced or deleted correctly. Also refactor
some of the function-finder code for clarity of presentation.
FossilOrigin-Name: 09d5581c81fb6a9bf6a369d0abf5ef6b54637576
2012-04-07 00:09:21 +00:00
drh
370026242a
Update sqlite3_analyzer to correctly find all database files when the
...
multiplexor is being used.
FossilOrigin-Name: 1bfc30cb0fdc4b9def989eea2d78f6ac851633fa
2012-04-06 00:09:27 +00:00
drh
b8af4b7919
Ignore the value of SQLITE_FCNTL_CHUNK_SIZE if it is negative.
...
FossilOrigin-Name: 1b08fef9451f4d59148548faed115d1a5d0bcd98
2012-04-05 20:04:39 +00:00
drh
3343b43915
Performance improvements for the RowSet object when it undergoes many
...
cycles between RowSetInsert and RowSetTest.
FossilOrigin-Name: 49d20ede5f4c0895a165126d5cf7c95a0510ba35
2012-04-05 01:37:32 +00:00
drh
42f64e52ee
Add the ".trace" option to the command-line shell.
...
FossilOrigin-Name: b9ac3d7e340eb616fd23cc7dbdef6fdd66a79fe4
2012-04-04 16:56:23 +00:00
drh
689453dbf0
Fix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES.
...
FossilOrigin-Name: 9e1e2fe2950bb96784413eae934314d95bce08e7
2012-04-04 13:58:19 +00:00
drh
1779efd483
In the multiplexor extension, improve the error logging when a chunk fails
...
to open.
FossilOrigin-Name: 781453c686656a7bd4a274a3b3204ceb6ecae8df
2012-04-04 13:43:13 +00:00
dan
c8f8616c41
Do not run attempt to run test file fts4merge3.test unless the build includes FTS.
...
FossilOrigin-Name: 0506bf86d31e821a905e3a8a03c4817e326f7f44
2012-04-03 18:34:24 +00:00
dan
2bd2cfc2b5
Modify capi3.test and capi3c.test so that they work with SQLITE_OMIT_AUTORESET builds.
...
FossilOrigin-Name: 1d5e744cc645150ccaa7256663146fc7b8540bd5
2012-04-03 18:33:43 +00:00
dan
1235bb1815
Modify the integrity-check code to reduce the size of the large allocation from 4 bytes to 1 bit for each page in the database file.
...
FossilOrigin-Name: fa3a498dfe9ed59c30da5eaa0d7cad167fd4e393
2012-04-03 17:43:28 +00:00
drh
2aad3da6ea
Fix a typo in the rtree6.test script that prevented it from running.
...
FossilOrigin-Name: 221fe4a8ea5bea90031e459746ea71ff173e6f52
2012-04-03 17:05:16 +00:00
drh
67d97343a3
Rerun autoconf to update the configure script for version 3.7.12
...
FossilOrigin-Name: 6d73eb20e825f51143a1b59ad33f44e6448ef760
2012-04-03 17:01:36 +00:00
drh
5d4e1e1a50
If the SELECT that finds all root pages in the showdb fails, then report
...
an error.
FossilOrigin-Name: 4b16141501655faa23e7d34ad05570ea929abb7c
2012-04-03 15:10:34 +00:00
drh
3aeea46397
Enhance the "showdb" utility program with the "pgidx" option. Now requires
...
linkage with the amalgamation.
FossilOrigin-Name: 4b5737014c6f1638de9dc162463508ea7dfe333d
2012-04-03 14:59:50 +00:00
drh
f439fbdab5
The SQLITE_RTREE_INT_ONLY compile-time option causes the RTree extension
...
to use only integer math and store only integer coordinates.
FossilOrigin-Name: 02b7640f5118e0a635b68f65765191bb3171b7bd
2012-04-02 21:35:42 +00:00
drh
3b06a2a056
Add #ifdefs to allow a test build to succeed even if SQLITE_ENABLE_FTS3 is
...
not defined.
FossilOrigin-Name: fb121980e48af368353431fd04924e414b65c852
2012-04-02 17:18:23 +00:00
drh
a477a8670f
Fix a compiler warning by removing a redundant variable.
...
FossilOrigin-Name: af602d87736b52802a4e760ffeeaa28112b99d9a
2012-03-31 19:12:23 +00:00
drh
e77593fc50
Test cases for RELEASE and ROLLBACK TO of a nested savepoint while queries
...
are pending.
FossilOrigin-Name: d2bf0efa7da59448a62f5be795403be4e5b7fb7f
2012-03-31 17:50:12 +00:00
drh
31f100556c
Do not abort pending queries on a RELEASE of a nested SAVEPOINT.
...
This is a candidate fix for ticket [27ca74af3c083f787].
FossilOrigin-Name: 79a4a3a84f0b367d54da5e69e64ffca474264717
2012-03-31 17:17:26 +00:00
dan
8c2e0f02ba
Modify selectColumnsFromExprList() to avoid ever incorrectly returning SQLITE_NOMEM.
...
FossilOrigin-Name: e7cb6b73ac079d0751b3f9429d0f6a35ca8ec853
2012-03-31 15:08:56 +00:00
dan
a25a42cfe7
Change the ICU tokenizer so that it does not attempt to call strlen(NULL).
...
FossilOrigin-Name: 04298f1ac42c40cb2a48092b415acf96a08954b7
2012-03-31 11:58:23 +00:00
dan
2b9ee77fd6
Fix a bug in the EXPLAIN code for listing trigger programs that was causing an out-of-bounds read.
...
FossilOrigin-Name: c9342ca58105499a5eb61c3e6d016559b6072c95
2012-03-31 09:59:44 +00:00
drh
5fb52caadf
Do more aggressive optimization of the AND operator where one side or the
...
other is always false.
FossilOrigin-Name: f9a7e179cbbeeab5e57bbf392bef89750215546b
2012-03-31 02:34:35 +00:00