drh
9d60875901
Copy the cache_spill setting from the main database over to the
...
vacuum_db transient database when running a VACUUM.
FossilOrigin-Name: c0e7d98ef2a13ede5ae865083ede1aaffdf43310
2016-07-26 04:49:43 +00:00
drh
426f4ab009
Make sure affinity is applied correctly on lower-bound range constraints
...
in the min() optimization. Fix for ticket [a0bac8b3c3d1bb].
FossilOrigin-Name: b819bace9c2a0b0159122b26db96a8f50a6f0eac
2016-07-26 04:31:14 +00:00
drh
2b62b5def8
In the VACUUM command, set the cache_size of the transient vacuum_db database
...
to be the same as the database being vacuumed.
FossilOrigin-Name: b78d99548ac53ac10dcc38368cc4b29c8cbcb09b
2016-07-25 22:40:12 +00:00
drh
a522473c65
Add a new %ifdef to parse.y so that the build works with SQLITE_OMIT_SUBQUERY.
...
FossilOrigin-Name: 38a48cfb9a8212970c4a4f8458643c22ed067e8b
2016-07-25 14:40:43 +00:00
drh
5d513ba08c
If both MEMSYS3 and MEMSYS5 are enabled, than automatically disable MEMSYS3.
...
FossilOrigin-Name: ccc22e14dc5d910d632807f49484be54dc2fde83
2016-07-25 11:57:21 +00:00
drh
c530b9c65b
Add --enable-memsys3 and --enable-memsys5 options to the configure script.
...
FossilOrigin-Name: 67e1dc9842dc8a6ae5edef21bdb2ef6d3f4a17b7
2016-07-25 11:27:22 +00:00
drh
5fe63bfb93
Evidence marks and code reformatting for SQLITE_TRACE_STMT operation.
...
FossilOrigin-Name: e1e022383114525241454f63ea8b9768fb7ec657
2016-07-25 02:42:22 +00:00
drh
bd441f7700
Change SQLITE_TRACE_STMT to return unexpanded SQL text in the X argument.
...
Add documentation on how and when to use sqlite3_expanded_sql(P) to compute
the expanded text for legacy sqlite3_trace() compatibility.
FossilOrigin-Name: 163e15229d837a5471007cffb8d41faafd081737
2016-07-25 02:31:48 +00:00
drh
087ec072ef
Fix code so that the deprecated sqlite3_trace() and sqlite3_profile()
...
interfaces are not called when SQLITE_OMIT_DEPRECATED is used.
FossilOrigin-Name: 1c5baae3c545096a29a093f7d4387771f1db507c
2016-07-25 00:05:56 +00:00
drh
4b363a5130
Use sqlite3_trace_v2() instead of sqlite3_trace() in the shell.
...
FossilOrigin-Name: c8e0539b970585cbb3619461a53abb0c3b308a17
2016-07-23 20:27:41 +00:00
dan
ba00e30a3a
Allow vector IN(SELECT ...) expressions to use an index if either all the indexed columns are declared NOT NULL or if there is no difference between the expression evaluating to 0 and NULL (as in a WHERE clause).
...
FossilOrigin-Name: e2fd6f49b1b145bec09c581cc982b89429643ae9
2016-07-23 20:24:06 +00:00
drh
eb09f6d788
Small tweak to the btree balancer for improved tree balance.
...
FossilOrigin-Name: 8817dedb75430e6c78ff527f7ded4abb35776cef
2016-07-23 19:18:55 +00:00
drh
8afffe7244
Improvements to sqlite3_trace_v2() documentation. Fix the
...
sqlite3VdbeExpandSql() routine to respond better to OOM conditions.
FossilOrigin-Name: 0400f642d542e62bb428e0bf263964c65691368e
2016-07-23 04:58:57 +00:00
drh
557341e8fa
Add requirements marks to the sqlite3_trace_v2() interface documentation.
...
FossilOrigin-Name: ebd388e94da4a2b29c2a546f832d359619803ec5
2016-07-23 02:07:26 +00:00
drh
cf1e395acb
Fix sqlite3VdbeExpandSql() so that it handles OOMs by always returning NULL.
...
FossilOrigin-Name: 5a027fe4127d498e0dc0d9439131c6a29085cf0a
2016-07-23 00:43:14 +00:00
drh
9a8b9ec51c
Be sure to hold the database connection mutex while calling sqlite3VdbeExpand()
...
from within sqlite3_expanded_sql().
FossilOrigin-Name: 527b5ba68c0b0185958b945b197f9022951d9379
2016-07-22 20:45:03 +00:00
drh
dec8bc0eb4
Add requirements marks to the sqlite3_expanded_sql() documentation.
...
FossilOrigin-Name: 409535e6dfc307f26ea3d9f51be51c439b6d7b22
2016-07-22 20:20:53 +00:00
dan
4097d0ca79
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 60fed5cdd4a44aefa1b4d505adeb7936f2f0b952
2016-07-22 17:58:05 +00:00
drh
8d85364261
The sqlite3_expanded_sql() function compiles, but always returns NULL, when
...
the SQLITE_OMIT_TRACE compile-time option is used.
FossilOrigin-Name: 53c25ebe34e6776a12260078852973b1d581d20f
2016-07-15 10:01:06 +00:00
drh
0e15d921d9
Merge fixes from trunk. Fix the tclsqlite.test script.
...
FossilOrigin-Name: d2b1fa55e8809ffc25a25f256349b8d08beadab5
2016-07-15 02:55:51 +00:00
mistachkin
de6fde6af6
Modify the Tcl test command 'sqlite3_bind_blob' to make use of the Tcl_GetByteArrayFromObj() API.
...
FossilOrigin-Name: e03c81895e52096ab055d8231841e9070602ca84
2016-07-15 01:49:25 +00:00
mistachkin
283a85ca21
Fix typo in sqlite3_trace_v2().
...
FossilOrigin-Name: 97ccf15fb7e5103c8317d06a1985ba9c88544a60
2016-07-15 00:39:47 +00:00
mistachkin
b52dcd8989
More work on the Tcl interface and tests for the sqlite3_trace_v2() API.
...
FossilOrigin-Name: f3c4aa97d8c10fdb69efc6405b5fa45781f45a61
2016-07-14 23:17:03 +00:00
mistachkin
b56660f5a4
Initial work on the Tcl API interface to the new sqlite3_trace_v2() function.
...
FossilOrigin-Name: 7b59fa40a01c89cc98414d90a798169c26e04256
2016-07-14 21:26:09 +00:00
drh
0b4c042b86
Minor tweak the the b-tree balancer.
...
FossilOrigin-Name: d2a0af7a37e390439c3001fedb5834f47fb24a1f
2016-07-14 19:48:08 +00:00
drh
86396219a3
Fix ALTER TABLE so that it does not promote the schema version past 3, as
...
that will cause DESC indexes to go corrupt.
Ticket [f68bf68513a1c].
FossilOrigin-Name: a7db6e45ad45be9b3003f61d4163f543498a7c9d
2016-07-14 19:13:11 +00:00
mistachkin
0129a54a16
Fix copy/paste typo in the new sqlite3_expanded_sql() function.
...
FossilOrigin-Name: e7d18c70d2b8f09c9f5b978fe3d69d1088e42322
2016-07-14 09:22:16 +00:00
drh
c0e2203adb
Fix a parameter misordering on sqlite3_trace_v2() in the loadable extension
...
interface.
FossilOrigin-Name: 989de2d5b5e7155654d3eebadb9651b23f422c58
2016-07-14 01:13:36 +00:00
drh
fca760c841
Add the sqlite3_expanded_sql() interface. Refinements to the
...
sqlite3_trace_v2() interface to make it more useful.
FossilOrigin-Name: 99ee7ee58d45b29a0000492306ddc0b90563ff51
2016-07-14 01:09:08 +00:00
drh
1637a5171f
Legacy tests now passing.
...
FossilOrigin-Name: f33526a341132435cb4185149a784eef6b3a1a2d
2016-07-13 23:18:27 +00:00
drh
3d2a529df6
First cut at implementing the new sqlite3_trace_v2() interface.
...
FossilOrigin-Name: cb0062feb018f52689938a58cb76886d431c33f0
2016-07-13 22:55:01 +00:00
drh
ed916ba025
Interface design for a new sqlite3_trace_v2() method that supersedes
...
sqlite3_trace() and sqlite3_profile().
FossilOrigin-Name: 0c569f759f6c4701321d7fea5e7ccb371743bb6b
2016-07-13 21:30:03 +00:00
dan
cfbb5e82db
Modifications towards better vector IN(...) support on this branch. Not activated yet.
...
FossilOrigin-Name: 34e35c71b25b0aa2d8931040feb260a78cc48c49
2016-07-13 19:48:13 +00:00
drh
a0620acc4a
Fix harmless compiler warnings in shell.c for NetBSD.
...
FossilOrigin-Name: 824b39e54fb9ba562be4d92cc9a54aee1cdf84cb
2016-07-13 13:05:13 +00:00
mistachkin
709947a315
Merge comment typo fixes from trunk.
...
FossilOrigin-Name: 728c5aa436a5f55c86b019c415a2b71d1b0a8fd6
2016-07-10 19:35:45 +00:00
mistachkin
e234cfd11f
Fix typos in comments. No changes to code.
...
FossilOrigin-Name: 77c692a6704cd877ba35d0afb774ab9b46364d59
2016-07-10 19:35:10 +00:00
dan
71c57db099
Add some support for using row value constructors in certain parts of SQL expressions. There are many bugs on this branch.
...
FossilOrigin-Name: b2204215b231202aef7a218411cc2ddaecf28f35
2016-07-09 20:23:55 +00:00
drh
a912348a19
Fix a compiler warning in test code - in the int64array_addr TCL command.
...
FossilOrigin-Name: 29fb988f1afc3fe623097acee1a5d08bf8386626
2016-07-09 17:15:05 +00:00
drh
11499f0ab4
Fix compiler warnings on windows.
...
FossilOrigin-Name: 8b22f777a11438ab0baadc7d9e471f415b734d1f
2016-07-09 16:38:25 +00:00
drh
43f58d6a17
Fix various internal #defines to conform to new C-language naming restrictions,
...
specifically that private-use macros names must not begin with "_".
FossilOrigin-Name: 5471aca0158851d3fb0a2517306917536deb38bb
2016-07-09 16:14:45 +00:00
mistachkin
1e75483cf0
Initial work on a Win32 VFS with NOP locking.
...
FossilOrigin-Name: 549abe3f89b55b05a05f267865a5dd84b8cd335d
2016-07-08 21:14:37 +00:00
dan
9c10608a26
Change the name of the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED to SQLITE_DBSTATUS_CACHE_USED_SHARED.
...
FossilOrigin-Name: d58401ab26c7c5417eb7d540f47d11c4e49edcb2
2016-07-06 18:12:54 +00:00
dan
272989b44d
Add the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED sqlite3_db_status() parameter.
...
FossilOrigin-Name: 118321c8b9d88b8f439c952436f42838c3fc80cb
2016-07-06 10:12:02 +00:00
dan
50687436f7
Fix a memory leak in recently added test code.
...
FossilOrigin-Name: 724e4cdc25fc80b8face57b3398cd338994fb23c
2016-07-06 09:19:14 +00:00
drh
2e3f87ae84
Change the name of the intarray() extension to carray() and give it an
...
optional third parameter that specifies the datatype as one of 'int32',
'int64', 'double', or 'char*'. 'int32' is the default.
FossilOrigin-Name: a204ba99db34b356acb259189158a32d2df25da0
2016-07-03 02:35:47 +00:00
drh
2519b2a3e5
Merge the alternative table-valued function RHS of IN operator implementation
...
from trunk.
FossilOrigin-Name: 507fdbfb54ce377f0d870260b07d71b797843fcf
2016-07-02 20:51:31 +00:00
drh
9de4757c9c
Fix a problem in table-valued functions on the RHS of an IN operator that
...
occurs following an OOM error.
FossilOrigin-Name: bead151e72215e6ca2a90eb049cfca414dccea04
2016-07-02 12:33:21 +00:00
drh
5fbab882c0
Add support for table-valued functions on the RHS of an IN operator.
...
FossilOrigin-Name: ac6000f050ff4efcf8a87f0825077dbf4144f073
2016-07-02 12:08:14 +00:00
drh
2d05331444
Add the ability to have a table-valued function on the RHS of an IN operator.
...
FossilOrigin-Name: ba1b441b6003808810667d749635fe6b2e8c6165
2016-06-29 06:19:19 +00:00
drh
4841624ab9
Add a prototype intarray($PTR,$N) table valued function.
...
FossilOrigin-Name: 233b33382dc70de45f90b6dfdb5785f20b21489e
2016-06-29 05:00:30 +00:00