drh
d7ca600ede
Make sure the columns of a VALUES() clause are named "column%d" even if
...
the VALUES() clause is a subquery in the FROM clause of an outer query.
FossilOrigin-Name: acf3b9cc9c3932431979995a1dceacc06c659ab400fad95ce3728ff8895a022b
2017-07-09 00:30:58 +00:00
drh
2aa31333c2
Add the --icc, --gcc7, and --orm options to the speed-check.sh test script.
...
FossilOrigin-Name: 70dae08a9a6e35416f7268b9a95f3c8562b74697918bd1e9d5b5cf4719b9d075
2017-07-08 22:30:30 +00:00
drh
12ca0fc259
Basic test cases for PRAGMA secure_delete=FAST.
...
FossilOrigin-Name: 0c246017b45c5290f3a7932dfce649f1a6d8f9afc00c6c3edf2ef06c17dbca1d
2017-07-07 22:47:32 +00:00
mistachkin
50963c9da8
Fix comment in the Win32 VFS for lsm1.
...
FossilOrigin-Name: 12a421bcacf72128426eeafed8663accd8f2ac7edb46f620b60b8239065e657e
2017-07-07 21:20:26 +00:00
mistachkin
85bd1cd52b
For lsmtest, use a more portable means of setting open() files to binary.
...
FossilOrigin-Name: aea6e0ffd33f41482f1b53b9f21b77add2865abda4eec1d9ee197177f74f43d0
2017-07-07 21:15:24 +00:00
mistachkin
1d91e9f26a
Adjust copy_file() lsmtest function so it works properly for locked database files on Win32.
...
FossilOrigin-Name: 54a3855583deac93c955ed77fe82be6a6b7aadd3fdb7e6b895888e2a4ff530bd
2017-07-07 20:35:14 +00:00
drh
08f1efeb16
Add the "PRAGMA secure_delete=FAST" option, which overwrites most deleted
...
content without increasing the amount of I/O. Deleted content might persist
on the free page list, however. And extra CPU cycles are used for zeroing,
of course.
FossilOrigin-Name: 38978ce65b280bb7cba3fc08ba91485fb1b84cd9fbba2e950ecf41c021ff452a
2017-07-07 20:06:28 +00:00
drh
a690ff360b
Change the error message text for SQLITE_ERROR to omit the part about
...
"missing database" as that meaning is now obsolete (since approx SQLite 2.0).
FossilOrigin-Name: 732f90d6327c5c6368fc8b4cc207bd644ef08e3ae6d2e7295258ab099deaba63
2017-07-07 19:43:23 +00:00
mistachkin
b11c650c01
Fix typos in Win32 VFS for lsm1.
...
FossilOrigin-Name: 0961ec873b78ad2da0ea9cdf2934bc8f08276375a153fe5d9fa8d4280328deef
2017-07-07 19:22:35 +00:00
mistachkin
73518c5876
Fix the memcpy calls in the lsmWin32OsShmMap function for lsm1.
...
FossilOrigin-Name: aa4890b9f9e9698c61d6ca0e24c26280f5e0a87a8c02865933ad483a1fd44d84
2017-07-07 19:12:55 +00:00
mistachkin
a2d85cbbfa
Enhance the MSVC makefile 'clean' target to handle lsm1.
...
FossilOrigin-Name: 2d6faebc319aefeab796c5f2ead4c3c3e2a9dd25c979a16bdb555a109135b13c
2017-07-07 19:02:51 +00:00
mistachkin
9a7a77ad36
Add support for LSM_DEBUG to the MSVC makefile for lsm1.
...
FossilOrigin-Name: 277a7fedafbe5b43d44086f3cb73e952873913bdc4b51041f45b6571b386d7d9
2017-07-07 18:31:51 +00:00
drh
a7a0bfab91
In the command-line shell, when running ".schema" give a sensible error when
...
the database file is locked.
FossilOrigin-Name: cc329eb8d65171f3f4fcb39b0e55ef85c97a77f3510cf864bbc1537f993d0074
2017-07-07 18:06:49 +00:00
mistachkin
9b8c5f6819
Fix the usleep() macro in the Win32 test code for lsm1.
...
FossilOrigin-Name: 63599fa524a7c72ffa5362041f2ec394d9af9c43025d8b6d5a34e98eb423d5ff
2017-07-07 17:57:21 +00:00
drh
d5eae667f4
Add new PRAGMAs: "function_list", "module_list", and "pragma_list". All are
...
enclosed within #ifdef SQLITE_INTROSPECTION_PRAGMAS. The compile-time option
is not on ctime.c yet, since these are still experimental and one can always
test "PRAGMA pragma_list" and see whether or not it returns an empty set.
FossilOrigin-Name: e0b6ae92adfae46f64fc2e2719e22e5467c34d49c1aeaec5cc5faf04258de0f7
2017-07-07 17:43:30 +00:00
drh
8ae11aac93
Add the "Pragma_list" pragma. Put all three pragmas created on this branch
...
inside of #ifdef SQLITE_INTROSPECTION_PRAGMAS.
FossilOrigin-Name: 2f3c3781ef3d66ecafef083d7144287ff23eea5a6d93b014dfeb2a8ac71f757e
2017-07-07 17:33:07 +00:00
mistachkin
e60092b90c
Improve clarity in the Win32 VFS for lsm1.
...
FossilOrigin-Name: 9c7a9e805d95d3d4a3f7e2d608280b7ca0dda01114e32cd366b1deb14e6e6839
2017-07-07 16:46:08 +00:00
mistachkin
baebf3cc4b
Add support for LSM_DEBUG_MEM to the MSVC makefile for lsm1.
...
FossilOrigin-Name: 3340de83df8c4fb19f729e6ff0838a9a03a1e701cdb40cb830e76f294198024a
2017-07-07 16:29:37 +00:00
dan
45158fa5d9
Remove a block from the Win32 VFS for lsm1 that is now superfluous.
...
FossilOrigin-Name: 5f726f2830dcf91f5e5c010b10761757f746d39b9dd2b8c9770452ce65bb1652
2017-07-07 16:27:43 +00:00
dan
3bc909b0af
In lsmtest, use an empty string instead of ":memory:" when requesting a
...
temporary database from SQLite. This prevents other test code from trying to
unlink() ":memory:", which fails on win32.
FossilOrigin-Name: 281ad505d7a112c5524ea9fb195dfc46f819a58f79f42b37b12fbfe46a089ff2
2017-07-07 16:09:24 +00:00
mistachkin
5bd9e61f05
Remove a block from the Win32 VFS for lsm1 that is now superfluous.
...
FossilOrigin-Name: db4a41408eff450ee429b936847313c2c92ba1f5b1fcbadaacaff3c08bfdd589
2017-07-07 16:07:53 +00:00
mistachkin
d429ec222c
Memory reallocation fix for the Win32 VFS for lsm1.
...
FossilOrigin-Name: 5a3140e4dedace6de4366a3c52e41b818b6d19f356fdab738c6605afc1b674fa
2017-07-07 16:06:30 +00:00
drh
40cf27cb63
Enhance the sqlite3VdbeMultiLoad() interface to automatically generate the
...
OP_ResultRow opcode on PRAGMA implementations, for a small reduction in the
library footprint.
FossilOrigin-Name: c46f0f076c674891e20240bad56693d891aedc43004bcf980a5d199515f23413
2017-07-07 16:00:53 +00:00
drh
ab53bb635c
Add new pragmas: "function_list" and "module_list"
...
FossilOrigin-Name: e5f01d7fde05fdb547f35816ff15c31a92c170b31877f4c640b7bc2be3f580b3
2017-07-07 15:43:22 +00:00
drh
d10866798d
Exploit the fact that Expr.pRight and Expr.x are never used at the same time
...
for a small performance gain.
FossilOrigin-Name: aacbb9a461fdb34c7f9c8ce348e44c3e96c93334f210d438d92bfac1794dc686
2017-07-07 13:59:34 +00:00
drh
c2d14a9a33
More efficient and compact implementation of walkExpr().
...
FossilOrigin-Name: 115d4b83392d346634866dd959bef30fca50db2e526df17eaeb3d94da7fc895e
2017-07-07 12:58:30 +00:00
drh
b98a2e351e
More aggressive use of EP_Leaf on expression nodes, to help prune searches.
...
FossilOrigin-Name: c1a1d68c8219c8072e60af5c46a30849ae9a04fa1a6b2a8b22b82fec069d691d
2017-07-07 12:43:57 +00:00
drh
3da70a6112
Very slightly smaller and faster sqlite3WalkSelect().
...
FossilOrigin-Name: 9bc65635b29a4991c7821ef0939975d007f9ac23716717699353ef3246e27791
2017-07-07 11:49:48 +00:00
drh
0db5bfe5de
Small adjustment to main.mk that facilitates giving non-standard compile-time
...
options to the shell.
FossilOrigin-Name: 7c7d53a9bbc27fde2dcc028cb7765c76cad0a784e53095b652c90d371968c53d
2017-07-06 22:43:41 +00:00
drh
a0c3927510
Change the (machine-generated) keywordhash.h file to increase the scope of the
...
tables used for keyword matching, so that the tables are accessible to
functions other then keywordCode().
FossilOrigin-Name: c5ed5ebdf660501fde7cc8aefaaaeae2a68e5899a64ac93f26684842a235281d
2017-07-06 16:33:14 +00:00
drh
9d8e401c2d
More compact implementation of the typeof() SQL function.
...
FossilOrigin-Name: efb4aab0caa4145732a5438cc2a193bc12c455b4007220564d240e75900ea8ad
2017-07-06 13:51:50 +00:00
drh
ebaaa67db2
Avoid unnecessary upper-to-lower case conversion for function names when
...
registering the built-in functions.
FossilOrigin-Name: 06269257647db51fbc9f8cda88abac5db28b6f917a509768af7686dfa2b94511
2017-07-06 13:23:26 +00:00
drh
3b02e0f615
Small size reduction in findCollSeqEntry().
...
FossilOrigin-Name: 55ecd30304517acd23f89b3450fd6a5e18ac2f79aa24a4ff693f8d71a49f7837
2017-07-06 03:06:20 +00:00
drh
666e86625c
Avoid unnecessary calls to sqlite3GetCollSeq() for a small performance gain.
...
FossilOrigin-Name: 503ba172e4c32e288abf006fc5cb53fd2b0313c4ee4c526c2d9c4c21b7178f2d
2017-07-06 02:49:26 +00:00
drh
07a3b11a50
Slightly more compact implementation of the byte-code generator for
...
the COMMIT and ROLLBACK commands.
FossilOrigin-Name: 4da663d9863004d8cef58259a043fdcf4f466f80d3714cf58321a52485be8766
2017-07-06 01:28:02 +00:00
drh
169a689f7b
Small performance increase in sqlite3SrcListAppend().
...
FossilOrigin-Name: 7b2623f1994384484cf31ae9e443ee20f19b278bf2e91898dbc01828822ddf91
2017-07-06 01:02:09 +00:00
drh
a35d851892
Make the hash table implementation a little smaller and faster.
...
FossilOrigin-Name: f762f1effe1ce893d6b67815ad8b585bae2c1621d9199dac9c85d39dad16e774
2017-07-05 23:33:33 +00:00
dan
adea0d1c39
Have fts3 virtual table cursors free internal resources when they reach EOF,
...
instead of waiting until the xClose method is called.
FossilOrigin-Name: b6b14ab6c8f9758a64e5fd29203f8fa610b5c4ef917de9be51ae55e072fad4ed
2017-07-05 18:48:07 +00:00
dan
7181395a4d
Fix a problem in lsmtest causing one test to fail for multi-threaded LSM
...
connections.
FossilOrigin-Name: 2bce64c8864b616f9ab0063f64d0ceb2f83e53e110970c6b3b11003cba5c8804
2017-07-05 14:29:04 +00:00
drh
269ba80469
Add the count-of-view optimization when compiled using
...
SQLITE_COUNTOFVIEW_OPTIMIZATION.
FossilOrigin-Name: d1ba200234f40b84327c7fc28c2584ed069da80e97578df71114d1a9ba9c559c
2017-07-04 19:34:36 +00:00
dan
431a53fde2
Fix further OOM handling cases in LSM.
...
FossilOrigin-Name: ca757c8665e27de884086b2aab2bd1db481e2d12f2afe136ec151bf5a0e65b91
2017-07-04 19:23:32 +00:00
dan
038af0bdc6
Fix a couple of problems in handling OOM conditions within LSM.
...
FossilOrigin-Name: 989a5c1745a7145c14c6d9b713176ecba6b99296de8bdd09f666eeef10da9c2e
2017-07-04 17:25:45 +00:00
drh
92395c59ff
Fix a problem in the lempar.c Lemon template for YYSTACKDEPTH<=0 introduced
...
by check-in [36e54cd8b1fb37]
FossilOrigin-Name: 268a40f44cea6c3f561b7f54c90d631877be44292911424bac24f72c5ee87d60
2017-07-04 12:50:00 +00:00
drh
518ee8f06f
Fix compiler warnings in LSM1, especially in the test logic.
...
FossilOrigin-Name: 9bd3be92b8add7bd0d7bc4b0742b2dd227ebb8d67a839b78f26f2b06b47490f2
2017-07-03 21:09:28 +00:00
dan
45408a108f
Fix a bug in lsm queries on levels undergoing incremental an merge that
...
contain range-delete markers.
FossilOrigin-Name: b2c2487928becbea5a932895d153709c98a057a3c71c2600e165478562e9f7c5
2017-07-03 20:19:28 +00:00
drh
cde336e0dc
Attempt to improve documentation on sqlite3_column_ and sqlite3_value_
...
interfaces.
FossilOrigin-Name: 9111ac69bf307997e590bc9459222661fc79f549b3c493168a654a5046e6e4ad
2017-07-03 17:37:04 +00:00
dan
05dda7ba8e
Add more tests for LSM log file recovery. Fix a problem in recovering log
...
files that contain range deletes.
FossilOrigin-Name: e34eafd4c5b2bbf2735e136ad69b67bb4288ad4d01a0128d8e107ac46209a182
2017-07-03 09:00:18 +00:00
dan
24f6904e99
Fix a memory management problem in lsm log recovery code.
...
FossilOrigin-Name: dd55af30b4440bba1b97c2155b9f499d791cd7d8bae8341972c41439fdc41edc
2017-07-01 20:59:06 +00:00
drh
c7b1ee5f6e
Enhance the RTree module to detect node truncation early and report an error.
...
FossilOrigin-Name: 66de6f4a9504ec2670b7273de8fb6955c80e03f7f73414ea6b80fd8a99f75976
2017-07-01 15:21:17 +00:00
drh
fd76b71cac
Improved documentation for sqlite3_value_type().
...
FossilOrigin-Name: 0db20efe201736b3ebb177948f6a440ce28e62454536a8496fae64a3b55cb702
2017-06-30 20:11:45 +00:00