drh
ed1d84e395
Fix a bug in the wal.test script so that it works on big-endian systems.
...
FossilOrigin-Name: 40fe9088fb73eee7b37b574a1dda422266a58638
2012-05-11 20:43:47 +00:00
drh
26d8b0fb49
Fix a harmless compiler warning inside an assert() statement within test code.
...
FossilOrigin-Name: e68a3527decb434e8d0ac6b23a3cedba5992cedd
2012-05-11 15:53:18 +00:00
drh
d187655341
Fix an evidence-mark typo in the comments of sqlite3.h. No changes to code.
...
FossilOrigin-Name: 2b074085911d066a4411e46ce8e26a9d08cc0ce3
2012-05-11 15:31:47 +00:00
drh
dd9819c4c1
Fix a harmless compiler warning.
...
FossilOrigin-Name: 2b77301b9613c7caa02147095d728fd5b65dd120
2012-05-11 11:28:40 +00:00
dan
5cfed52dd1
Have the FTS auxiliary functions correctly handle terms that appear in non-matching branches of the FTS expression. Fix for [bdc6bbbb38].
...
FossilOrigin-Name: 4d3e1673b309a3d6a6cac01d67dfd79a8007f991
2012-05-10 17:43:14 +00:00
drh
882f87d826
Merge the table constraint parser fixes from trunk.
...
FossilOrigin-Name: 12bb31dd6f0d8544406710d6f02f0b7c0fe6c537
2012-05-10 13:03:28 +00:00
drh
aeb281c2ea
Further changes to constraint parsing to support legacy syntax.
...
FossilOrigin-Name: 38bf90af1ede6ee64ef7be66392e895e60c9126e
2012-05-08 11:17:33 +00:00
mistachkin
b60803f4b9
Merge parser adjustments from the trunk.
...
FossilOrigin-Name: 0d8b920b2c195f3735608e7a08f5d23724cdf806
2012-05-07 22:29:19 +00:00
mistachkin
fcd2f12fc7
Merge Windows directory checking changes from trunk.
...
FossilOrigin-Name: 7a7466f400e94d8c9e745efb2973300474a74d2a
2012-05-07 20:28:19 +00:00
drh
4dc330dd33
Adjust the parser so that certain legacy schema constructs (that are not
...
valid according to the syntax diagram) continue to be accepted, so that
older databases that happen to use those constructs are still readable.
This fixes an issue introduced by check-in [1b75f301affac6]
FossilOrigin-Name: a1c014d8a87c8940b3a037d8d8cc4d5678809802
2012-05-07 19:21:36 +00:00
mistachkin
727760f5f5
Merge Windows directory checking changes to trunk.
...
FossilOrigin-Name: a4555a53eab3f5d2f142c78a6b71189544e80ae6
2012-05-07 18:10:12 +00:00
mistachkin
48a55aa988
Simplify directory checking for winOpen and add checking to winDelete.
...
FossilOrigin-Name: b08530e1a02cba03afefd65dc101e074e8847c07
2012-05-07 17:16:07 +00:00
drh
1e039a240f
Do not do the AV retry loop on open if the file that is attempting to be
...
opened is really a directory.
FossilOrigin-Name: 03875633f465e82fbe99829f96db25f6d32bd333
2012-05-07 13:15:20 +00:00
drh
3badf8a96d
Sync the latest trunk changes into the winRT branch.
...
FossilOrigin-Name: be4ab188cffbe97ae4f1f0520591bb7f0df185de
2012-05-04 23:11:21 +00:00
dan
7a9fc59efa
Update a test in io.test to account for [05f98d4eec].
...
FossilOrigin-Name: bfa61e781cb442be641486e7e55a1518e888d830
2012-05-01 14:21:57 +00:00
drh
a4c5860e6f
Fix a minor deviation from the coding style guidelines.
...
FossilOrigin-Name: 1e51bffe777587cd05bd7db5e02d6291c3eb8c1a
2012-04-27 16:38:11 +00:00
drh
70331cd725
Enhance the processing of ORDER BY clauses on compound queries to better
...
match terms of the order by against expressions in the result set, in order
to enable better query optimization.
FossilOrigin-Name: a49e909c8738317c8383ce93771c0a9c4cf270bc
2012-04-27 01:09:06 +00:00
drh
3f17aefb35
Enhance the do_test proc in the test suite so that if the expected result
...
is of the form "/.../" or "~/.../" then regular expression matching is done
between result and the "..." part of the expectation. In the ~/.../ case,
we expect there to be no match.
FossilOrigin-Name: c9a734406c016329e80d887f7438206e41c52ce7
2012-04-27 01:08:02 +00:00
drh
9250581af4
All virtual table constructors to be invoked recursively. A test case for
...
this has been added to TH3.
FossilOrigin-Name: 696a5a40bb28c4a54c9951f877b67015dc00bf55
2012-04-26 22:47:20 +00:00
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