50d348b1e1
Harden sqlite3session_delete() against trying to delete a session that
...
is not currently on the session list.
FossilOrigin-Name: 6c2d34df76fb7823f307c11a1135ab30674421a9
2016-02-13 14:45:56 +00:00
6fee795885
Fix a problem in sessionfault.test causing it to segfault following a test failure. This commit does not fix the actual test failure - just the subsequent segfault.
...
FossilOrigin-Name: 582b2ae77d65b1e142ceb5774f37b0aaa3851378
2016-02-13 14:39:46 +00:00
d8b7d6e44c
Merge the changes for the 3.11.0 release candidate from trunk.
...
FossilOrigin-Name: 4d7a802e73ef0352f840bc8d74c560afb7666ff7
2016-02-13 14:07:56 +00:00
53ff9c2972
Fix a potential buffer overread provoked by invalid utf-8 in fts5.
...
FossilOrigin-Name: a049fbbde5da2e43d41aa8c2b41f9eb21507ac76
2016-02-12 18:48:09 +00:00
f2d328fa25
Fix a fairly obscure buffer overread in fts5.
...
FossilOrigin-Name: 130580207ab5cee762b2893808acef7c8afad027
2016-02-12 17:56:27 +00:00
aa622c1f4f
Fix a documentation typo. No changes to code.
...
FossilOrigin-Name: d9c985878cf7c74a79ccdb9cf94a2d48fdde3e6f
2016-02-12 17:30:39 +00:00
cd42352526
Enhance mptester so that it takes great care to delete its test database
...
prior to start-up, including checking the return code from unlink() and
retrying after a delay if unlink() fails. Hopefully this will clear
intermittant startup problems on Windows.
FossilOrigin-Name: 6ea84ec1e02f0a48953bc758027ab7148529c36e
2016-02-12 17:27:32 +00:00
a819aed880
Naming updates for Universal Windows Platform.
...
FossilOrigin-Name: 717c1fc41a2246e27b324a4071073c286bac4efc
2016-02-12 05:19:29 +00:00
f981093760
Remove an unused parameter from whereSortingCost().
...
FossilOrigin-Name: b5d771991686bf86a679b7dff9f16301a5029c8b
2016-02-12 00:13:38 +00:00
4553f6ea91
Automatically disable FTS3 and FTS4 when building with SQLITE_OMIT_VIRTUALTABLE.
...
FossilOrigin-Name: 0beb32d20d8dd698138cdb2de6b6056de176754d
2016-02-11 22:41:04 +00:00
30470c5162
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
...
FossilOrigin-Name: f183e05990608d1a4002fa8a02c2d2eea6bc94b6
2016-02-11 21:59:02 +00:00
c50d5908b4
Remove the unexplained extra 3.0 cost factor for the B-tree sorting that is
...
done to implement DISTINCT in the absence of an index to help.
FossilOrigin-Name: 52571991fcfa2629e8a8354e0c9a62e749a092bf
2016-02-11 21:55:23 +00:00
5d2e2f1267
Remove the unused fts5BlobCompare() routine.
...
FossilOrigin-Name: defc762dd11144402abd591278819768a080d5ea
2016-02-11 21:53:57 +00:00
e2eb259fce
Prevent 'expanded command line X too long' errors during the batch 'for' loops used for copying files.
...
FossilOrigin-Name: 67ee9b5af10a8b57a37f19ac040e49fdfcec4145
2016-02-11 21:38:05 +00:00
c04c54b842
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
...
FossilOrigin-Name: 54ff3a26bc45a1c3c0690119e8fd00b02e2a16ba
2016-02-11 21:28:16 +00:00
df9c59f74d
Fix another unused variable warning in fts5 code.
...
FossilOrigin-Name: 61b4c120540afd80a4021b0d3990f13acc38a059
2016-02-11 18:18:33 +00:00
2a44b3d877
Avoid a buffer overread when reading a corrupt fts5 structure record.
...
FossilOrigin-Name: facbc424e555061135aced7b134bf6c19f54e484
2016-02-11 18:08:38 +00:00
22e8356368
Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code.
...
FossilOrigin-Name: bc3f7900d5a06829d123814a5ac7b951bcfc1560
2016-02-11 17:01:32 +00:00
df3a907ecc
Add JSON1 and FTS5 to the set of extensions subject to close compiler warning
...
analysis. Fix some warnings in each. More (harmless) warnings still exist
in FTS5.
FossilOrigin-Name: cfe2eb88b504f5e9b1351022036641b1ac4c3e78
2016-02-11 15:37:18 +00:00
c41c132cf0
Minor simplifications deferred to the next release.
...
FossilOrigin-Name: a863729ccb75a56330460d3b7d558e639ad733d1
2016-02-11 13:30:36 +00:00
8988aeef60
In the MSVC makefile, include the working directory so that it can pickup build generated files (e.g. sqlite3.h, etc).
...
FossilOrigin-Name: e9e6000bd2f7e0ef85178db2b5b8f20e4cf0093c
2016-02-10 21:45:25 +00:00
05723a9e3c
Add testcase() macros to the CHECK constraint avoidance logic. Avoid creating
...
an unused VDBE label during CHECK constraint code generation.
FossilOrigin-Name: 970881befd5da6cc837c474d6e917de0bf029350
2016-02-10 19:10:50 +00:00
98bfa16db2
Fix to previous check-in: Make sure CHECK constraints involving the ROWID
...
are not ignored when the ROWID changes.
FossilOrigin-Name: 7782cb1dd5914b867caf5ff2f0f837407abbfd7a
2016-02-10 18:24:05 +00:00
2a0b527b37
Omit unnecessary CHECK constraints in UPDATE statements, when none of the
...
columns referenced in the CHECK constraint are modified.
FossilOrigin-Name: 02fbdbc782dd98f080bf4482d820f36c0ef3d519
2016-02-10 16:52:24 +00:00
bdb00225ab
Omit NOT NULL checks on unchanging columns in an UPDATE.
...
FossilOrigin-Name: 6a3aaedfb41735996470abbae6d3cd1be1f508b3
2016-02-10 16:03:20 +00:00
dd2b59b01d
When generating the snapshot-tarball, truncate the date/time in the name to
...
12 significant digits (YYYYMMDDhhmm) omitting the seconds and fractional
seconds.
FossilOrigin-Name: 604f77754797a4066f6cf275c7bc8a68d2839c2d
2016-02-10 13:36:17 +00:00
0d4f9354db
Updates to the autoconf tarball README.txt file.
...
FossilOrigin-Name: a3e911e3aa3e35446bed7f300bfe03f66e1494db
2016-02-10 13:17:14 +00:00
8809d821b4
Update the snapshot tarball name to use the date (ISO8601 format) instead
...
of the SHA1 hash in its name.
FossilOrigin-Name: 070ec66f677cdcd30087871feb8afd010a184b75
2016-02-09 22:54:39 +00:00
07f76568da
Add the new "snapshot-tarball" target to the unix makefiles, for building
...
a tarball similar to "amalgamation-tarball" but named by the SHA1 hash of
the current check-out rather than by the version number.
FossilOrigin-Name: 4f360b2ae78b3d4ccfe6c40ac6b27a00fc70cf23
2016-02-09 22:39:39 +00:00
c5286de0ee
Update the MSVC autoconf makefile with the recent changes from the primary one.
...
FossilOrigin-Name: c7242aa3e9c08e0c019388e89a785a6e59c915d5
2016-02-09 22:00:48 +00:00
949c5d3cfc
Fix the makefiles in the autoconf-tarball so that they build the command-line
...
shell with SQLITE_ENABLE_EXPLAIN_COMMENTS.
FossilOrigin-Name: 1135ad014aac8a4ae5169375af1b368feaa8331b
2016-02-09 20:37:46 +00:00
6d94555914
In the shell, use the appropriate string constant instead of a literal new-line.
...
FossilOrigin-Name: 61951b153d47096f30ebc8b84af408d9d709637c
2016-02-09 20:31:50 +00:00
d4e2857815
Enhance the command-line shell to be in auto-explain mode by default. It is
...
no longer necessary to use the ".explain" command to put the shell into a mode
where the EXPLAIN output is formatted nicely. That now happens automatically.
FossilOrigin-Name: 751915cb7e4981661a40dc5e4d029ab27434c2d9
2016-02-09 20:11:14 +00:00
87a24aa1ca
Improved auto-detection of EXPLAIN output in the shell.
...
FossilOrigin-Name: 6c6d7a6e89e67cdb0813d3eebb869aafb43d43ed
2016-02-09 20:04:07 +00:00
700c252a72
Add auto-explain mode to the command-line shell. Default on. Auto-explain
...
tries to automatically detect EXPLAIN queries and format them appropriately.
FossilOrigin-Name: 1d62aa6b315df47cafb33da7ca79d3386a2fdd48
2016-02-09 18:39:25 +00:00
406eeff6ff
Fix MSVC makefile options that enable control-flow guard.
...
FossilOrigin-Name: 51b6823f4c9376d549f572f5a33cac1e4c9783a2
2016-02-09 18:28:20 +00:00
74cf74ab7f
Fix the top-level makefiles to always include SQLITE_ENABLE_EXPLAIN_COMMENTS
...
when building the shell. Still need to fix main.mk and the
amalgamation tarball.
FossilOrigin-Name: 992282399cd2d1fc52ff5a1a4bff59f30b62899a
2016-02-09 17:12:22 +00:00
bbde018230
Code simplification: ALTER TABLE ADD COLUMN always upgrades the file_format
...
to 4 if is not there already. No need to upgrade to only 2 or 3 since format
4 has now been supported for over 10 years.
FossilOrigin-Name: e1d8ec85546caeca3bb7a05ad962a2aed91194ce
2016-02-09 16:09:22 +00:00
1a606f8246
Merge enhancements and fixes from trunk.
...
FossilOrigin-Name: f040a5bb62f3473fba6450c97c68f538d1df21ef
2016-02-09 15:44:18 +00:00
2fade2f791
Make sure every co-routines has its own set of temporary registers and does
...
not share temporaries, since a co-routine might expect the content of a
temporary register to be preserved across an OP_Yield.
Proposed fix for ticket [d06a25c84454a].
FossilOrigin-Name: ca72be8618e5d466d6f35819ca8bbd2b84269959
2016-02-09 02:12:20 +00:00
e48f1ed9bf
Fix spelling error in MSVC makefile comments.
...
FossilOrigin-Name: 6eab74c9ae57676044b5bc82fa14e92fd2448008
2016-02-08 20:45:37 +00:00
55e88d96ed
More work on Windows 10 SDK integration.
...
FossilOrigin-Name: 1e563c6ebbb02d2e89760c7a7f95aa69964629c6
2016-02-08 20:40:57 +00:00
c2d0b56e6a
Fix a signed/unsigned comparison warning in fts5.
...
FossilOrigin-Name: 85eb05ddbc3a7cff986af13c3dab6c0063e62171
2016-02-08 20:14:41 +00:00
83d7920e55
Fix a compiler warning when compiling without SQLITE_ENABLE_FTS3_TOKENIZER.
...
FossilOrigin-Name: 6926f28cd56bf61f7c92877baa54024bee7cbab5
2016-02-08 20:06:52 +00:00
e064c4066c
Disable the two-argument form of the fts3_tokenizer() SQL function unless the library is built with -DSQLITE_ENABLE_FTS3_TOKENIZER.
...
FossilOrigin-Name: e0eb217aca7e4aadf9c44ed20822b78139f7c83c
2016-02-08 19:40:17 +00:00
e96f361995
Changes to help the tokenizer run about 33% faster.
...
FossilOrigin-Name: a050e6f096d40aa5b6275797b96e62c228044f5a
2016-02-08 19:36:46 +00:00
34dcee6544
Add code to get the tokenizer character-class logic working for EBCDIC.
...
FossilOrigin-Name: 04f7da77c13925c1f1e287f4579bb85518297d81
2016-02-08 19:15:48 +00:00
41aab89b31
Faster keywordCode() implementation by taking advantage of the fact that
...
the input is always pure ASCII alphabetic and underscore and that the keyword
table is always upper-case.
FossilOrigin-Name: ff406b9701ebe3a01834837f380641c6f0c495bc
2016-02-08 03:23:46 +00:00
8974331fc3
Demonstrate a much faster sqlite3GetToken() routine by using a lookup table
...
to map initial token characters into a character class. This check-in does
not work for EBCDIC. More optimization needed.
FossilOrigin-Name: 9115baa1919584dc8ca25bbff54d3b65748a9631
2016-02-08 02:30:50 +00:00
27b6997e9c
Fix harmless compiler warning in 'srcck1' tool and add it to the clean targets.
...
FossilOrigin-Name: 852a529a8b112049f67a3126f677c06ae4a22d73
2016-02-07 20:39:27 +00:00