drh
a199ffca58
Include a hint in the header comment of the LSM1 makefile about how to
...
set the LSMOPTS variable.
FossilOrigin-Name: b5e3b264814cde9572130b70fc0d21ccebc2d7f5f0e7db50b6395cb63723383e
2017-07-14 15:42:11 +00:00
drh
aa15168983
Update the Makefile for LSM1 so that the LSMOPTS can be set prior to
...
including the Makefile, in order to add platform arguments such as -fPIC.
FossilOrigin-Name: fe319bcd7f85e9997babdb024ab350514524f5901903600fa9780bdcd1805098
2017-07-14 15:32:11 +00:00
drh
3eddffd8bb
Fix a typo in the header comment to the remember extension. No code changes.
...
FossilOrigin-Name: 604b9664f4dd6e8d188b5c57407edbbe0639345f8d30bf2d19016f8324934840
2017-07-14 15:18:51 +00:00
drh
e83b847b75
Change the name of the STMT virtual table to SQLITE_STMT. Also remove the
...
first column of that virtual table, which was a pointer leak.
FossilOrigin-Name: 1bc4e93407b7894b0271fbde3720930dcaadda6070e871d9719c4e8dc65b915f
2017-07-14 15:14:21 +00:00
drh
923260c865
Minor updates to requirements marks and documention. No changes to code.
...
FossilOrigin-Name: 8f6dd5e2907d6df230fcbceadd226496bcc35a33c117da58215f7d333c1cc7b8
2017-07-14 13:24:31 +00:00
dan
4b8035e69b
Add very simple tcl tests for the lsm1 extension.
...
FossilOrigin-Name: 5e0a97930b08fff1c3a29f5c8b2962b856e3302209228c0e71b9f1a1bd2a4be3
2017-07-14 11:40:48 +00:00
drh
17ca22616b
Minor tweaks to documentation. No code changes.
...
FossilOrigin-Name: d8cd0434f3451e27aefe38a1a9efdc4dfded2ea33baf25d82814c89264f3afff
2017-07-14 04:16:03 +00:00
drh
968d8715fd
Fix harmless compiler warnings in the readline tab-completion logic of the
...
command-line shell.
FossilOrigin-Name: 271ca4acfcff448cf863045595d2c2616decd13b6015d7db481c91e2ad5bb92a
2017-07-14 00:28:28 +00:00
drh
33b46eeb35
Improved documentation for the new sqlite3_bind_pointer() interface and its
...
cousins.
FossilOrigin-Name: 889968bdbf1c258238cb68d82f059e16366c4a40c2d541dd4a1811ab72e693cb
2017-07-13 22:39:15 +00:00
drh
4ba5f33f39
Improvements to the documentation for SQLITE_PREPARE_PERSISTENT.
...
No code changes.
FossilOrigin-Name: 265778142485882f39edfb5756175b2675c1993f0d6395dabbcbbb3767c6ec77
2017-07-13 22:03:34 +00:00
drh
06aecf0954
Fix documentation typo. No changes to code.
...
FossilOrigin-Name: 9319f7b71f68c9dc64c22c60b90650955b72f6bd9852d5ea86fa96a5c6fede37
2017-07-13 20:11:52 +00:00
drh
c9407508b1
Update header comments on the carray() and remember() extensions to bring
...
out the fact that the pointer arguments must be bound using
sqlite3_bind_pointer().
FossilOrigin-Name: 55f5396576d186f310cb0fa66fbdb8ea68c18a3d0fe5de4b395ea03c7aa04c9e
2017-07-13 19:11:13 +00:00
drh
96b10030e9
Add new interfaces sqlite3_bind_pointer(), sqlite3_result_pointer(), and
...
sqlite3_value_pointer() used to safely move pointer values through SQL without
exposing underlying memory address information.
FossilOrigin-Name: 72de49f204277191f62601cce70d5013ec30b564a01063f1e841019c78ae6c77
2017-07-13 18:09:36 +00:00
drh
4c997c6e75
Fix an incorrect type signature for the loadable extension pointer
...
for sqlite3_result_pointer().
FossilOrigin-Name: 0bd7875bd9948836a14061275eb8ddac627f562a49f59f400ec98c00e2be82c5
2017-07-13 17:56:52 +00:00
drh
5587d86ddd
Add the three new pointer interfaces to the loadable extension mechanism.
...
Update sqlite3_value_subtype() documentation to remove the statement about
it not being used internally.
FossilOrigin-Name: e5a518038fcb23376d2b17d4d70648320bc5540c5bd8b164201044ebe1ce45c5
2017-07-13 17:54:12 +00:00
drh
d43748aa98
Update the FTS3 extension to use sqlite3_result_pointer() and
...
sqlite3_value_pointer() for passing FTS3 cursor objects from the table
into functions such as snippet().
FossilOrigin-Name: 0fa2e170e5e078d155c98b212ade36bd8424502ae07f2d82ebf77a76f57586ba
2017-07-13 17:48:14 +00:00
drh
3fb406083a
Merge the latest changes from trunk.
...
FossilOrigin-Name: a54be6e041a9185787a22b86603dcb0654e5e4af71225b556d1b6279f8520ad8
2017-07-13 17:34:46 +00:00
drh
0c2433003d
Smaller and faster implementation for vdbeFreeOpArray() and freeP4().
...
FossilOrigin-Name: 0c80593520d30958231be41fc443209eb39e0b3ee0e66308c3ef3a0f4cb8ea66
2017-07-12 20:43:23 +00:00
drh
7ccf95dbab
Fix harmless compiler warnings about incomplete structure initializers.
...
FossilOrigin-Name: 604c11d1a39f09e47b6fcee0f8b1c1054f9dbbc7b2c1cf93312aeaa4b7095018
2017-07-12 18:05:54 +00:00
drh
980a89e630
Remove unnecessary EP_Leaf settings on the Expr object.
...
FossilOrigin-Name: f951c8b71b2369da62a329c792af5e3d3087bbe020f38c68ca1d0a594b904c08
2017-07-12 17:26:44 +00:00
drh
971ecd7eaa
The EP_Resolved flag on the Expr object is not required for correctness nor
...
performance, so remove it.
FossilOrigin-Name: 54f55d3b7973e326541a81bfb2e752a2f6618e4fec9a3631b95f28e12e9c6e34
2017-07-12 17:08:24 +00:00
drh
ec360a8d01
Clarification and simplification and result column naming logic.
...
FossilOrigin-Name: 68824a439b76a4cca05609a02de7abdc42bd1d26afbfcd047b90001c610d3c56
2017-07-12 14:10:19 +00:00
dan
47ebd4cadd
Fix a problem in an lsmtest test case caused by writing data in "text" mode
...
instead of "binary".
FossilOrigin-Name: 3e56a79ad8754e6da3181883154fa1c8b227a8d16c9b2a3eba925371595ae1f9
2017-07-12 14:03:13 +00:00
drh
f0f44b79c9
Compile cleanly with SQLITE_OMIT_UTF16.
...
FossilOrigin-Name: 783100b801703577e35ec12fe7623e1797e49699f3b8deb0694ef061a142b844
2017-07-12 12:19:33 +00:00
dan
1cd523cf0f
In lsm, attempt to unmap the database file before truncating it when
...
disconnecting. A mapped file may not be truncated on win32.
FossilOrigin-Name: 39069941e98605bc8c7c736819781761760ee2b83363471ceb6f19e5eb06b13a
2017-07-11 20:36:35 +00:00
dan
416b8694fa
Simplify the way in which the database file is truncated when the last
...
connection disconnects. Also ignore the error code from the xTruncate call -
as truncating a database file is always optional.
FossilOrigin-Name: b0a49d90fc91acca1306cf6145adc83acd368686768b7eb4a3b27515b3237396
2017-07-11 19:55:38 +00:00
drh
8999798e60
Fix harmless compiler warnings in the core.
...
FossilOrigin-Name: 55e93f256018757e5e1cb3b10ef48abf5914e7687419eae58b00998a37061261
2017-07-11 18:11:33 +00:00
mistachkin
ba334bb20d
Make win32GetTimeOfDay() in the lsm1 test code more portable.
...
FossilOrigin-Name: 2fe3a84330063378ca9fc5bfc8efe486c52d50b5c40be4f402a4f2318be69436
2017-07-11 17:54:27 +00:00
drh
db3e0456d2
Enabled the new sqlite3_prepare_v3() and sqlite3_prepare16_v3() interfaces
...
for loadable extensions.
FossilOrigin-Name: b9debd626a68c4bc0e5fdeb8d15a991cfe6f62f9586eda76c07a1c18e498e3c2
2017-07-11 17:28:27 +00:00
mistachkin
b7bfc3b12d
Fix a whitespace alignment issue in lsm1.
...
FossilOrigin-Name: a8e651e0e52b016c3939df3ee23b4981f1a8841c7ddd2981c1ef391feb559a5e
2017-07-11 17:06:42 +00:00
mistachkin
36c68234d6
Fix more harmless compiler warnings in lsm1, seen with MSVC 2015.
...
FossilOrigin-Name: 0f1307f1f5638c1c4f1ce2b89cdef7ce8b76dc2a38685cd1ca152cde9e8727da
2017-07-11 16:46:41 +00:00
mistachkin
1be5051923
Fix harmless compiler warnings seen with MSVC for lsm1.
...
FossilOrigin-Name: cf6da4a52f7f9047e653ef2972e4c0910b29d7182d789a9e30225dc1849e8779
2017-07-11 16:36:10 +00:00
drh
56eb09bc23
Add support for tab-completion (using the ext/misc/completion.c virtual table)
...
to the command-line shell.
FossilOrigin-Name: 95cd1d9f8baa6be305c9a8bfa26fef2a403f2d5b3b5c9c55382ec04f0bc98d40
2017-07-11 13:59:07 +00:00
drh
2ce15c3f4c
Change the src/shell.c file so that it is generated from a new script at
...
tool/mkshellc.tcl and the template file src/shell.c.in, and automatically
includes the extensions it needs out of ext/misc.
FossilOrigin-Name: 17e0bb12d82b510b86b6886b9fd0faf39b60b1374027344f89d7b89a32b842b9
2017-07-11 13:34:40 +00:00
drh
e2b01012bc
Fix a backup2 test case so that it works on FreeBSD.
...
FossilOrigin-Name: 724819b456ca7a5ca6d68415b3b3554741c3ddbb5c416cb6b6b5fc54177f426e
2017-07-11 02:53:38 +00:00
drh
f3c0009d8b
Add the "phase" output column on the COMPLETION table-valued function, for
...
debugging. Improved comments on the implementation.
FossilOrigin-Name: 0e2135552757cc6566ac959475d3b87254b6d462425ee6c457c743001f3370e2
2017-07-11 02:05:21 +00:00
drh
dc4dde6bd9
The COMPLETION virtual table now looks at the names of databases, tables,
...
and columns in addition to SQL keywords.
FossilOrigin-Name: 1cc97711fa86a3938f0930200476d1b0991e4b893a8be3a19015423a3de56bef
2017-07-11 01:38:45 +00:00
drh
3265b5649e
Incomplete implementation of the COMPLETION table-valued function. So far it
...
only works for SQL keywords.
FossilOrigin-Name: caefbc723b5f67afc5ef10b92b20400cbb76cb03e7e75e18d2726cc552083e09
2017-07-11 00:09:44 +00:00
mistachkin
b2950c48e1
Fix harmless compiler warnings in lsmtest.
...
FossilOrigin-Name: bd8a1fb9b33418717c786a7275f636cd4d5facd66de9a416f948b61c6490c743
2017-07-10 21:32:11 +00:00
drh
4a9e14077e
Fix errors in comments in the STMT virtual table. No code changes.
...
FossilOrigin-Name: 9a8f045d62f5c6593a5a2842e817b49fa9d00c74e329a15a326f74e583c1f767
2017-07-10 20:39:59 +00:00
mistachkin
240e7ef4bb
Minor cleanup and refactoring of the Win32 VFS for lsm1.
...
FossilOrigin-Name: bf7eda67c8124c3cd5d9150f2f2694cd3f991b20e0a527398885976d0d787242
2017-07-10 20:33:50 +00:00
drh
a868639656
Another spelling error in the README.md file.
...
FossilOrigin-Name: 0512937425df6f274153f1d822fc4fe358601c2944745c0039c40e645ebedd82
2017-07-10 19:54:48 +00:00
drh
e1869a91d6
Spelling error in README.md
...
FossilOrigin-Name: 12bc47c50252f1307b224d171069b93192d0c905aadf480829bba390c059aee4
2017-07-10 19:08:59 +00:00
drh
764fb30330
Yet another typo in README.md
...
FossilOrigin-Name: 75c9327b551d072effbb37efebf5fbe1a45965f89fe285df364dda06ca866cd7
2017-07-10 19:07:11 +00:00
drh
67d5bf9118
Fix another README.md typo.
...
FossilOrigin-Name: 20b1f0eff175aa8be9a7a631ede0a434f6c340fcdb931633e1f228d1fb35abde
2017-07-10 19:05:58 +00:00
drh
14d5ff4202
Fix an obsolete statement about Lemon in the README.md file.
...
FossilOrigin-Name: 4f6ce7a38baef24e00818926b9b8dc852334e3d4011f1d3a577c8c7e5f7ed93e
2017-07-10 19:03:04 +00:00
mistachkin
91ea8cf4ac
Cleanup header usage in lsmtest for files that require _O_BINARY.
...
FossilOrigin-Name: f3a6a64ec90e6cf24aadf62aef4f92104be5ba6790f7fca040eff7abc31f1061
2017-07-10 18:57:03 +00:00
drh
7ff64dc2bc
Updates to the repository README.md file.
...
FossilOrigin-Name: 7bfd3ab7996bf869eb2705495f3f2cd8bd6d1f4d029a1f26041e95049a9bfd3b
2017-07-10 18:52:29 +00:00
dan
ff7733db52
In LSM, avoid calling the VFS xTestLock method to test for a lock that
...
conflicts with one held by the same process. The results of such a call are
considered undefined (since they are different under win32 and posix).
FossilOrigin-Name: a82a9bea624caf6b24d8e3f3c596817968b258f06e54288022f6df8226281057
2017-07-10 18:33:41 +00:00
drh
dbc26722cd
Add the "--newlines" option to the ".dump" command in the shell to disable
...
the newline escaping mechanism.
FossilOrigin-Name: bde431b1e332feaeb516dc46d180e2b2f42820c471feed7eda89452ada898dc9
2017-07-10 18:04:41 +00:00