]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Wed, 26 Jul 2017 18:26:44 +0000 (18:26 +0000)]
Allow ATTACH and DETACH to occur inside of a transaction.
FossilOrigin-Name:
ac1fd6beb6c804af5faf1e06a51177a8316007ff9e718c398bd7a24d2ecc4ed3
drh [Wed, 26 Jul 2017 10:04:51 +0000 (10:04 +0000)]
Fix a comment on the UnpackedRecord.r1 and UnpackedRecord.r2 fields.
No changes to code.
FossilOrigin-Name:
622b108915c7982b29ca9920abde941fff55234b70af9ac4122e4827b35d985c
drh [Tue, 25 Jul 2017 01:34:05 +0000 (01:34 +0000)]
Fix a bug in the deterministic date/time function logic that can only appear
with STAT3 or STAT4.
FossilOrigin-Name:
1ca707a4fb8db7aa85430413164265607ce727fc8a5afc3424b3abfb59921b39
dan [Mon, 24 Jul 2017 20:01:36 +0000 (20:01 +0000)]
Do not attempt to run test file unionvtabfault.test with SQLITE_OMIT_VIRTUAL_TABLE builds.
FossilOrigin-Name:
1a632a9a6c85b78abe0351ef91c7478b26299c4c1c269d5796afb1e172084517
dan [Mon, 24 Jul 2017 19:25:45 +0000 (19:25 +0000)]
Do not attempt to run test file unionvtab.test with SQLITE_OMIT_VIRTUAL_TABLE
builds.
FossilOrigin-Name:
9a5a3d60a5c6ce23bbdab5832f706bee8acdc4b1767aeed82b1aceb294f050f7
drh [Mon, 24 Jul 2017 17:37:35 +0000 (17:37 +0000)]
Handle a real OOM condition when incrblob2.test is run on a low-memory machine.
FossilOrigin-Name:
f483d06a9af8d6771090551d911831e1df13bb05a6b7780499594703c28ebbb2
drh [Mon, 24 Jul 2017 15:29:16 +0000 (15:29 +0000)]
Additional documentation on sqlite3_bind_pointer() and sqlite3_result_pointer().
No changes to code.
FossilOrigin-Name:
b1572d4e05934a0dc1b73092acba652fa50e97552eb6e9a1cedea7c71055804b
drh [Mon, 24 Jul 2017 14:44:15 +0000 (14:44 +0000)]
Compiler warning fix associated with date/time functions.
FossilOrigin-Name:
a98f07d942f0b8cc15da57b84e6340efae72ff19516fa04624242240af43a697
mistachkin [Fri, 21 Jul 2017 20:31:31 +0000 (20:31 +0000)]
Remove stray (and incomplete) comment from a test file. No changes to code.
FossilOrigin-Name:
8de20fc72a9b55fabd2444b2d73c88c65658430d6d182da9f0e2f3432373ab51
drh [Thu, 20 Jul 2017 20:49:41 +0000 (20:49 +0000)]
Fix a harmless typo, but one that would show up in the documentation if not
fixed.
FossilOrigin-Name:
e4b1dd36838c4a35913b393b5aad948db9eccfb89b2cd456a0227470d7ac4a26
drh [Thu, 20 Jul 2017 15:08:43 +0000 (15:08 +0000)]
Enhance the built-in date/time functions so that they can be used in
CHECK constraints, in the WHERE clause or partial indexes, and index
expressions, provided that none of the non-deterministic keywords
("now", "localtime", "utc") are used as arguments.
FossilOrigin-Name:
a90c062d46c63a1e6f83064b1c5afb26a16e93b6ee8620ca46d169fdb325c488
drh [Thu, 20 Jul 2017 14:36:26 +0000 (14:36 +0000)]
New test cases for date/time functions in indexes on expressions, in the
WHERE clause of partial indexes, and in CHECK constraints.
FossilOrigin-Name:
b7f70c7fcabc10b8b3e62fe5ac68476cec23acaee037c7250ff70bca3f3ab541
drh [Thu, 20 Jul 2017 13:17:08 +0000 (13:17 +0000)]
Combine the Parse.ckBase and Parse.iSelfTab fields into just Parse.iSelfTab.
This fixes a problem with date/time functions in check-constraints. Add
some test cases for date/time functions in index expressions and check
constraints.
FossilOrigin-Name:
22eda0985ecd1f456c073e6ad735a8417f3ff1fb6aaad1640e1cec01e50c51d8
drh [Wed, 19 Jul 2017 19:48:40 +0000 (19:48 +0000)]
Allow indexes to be created on date/time functions as long as the 'now'
date and the 'localtime' and 'utc' modifiers are not used.
FossilOrigin-Name:
0a5e1c04d9d07bb7fd6546a9ddac1bf42b19ea19c2b79570aea6cd4226887a27
mistachkin [Wed, 19 Jul 2017 18:01:42 +0000 (18:01 +0000)]
Remove some 'breakpoint' commands in test files.
FossilOrigin-Name:
d14fc621e918915bbf8e04597eb238ea78dff3d9c5eb4402cb88692d00dbdfee
dan [Wed, 19 Jul 2017 11:52:25 +0000 (11:52 +0000)]
dan [Tue, 18 Jul 2017 21:19:17 +0000 (21:19 +0000)]
Fix a crash in unionvtab caused by a misconfiguration. Add other test cases
for the same.
FossilOrigin-Name:
255d6b99de2bb210c09ebee9f9481ba3d1130fda47e6e01b4cc8411d00679d09
drh [Tue, 18 Jul 2017 20:59:40 +0000 (20:59 +0000)]
Fix shell.c.in so that it aligns with shell.c.
FossilOrigin-Name:
505fdc8ff5150276d3c6ab6135a542b791e9e79e2f76323e592b73b3fdc9bc2a
dan [Tue, 18 Jul 2017 20:49:15 +0000 (20:49 +0000)]
Add test cases and fix minor error-handling issues in unionvtab.c.
FossilOrigin-Name:
deadaad2a0801b3c30d2a076d8eb006b62d8557cff820e0939741c078477c83f
mistachkin [Tue, 18 Jul 2017 20:30:55 +0000 (20:30 +0000)]
Fix duplicate test name. No changes to code.
FossilOrigin-Name:
47b80ecc679e656ef865e73809d6a9aa485eceeacab86d10d405881c5d9872bd
drh [Tue, 18 Jul 2017 20:28:34 +0000 (20:28 +0000)]
Fix another harmless compiler warning. Get the MSVC makefile working with unionvtab.
FossilOrigin-Name:
d49639c208ac366f6c675ac5671accc2a597558b62a51520194276c61f32d406
drh [Tue, 18 Jul 2017 20:22:12 +0000 (20:22 +0000)]
Suppress harmless compiler warnings in union-vtab.
FossilOrigin-Name:
4d147a1e28b93e267889fcb01b538d6a2a58d6b1655512c883fa5b53ddcc60a4
dan [Tue, 18 Jul 2017 20:17:52 +0000 (20:17 +0000)]
dan [Tue, 18 Jul 2017 20:03:49 +0000 (20:03 +0000)]
Improve the readability of the unionvtab code.
FossilOrigin-Name:
5bcf0f86ea7fbbc31a13b2d5b1cf93a92e46fb65fe8e779b3d7e4a98d60d7061
dan [Tue, 18 Jul 2017 19:51:11 +0000 (19:51 +0000)]
Have unionvtab support constraints on the column that corresponds to the
INTEGER PRIMARY KEY field of the underlying source tables in the same way as
rowid.
FossilOrigin-Name:
4a6c416fa025a34116ea30923a673cbb108b251b2676734ec8f603600e38e50e
dan [Tue, 18 Jul 2017 18:50:37 +0000 (18:50 +0000)]
drh [Tue, 18 Jul 2017 18:19:35 +0000 (18:19 +0000)]
Add the union-vtab extension - still experimental and under active
development.
FossilOrigin-Name:
948f95046b7eaa8c68617b36625a7500dd0e69e52425ac6d748f2a311eb2474a
dan [Tue, 18 Jul 2017 17:34:41 +0000 (17:34 +0000)]
Do not use the flattening optimization for a sub-query on the RHS of a LEFT
JOIN if that subquery reads data from a virtual table. Because it prevents the
planner from creating an automatic index on the results of the sub-query, the
flattening optimization sometimes slows things down in this case.
FossilOrigin-Name:
9dbae1df75219e2accd8993015ce0ffc21966d7e69d04178b1a2cc46207fe260
dan [Tue, 18 Jul 2017 17:13:41 +0000 (17:13 +0000)]
Avoid creating an automatic index on the RHS of a LEFT JOIN to optimize an IS
term. Fix for [
ce68383b ].
FossilOrigin-Name:
d2f0b2e859a8a413ee4e4bd7040e450ccd604069e4ea8dbc9ff924718c2b14d7
drh [Tue, 18 Jul 2017 14:41:44 +0000 (14:41 +0000)]
Change the default command-line shell history depth to 2000 lines.
FossilOrigin-Name:
0b69aa7e37495f15c3fcc36969b650262b5aa5500fb40800de9a5c56a03f309d
dan [Mon, 17 Jul 2017 21:03:13 +0000 (21:03 +0000)]
dan [Mon, 17 Jul 2017 20:25:21 +0000 (20:25 +0000)]
Enhance error detection and fix other issues in unionvtab code.
FossilOrigin-Name:
9c3f1b9a82e500e015deb0cc669fbb32e7f0cdc69f926ceff383ab946f8d8d18
drh [Mon, 17 Jul 2017 18:45:23 +0000 (18:45 +0000)]
Merge all changes from branch-3.20. Improvements to the fts5() extension
interface. Work around a gcc/valgrind bug in the sqlite3_value_pointer()
interface.
FossilOrigin-Name:
e0aca7d2c60d9859750a6e98d3e3b87f79779a45920348fc1bda7f1cb93ef996
drh [Mon, 17 Jul 2017 17:46:29 +0000 (17:46 +0000)]
Interchange to branches within an "if" statement in sqlite3_value_pointer()
in order to work around a bug in gcc.
FossilOrigin-Name:
8a606e4abab4efa03f2e5ffc33d7c5faa3c663f339da87b4ce9f3feed5dc7194
drh [Mon, 17 Jul 2017 15:38:57 +0000 (15:38 +0000)]
Improved the interface to the fts5() extension mechanism for enhanced
security.
FossilOrigin-Name:
bc78235f547977f1a821342ca8f3e03103a0eb351f8b3115ac10b43dd9c7044d
drh [Mon, 17 Jul 2017 13:37:07 +0000 (13:37 +0000)]
Merge the pointer-type enhancement from the 3.20 branch.
FossilOrigin-Name:
9e8e1c4aa14bcda165b392d1d8af2ce394a56a8e7b67e4c73c742d8da75e73e2
drh [Mon, 17 Jul 2017 12:41:29 +0000 (12:41 +0000)]
Comment changes clarifying details of the pointer-type parameter. No
changes to code.
FossilOrigin-Name:
e4579e50a1ece4f65dfdae39d5c1670f0e3f7d4824e7d242f07ec9859d15155f
drh [Mon, 17 Jul 2017 12:27:43 +0000 (12:27 +0000)]
Add the pointer-type parameter to sqlite3_bind_pointer(),
sqlite3_result_pointer(), and sqlite3_value_pointer(). The pointer type is
a static string that must match (according to strcmp()) or else the pointer
is passed as a NULL. This is a security measure to prevent crossing pointers
between different extensions.
FossilOrigin-Name:
e1196567fcbc313657836262ed9f71668b1c47f26e4bc57c7880ff40079d66cc
drh [Mon, 17 Jul 2017 11:39:46 +0000 (11:39 +0000)]
Improve the sqlite3_result_pointer() interface so that it cannot be faked
using sqlite3_result_null() and sqlite3_result_subtype().
FossilOrigin-Name:
c13264d5ef0470fb24e09f7bc12f19be3b77eab06d41f55607b38dddb532a132
drh [Mon, 17 Jul 2017 00:40:19 +0000 (00:40 +0000)]
Add an experimental "pointer type" parameter to sqlite3_bind_pointer(),
sqlite3_result_pointer(), and sqlite3_value_pointer(). The pointer type is
a string that must compare equal using strcmp() or else the pointer comes
through as a NULL.
FossilOrigin-Name:
211cce04e97d2e325a6ea3e99738fc71115d673dc13daeffb03ac3140deb11de
dan [Sat, 15 Jul 2017 20:48:30 +0000 (20:48 +0000)]
Add the "unionvtab" virtual table extension in ext/misc/unionvtab.c.
FossilOrigin-Name:
62a86aa6c0519cf1fa232169122d3d6ae8d2f66b20530fb934a82a15712bd2f0
drh [Sat, 15 Jul 2017 20:44:33 +0000 (20:44 +0000)]
drh [Sat, 15 Jul 2017 20:33:19 +0000 (20:33 +0000)]
Fix a register allocation problem in PRAGMA integrity_check that caused
the same register to be used for two different purposes on the first
ATTACHed database if the schema for the ATTACHed database was noticable
more complex than the schema for the first database.
Fix for ticket [
a4e06e75a9ab61a1 ].
FossilOrigin-Name:
253945d480b052bfe311888022b5eb0be91c8c80cda05036e58207d57520262c
drh [Sat, 15 Jul 2017 20:25:22 +0000 (20:25 +0000)]
Fix a missing \n at the end of a comment causing a line to be too long.
No code changes.
FossilOrigin-Name:
687bd478710eb827e041533eea67115464f5a0de767bb6cfdbe36a0d3c597fa1
drh [Sat, 15 Jul 2017 17:57:31 +0000 (17:57 +0000)]
Enhance the showstat4 utility program to show the full precision of
floating point values in sqlite_stat4 tables.
FossilOrigin-Name:
5ec37c62f65b2870dcd7a906912da787367f3912a96b6f3536355fad65903575
drh [Sat, 15 Jul 2017 13:49:56 +0000 (13:49 +0000)]
Minor change to one of the command-line shell test scripts to make that
script compatible with Tcl 8.5.
FossilOrigin-Name:
47cf83a0682b7b3219cf255457f5fbe05f3c1f46be42f6bbab33b78a57a252f6
drh [Sat, 15 Jul 2017 13:35:17 +0000 (13:35 +0000)]
dan [Sat, 15 Jul 2017 08:02:10 +0000 (08:02 +0000)]
Fix another minor problem in test file like.test.
FossilOrigin-Name:
0953e74612358f48a9c9e3772876b514bc79784f277497121c59302a3106110c
dan [Sat, 15 Jul 2017 06:35:15 +0000 (06:35 +0000)]
Fix test problems causing the "prepare" permutation test to fail.
FossilOrigin-Name:
b61cc5a0f9f2c2d2175ad30fc3fa4cb2086dbb948d5a5cc538ac43b871bb5221
dan [Fri, 14 Jul 2017 20:53:21 +0000 (20:53 +0000)]
Fix test problems with stmtvtab1.test under some permutations.
FossilOrigin-Name:
ad6699d476b93131887e30475517764e281647f94df4a8248e2b88f1f14da91d
drh [Fri, 14 Jul 2017 19:52:47 +0000 (19:52 +0000)]
Fix a typo in a comment used to generate documentation. No code changes.
FossilOrigin-Name:
65f9f29c58f61646d700eee6610ce85b572306f0ce2f19bebfd37632523019e5
drh [Fri, 14 Jul 2017 19:47:32 +0000 (19:47 +0000)]
Identify requirements text in the SQLITE_DBCONFIG_ENABLE_QPSG documentation.
Add some implementation marks for SQLITE_DBCONFIG_MAINDBNAME requirements.
No code changes.
FossilOrigin-Name:
ab165dcf35ae7385c9366853ce5648294bf5dc9aa9ffe1af84243e6fac3472fc
drh [Fri, 14 Jul 2017 19:22:08 +0000 (19:22 +0000)]
Add requirements marks for some of the new features in the 3.20 release.
FossilOrigin-Name:
264238671379306b14d62a6ddaefd2a20acd34ca77276b6ce872253160fe0146
dan [Fri, 14 Jul 2017 19:12:26 +0000 (19:12 +0000)]
Tweak Makefile.in so that testfixture can be built with the
--disable-amalgamation configure switch.
FossilOrigin-Name:
394c6f4f4376bc3d7796ea4157ba2ae230b0ca950774eff127ae6ef8a7b08602
dan [Fri, 14 Jul 2017 17:50:11 +0000 (17:50 +0000)]
Modify mkopcodeh.tcl so that it can handle "same as" opcodes with values
larger than the total number of opcodes.
FossilOrigin-Name:
1eb56fe0305f0841b14865b7560add3da529b211328f5fa171b9628418a6ed49
drh [Fri, 14 Jul 2017 15:57:56 +0000 (15:57 +0000)]
In the LSM1 virtual table, dequote the filename before opening the file.
FossilOrigin-Name:
6ed4ef03ff6f22ae83a14facc48ce594911d7d7b37446436b68af3a822578fae
mistachkin [Fri, 14 Jul 2017 15:45:27 +0000 (15:45 +0000)]
Changes to the LSM1 Tcl tests to make things work on Win32.
FossilOrigin-Name:
7dc5e70ef1faa0b51a04abdfe1ee2f9ea5c2d0f99ea8ef6260b9de02500cf8b2
drh [Fri, 14 Jul 2017 15:42:11 +0000 (15:42 +0000)]
Include a hint in the header comment of the LSM1 makefile about how to
set the LSMOPTS variable.
FossilOrigin-Name:
b5e3b264814cde9572130b70fc0d21ccebc2d7f5f0e7db50b6395cb63723383e
drh [Fri, 14 Jul 2017 15:32:11 +0000 (15:32 +0000)]
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
drh [Fri, 14 Jul 2017 15:18:51 +0000 (15:18 +0000)]
Fix a typo in the header comment to the remember extension. No code changes.
FossilOrigin-Name:
604b9664f4dd6e8d188b5c57407edbbe0639345f8d30bf2d19016f8324934840
drh [Fri, 14 Jul 2017 15:14:21 +0000 (15:14 +0000)]
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
drh [Fri, 14 Jul 2017 13:24:31 +0000 (13:24 +0000)]
Minor updates to requirements marks and documention. No changes to code.
FossilOrigin-Name:
8f6dd5e2907d6df230fcbceadd226496bcc35a33c117da58215f7d333c1cc7b8
dan [Fri, 14 Jul 2017 11:40:48 +0000 (11:40 +0000)]
Add very simple tcl tests for the lsm1 extension.
FossilOrigin-Name:
5e0a97930b08fff1c3a29f5c8b2962b856e3302209228c0e71b9f1a1bd2a4be3
drh [Fri, 14 Jul 2017 04:16:03 +0000 (04:16 +0000)]
Minor tweaks to documentation. No code changes.
FossilOrigin-Name:
d8cd0434f3451e27aefe38a1a9efdc4dfded2ea33baf25d82814c89264f3afff
drh [Fri, 14 Jul 2017 00:28:28 +0000 (00:28 +0000)]
Fix harmless compiler warnings in the readline tab-completion logic of the
command-line shell.
FossilOrigin-Name:
271ca4acfcff448cf863045595d2c2616decd13b6015d7db481c91e2ad5bb92a
drh [Thu, 13 Jul 2017 22:39:15 +0000 (22:39 +0000)]
Improved documentation for the new sqlite3_bind_pointer() interface and its
cousins.
FossilOrigin-Name:
889968bdbf1c258238cb68d82f059e16366c4a40c2d541dd4a1811ab72e693cb
drh [Thu, 13 Jul 2017 22:03:34 +0000 (22:03 +0000)]
Improvements to the documentation for SQLITE_PREPARE_PERSISTENT.
No code changes.
FossilOrigin-Name:
265778142485882f39edfb5756175b2675c1993f0d6395dabbcbbb3767c6ec77
drh [Thu, 13 Jul 2017 20:11:52 +0000 (20:11 +0000)]
drh [Thu, 13 Jul 2017 19:11:13 +0000 (19:11 +0000)]
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
drh [Thu, 13 Jul 2017 18:09:36 +0000 (18:09 +0000)]
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
drh [Thu, 13 Jul 2017 17:56:52 +0000 (17:56 +0000)]
Fix an incorrect type signature for the loadable extension pointer
for sqlite3_result_pointer().
FossilOrigin-Name:
0bd7875bd9948836a14061275eb8ddac627f562a49f59f400ec98c00e2be82c5
drh [Thu, 13 Jul 2017 17:54:12 +0000 (17:54 +0000)]
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
drh [Thu, 13 Jul 2017 17:48:14 +0000 (17:48 +0000)]
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
drh [Thu, 13 Jul 2017 17:34:46 +0000 (17:34 +0000)]
drh [Wed, 12 Jul 2017 20:43:23 +0000 (20:43 +0000)]
Smaller and faster implementation for vdbeFreeOpArray() and freeP4().
FossilOrigin-Name:
0c80593520d30958231be41fc443209eb39e0b3ee0e66308c3ef3a0f4cb8ea66
drh [Wed, 12 Jul 2017 18:05:54 +0000 (18:05 +0000)]
Fix harmless compiler warnings about incomplete structure initializers.
FossilOrigin-Name:
604c11d1a39f09e47b6fcee0f8b1c1054f9dbbc7b2c1cf93312aeaa4b7095018
drh [Wed, 12 Jul 2017 17:26:44 +0000 (17:26 +0000)]
Remove unnecessary EP_Leaf settings on the Expr object.
FossilOrigin-Name:
f951c8b71b2369da62a329c792af5e3d3087bbe020f38c68ca1d0a594b904c08
drh [Wed, 12 Jul 2017 17:08:24 +0000 (17:08 +0000)]
The EP_Resolved flag on the Expr object is not required for correctness nor
performance, so remove it.
FossilOrigin-Name:
54f55d3b7973e326541a81bfb2e752a2f6618e4fec9a3631b95f28e12e9c6e34
drh [Wed, 12 Jul 2017 14:10:19 +0000 (14:10 +0000)]
Clarification and simplification and result column naming logic.
FossilOrigin-Name:
68824a439b76a4cca05609a02de7abdc42bd1d26afbfcd047b90001c610d3c56
dan [Wed, 12 Jul 2017 14:03:13 +0000 (14:03 +0000)]
Fix a problem in an lsmtest test case caused by writing data in "text" mode
instead of "binary".
FossilOrigin-Name:
3e56a79ad8754e6da3181883154fa1c8b227a8d16c9b2a3eba925371595ae1f9
drh [Wed, 12 Jul 2017 12:19:33 +0000 (12:19 +0000)]
dan [Tue, 11 Jul 2017 20:36:35 +0000 (20:36 +0000)]
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
dan [Tue, 11 Jul 2017 19:55:38 +0000 (19:55 +0000)]
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
drh [Tue, 11 Jul 2017 18:11:33 +0000 (18:11 +0000)]
mistachkin [Tue, 11 Jul 2017 17:54:27 +0000 (17:54 +0000)]
Make win32GetTimeOfDay() in the lsm1 test code more portable.
FossilOrigin-Name:
2fe3a84330063378ca9fc5bfc8efe486c52d50b5c40be4f402a4f2318be69436
drh [Tue, 11 Jul 2017 17:28:27 +0000 (17:28 +0000)]
Enabled the new sqlite3_prepare_v3() and sqlite3_prepare16_v3() interfaces
for loadable extensions.
FossilOrigin-Name:
b9debd626a68c4bc0e5fdeb8d15a991cfe6f62f9586eda76c07a1c18e498e3c2
mistachkin [Tue, 11 Jul 2017 17:06:42 +0000 (17:06 +0000)]
mistachkin [Tue, 11 Jul 2017 16:46:41 +0000 (16:46 +0000)]
Fix more harmless compiler warnings in lsm1, seen with MSVC 2015.
FossilOrigin-Name:
0f1307f1f5638c1c4f1ce2b89cdef7ce8b76dc2a38685cd1ca152cde9e8727da
mistachkin [Tue, 11 Jul 2017 16:36:10 +0000 (16:36 +0000)]
Fix harmless compiler warnings seen with MSVC for lsm1.
FossilOrigin-Name:
cf6da4a52f7f9047e653ef2972e4c0910b29d7182d789a9e30225dc1849e8779
drh [Tue, 11 Jul 2017 13:59:07 +0000 (13:59 +0000)]
Add support for tab-completion (using the ext/misc/completion.c virtual table)
to the command-line shell.
FossilOrigin-Name:
95cd1d9f8baa6be305c9a8bfa26fef2a403f2d5b3b5c9c55382ec04f0bc98d40
drh [Tue, 11 Jul 2017 13:34:40 +0000 (13:34 +0000)]
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
drh [Tue, 11 Jul 2017 02:53:38 +0000 (02:53 +0000)]
Fix a backup2 test case so that it works on FreeBSD.
FossilOrigin-Name:
724819b456ca7a5ca6d68415b3b3554741c3ddbb5c416cb6b6b5fc54177f426e
drh [Tue, 11 Jul 2017 02:05:21 +0000 (02:05 +0000)]
Add the "phase" output column on the COMPLETION table-valued function, for
debugging. Improved comments on the implementation.
FossilOrigin-Name:
0e2135552757cc6566ac959475d3b87254b6d462425ee6c457c743001f3370e2
drh [Tue, 11 Jul 2017 01:38:45 +0000 (01:38 +0000)]
The COMPLETION virtual table now looks at the names of databases, tables,
and columns in addition to SQL keywords.
FossilOrigin-Name:
1cc97711fa86a3938f0930200476d1b0991e4b893a8be3a19015423a3de56bef
drh [Tue, 11 Jul 2017 00:09:44 +0000 (00:09 +0000)]
Incomplete implementation of the COMPLETION table-valued function. So far it
only works for SQL keywords.
FossilOrigin-Name:
caefbc723b5f67afc5ef10b92b20400cbb76cb03e7e75e18d2726cc552083e09
mistachkin [Mon, 10 Jul 2017 21:32:11 +0000 (21:32 +0000)]
drh [Mon, 10 Jul 2017 20:39:59 +0000 (20:39 +0000)]
Fix errors in comments in the STMT virtual table. No code changes.
FossilOrigin-Name:
9a8f045d62f5c6593a5a2842e817b49fa9d00c74e329a15a326f74e583c1f767
mistachkin [Mon, 10 Jul 2017 20:33:50 +0000 (20:33 +0000)]
Minor cleanup and refactoring of the Win32 VFS for lsm1.
FossilOrigin-Name:
bf7eda67c8124c3cd5d9150f2f2694cd3f991b20e0a527398885976d0d787242
drh [Mon, 10 Jul 2017 19:54:48 +0000 (19:54 +0000)]
Another spelling error in the README.md file.
FossilOrigin-Name:
0512937425df6f274153f1d822fc4fe358601c2944745c0039c40e645ebedd82
drh [Mon, 10 Jul 2017 19:08:59 +0000 (19:08 +0000)]