drh
5729c31daf
Add the catchcmd_collapse_space command and use it to help make shell testing
...
more robust against TCL space escapes.
FossilOrigin-Name: 93caabb66082f76ef161a51ac822b919517a7171
2016-03-25 17:09:16 +00:00
drh
ddb2b4a310
Fix two instances of undefined behavior in the C code - both harmless for
...
all current compilers.
FossilOrigin-Name: 99fd194c83dbcfcdcc582983b86678b85b1b9570
2016-03-25 12:10:32 +00:00
drh
cb620b4797
Make test cases in shell1.test robust against TCL deciding to quote strings
...
using lots of backslashes.
FossilOrigin-Name: 817e93f42c09eb876421e27eb8eceb7b077cb45d
2016-03-24 20:55:03 +00:00
mistachkin
eb2329bed3
Prevent negative values of SQLITE_DEFAULT_CACHE_SIZE from making SQLITE_WIN32_HEAP_INIT_SIZE negative.
...
FossilOrigin-Name: e0737f5236ed3e85bd03203c880ee41b34619137
2016-03-24 20:36:47 +00:00
drh
d38a2e2511
Larger margins for one memsubsys1 range check when running with a
...
non-zero reserved-bytes value.
FossilOrigin-Name: 6db1d1fbc6c1acc896fa635dfdc5564800502c40
2016-03-24 15:32:19 +00:00
dan
cc47eac005
Fix some test scripts so that they work with various permutations.
...
FossilOrigin-Name: f4d234b5013bf93b6eac7f8be6d4c074cf9f5293
2016-03-24 15:09:14 +00:00
drh
c5412d533c
Avoid calling realloc() with a zero size in fuzzcheck.c.
...
FossilOrigin-Name: a1fd14694c1adc54e5c443ebfdef38e38637f5c5
2016-03-23 17:54:19 +00:00
dan
231ee68808
Fix "ifcapable" tests in capi3.test and capi3c.test so that the tests work with more build configurations.
...
FossilOrigin-Name: 3fa88f68c3e1bbb3421cb0d2b82b9bb3fe7b9b14
2016-03-23 16:32:29 +00:00
drh
997de998a8
Remove an unused local variable from FTS5.
...
FossilOrigin-Name: 0ed693c29f184223cde3b3d51f0e06273e586803
2016-03-23 15:53:45 +00:00
dan
848b190e40
Explicitly limit the size of fts5 tokens to 32768 bytes.
...
FossilOrigin-Name: 70fc69eed9b09159899d7cbd1416a59d04210a63
2016-03-23 15:04:00 +00:00
drh
3767026113
Update a requirement mark. No changes to code.
...
FossilOrigin-Name: 412984642af40578ec611d8c0b7c0508cb5cf9c9
2016-03-23 13:46:05 +00:00
drh
d7564865ad
The sqlite3_column_decltype() routine should return NULL, not an empty string,
...
if the column has no declared type.
FossilOrigin-Name: 605eba4a756e7185119088e2242f82691d078b01
2016-03-22 20:05:09 +00:00
mistachkin
527b0435fa
Fix harmless compiler warning for MSVC.
...
FossilOrigin-Name: 142cd359d37f1d8d53de32e329523d9a93c7d6e5
2016-03-22 15:26:03 +00:00
drh
c5e7f94494
Fix a harmless compiler warning.
...
FossilOrigin-Name: 5ace870d3ac3e9eb29cb4602c9036873adbcb99d
2016-03-22 15:25:16 +00:00
dan
0a2f2b546a
Fix some errors in fts5 test scripts.
...
FossilOrigin-Name: e1ab2d376a72786098125a41c1ea8140fcbd15c6
2016-03-22 15:01:54 +00:00
drh
3bfa7e82b6
Create the "uptr" typedef (the same as uintptr_t when available) and use it
...
to cast pointers before comparison.
FossilOrigin-Name: 2484cc0c3ffc8834a155f89af1581bd07d453a90
2016-03-22 14:37:59 +00:00
drh
0b98207c5b
Avoid the possibility of integer overflow on a pointer comparison test for
...
corruption in the database file.
FossilOrigin-Name: ff1b1ac3313ba9d70414e928ef3dd82913298a1a
2016-03-22 14:10:45 +00:00
drh
13969f5af0
Fix harmless compiler warnings.
...
FossilOrigin-Name: 25d776e4523aefeec007943fe29aa17c23ccb301
2016-03-21 22:28:51 +00:00
dan
6737aab5cf
Add tests to ensure that fts5 is now deterministic.
...
FossilOrigin-Name: 3d076094ce411bffcfeb76c0284d15d0f83bd459
2016-03-21 16:25:34 +00:00
drh
4567beefac
Skip recently added test cases in nolock.test when running in
...
the inmemory_journal permutation.
FossilOrigin-Name: a1dcf7af42bb7394d46138318f9367fe9e8be560
2016-03-21 16:19:29 +00:00
drh
6369bc3fbb
Remove an unreachable branch from the unlink verification logic in the UNIX
...
VFS.
FossilOrigin-Name: 4dc30cce7fdb7dba9a9aad96bb8b499b965610b2
2016-03-21 16:06:42 +00:00
dan
f5268268b7
Have fts5 cache the structure of its index in main memory. Use "PRAGMA data_version" to figure out when this cache should be invalidated.
...
FossilOrigin-Name: 902f221754f3cc6fb4ae049c135f85efce604ed3
2016-03-21 15:30:50 +00:00
dan
3c6707f72b
Rearrange code so that tests pass whether SQLITE_DEBUG is defined or not.
...
FossilOrigin-Name: 89296a46c3b891ee0b637ff6f89d828d6e46e7b5
2016-03-21 15:18:13 +00:00
drh
d260dd3534
Add the sqlite3_system_errno() interface.
...
FossilOrigin-Name: 4bd12b57ea177cfb1f44d54bfa7aedfb8a8c0c64
2016-03-21 14:46:37 +00:00
drh
f68521c4e6
Make sure system errors that occur durign sqlite3_step() are captured for
...
use by sqlite3_system_errno().
FossilOrigin-Name: b4a1114f730c62e93623f889bc0e4fd8d0b31efa
2016-03-21 12:28:02 +00:00
drh
80fbee092e
Improved comments. No logical changes to code.
...
FossilOrigin-Name: a6b6c6c466f3feb257b4fc08ef6b9a27a68ca073
2016-03-21 11:57:13 +00:00
drh
8d2f41ccd2
Do a better job of capturing all system errno values regardless of when
...
they occur.
FossilOrigin-Name: 7d49998d571d841a6d1b55f5f9889e613daaab2a
2016-03-21 11:38:01 +00:00
drh
b7c9659db3
Merge updates from trunk.
...
FossilOrigin-Name: 86ab8643969bd2e51a257d80da9316c668437f7b
2016-03-21 10:49:49 +00:00
dan
ef480d37dc
Change the way fts5 internally allocates segment ids in order to eliminated non-determinism from the module.
...
FossilOrigin-Name: d6e2637df16764aa9723a30ea2eb8a631d28cb2b
2016-03-21 09:56:19 +00:00
drh
544c6b8e1b
Change the Vdbe.aMem array so that it is zero-based instead of one-based.
...
FossilOrigin-Name: c39081e878faccc8552141afa5732a2bf2f77570
2016-03-21 00:38:59 +00:00
drh
3cdce92c38
Remove an unreachable branch. Improvements to comments.
...
FossilOrigin-Name: c5677ecd5cd2637d92a831ec6bd5b002f8d75626
2016-03-21 00:30:40 +00:00
drh
9f6168b6a3
Change the Vdbe.aMem array so that it is zero-based instead of one-based.
...
FossilOrigin-Name: e07b0c47eb5a39623f5fe0e66b939bba0906691c
2016-03-19 23:32:58 +00:00
dan
b6eb666264
Fix exclusive.test so that it works with -DSQLITE_TEMP_STORE=3.
...
FossilOrigin-Name: d7852c639683a1d305a1e731df3cccafa64b594b
2016-03-19 18:11:59 +00:00
drh
9bccde3d03
Updates to the Lemon documentation.
...
FossilOrigin-Name: f095341471aa822e6d556cb65512ec081c3918da
2016-03-19 18:00:44 +00:00
dan
f27d737b88
Add the sqlite3rbu_bp_progress() API to the RBU extension. Used to obtain the percentage progress of an RBU update.
...
FossilOrigin-Name: 209e31c729b9c8a09a80e43e3e4a2f3cd9384b3a
2016-03-19 17:48:12 +00:00
dan
fce07fb944
Fix a problem detecting invalid values in the rbu_control column of an rbu database table.
...
FossilOrigin-Name: a1132dd9027d1c6dd845be307eeb38e535393f2c
2016-03-19 17:09:30 +00:00
dan
febfe02300
Update the sqldiff tool so that it generates an rbu_count table.
...
FossilOrigin-Name: 1f7afb6e9be9f549a91bf2ab492df15698df89fd
2016-03-19 16:21:26 +00:00
dan
f11737fcc8
Merge latest trunk changes, including fixes to test script rbudiff.test, into this branch.
...
FossilOrigin-Name: 734fc68fb12f06e97026d4637138b82b37809f5b
2016-03-19 15:34:42 +00:00
dan
49aed58b7f
Fix another problem in test script rbudiff.test.
...
FossilOrigin-Name: 41c29c123ff347db720ed1a541c0b2ffc04670aa
2016-03-19 15:13:59 +00:00
dan
1e8dae0e43
Fix test scripts sqldiff.test and rbudiff.test so that they work with the --testdir option.
...
FossilOrigin-Name: 1ffe3cde03f924bb8405a8729c8e1bc01f5b6d3b
2016-03-19 14:53:36 +00:00
dan
cf9bce34ab
Add test file fts5multiclient.test.
...
FossilOrigin-Name: 7832466f9177cca59455ba272802145297fcd53d
2016-03-19 14:47:28 +00:00
drh
bb9b5f2608
Fix a register allocation bug in the VDBE code generator for
...
PRAGMA integrity_check;
FossilOrigin-Name: 88439a866b3b16ad7c308ebe59198662a05e7eeb
2016-03-19 00:35:02 +00:00
dan
eea627da9e
Add further tests for sqlite3rbu_bp_progress(). Fix a problem in handling WITHOUT ROWID tables in the same.
...
FossilOrigin-Name: 65e02368e2b6cec349ea71af5a456d6783b0d15e
2016-03-18 20:12:28 +00:00
dan
789780d8f6
Change the name of the new API on this branch to "sqlite3_bp_progress". Add tests and documentation for the same.
...
FossilOrigin-Name: 1a1b69e87eb7d18f76f5b733e44da75136a686b6
2016-03-18 18:56:45 +00:00
dan
fe485c0e56
Add tests for the changes on this branch. Fix a problem with calls to the new progress indicator API made after an rbu update has been resumed.
...
FossilOrigin-Name: bf82321724d3b0feb51e26d9b76090e03cc3964a
2016-03-18 10:29:47 +00:00
drh
860443da10
Fix FTS5 so that it works with SQLITE_OMIT_AUTORESET.
...
FossilOrigin-Name: b199637d81d7e2a767131ac03c7679b101fd459c
2016-03-18 00:39:40 +00:00
drh
b99185f278
Fix more test-case errors in the Apple configuration.
...
FossilOrigin-Name: 6631e1e655604a7d1fb45b4d151938d4a13b47f3
2016-03-18 00:19:48 +00:00
drh
108e5a9a6c
Fix some test cases so that they work under the Apple configuration.
...
FossilOrigin-Name: 399c60764d3fdec49dab1745c30930ca1dbafe70
2016-03-17 23:56:23 +00:00
drh
9493cafe6f
Fix harmless compiler warnings that arise with -DSQLITE_OMIT_LOAD_EXTENSION
...
FossilOrigin-Name: 65ba2f0b465a1493de6e467f55e0300ac3fb08e1
2016-03-17 23:16:37 +00:00
drh
790b151e19
Changes to releasetest.tcl: Rename the "OS-X" configuration to "Apple".
...
Bring the "Apple" configuration up to date. Allow the use of "if:os=..."
arguments in a configuration. Run the Apple configuration on Linux in addition
to on Macs, but without -DSQLITE_ENABLE_LOCKING_STYLE.
FossilOrigin-Name: beb2a80b430e0ad561a58d8f00b80cbdc74b5e03
2016-03-17 23:00:42 +00:00