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
drh
dbf8a16cb3
Merge 3.12.0 beta changes from trunk.
...
FossilOrigin-Name: 3296a0ceedef43c2790f0b36471f91138a575243
2016-03-21 15:32:19 +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
dan
e42195b044
Add an API to indicate the percentage progress of an rbu update.
...
FossilOrigin-Name: ffc58d2c2576a5b6e1c2c7112612c5760e711afd
2016-03-17 21:06:42 +00:00
drh
762e32bcfa
Change the xGetLastError() method on the windows VFS so that it continues to
...
format an error message (if requested) but returns the system error code,
rather than an SQLite status code.
FossilOrigin-Name: 1602f6b53698bd3a1a4be218c2e3145dd895f1f1
2016-03-17 19:28:19 +00:00
drh
de845c2f5a
A more compact implementation of the code generator for the
...
IS and IS NOT operators.
FossilOrigin-Name: 8607e3ac7a9d44372a4a66da21bbb3d28ae2528a
2016-03-17 19:07:52 +00:00
drh
0e80e50984
Simple test cases for sqlite3_system_errno()
...
FossilOrigin-Name: 185bc8644c806597194dc532a4d547a03a2dedaa
2016-03-17 17:23:11 +00:00
drh
1b9f2141a7
Experimental implementation of the sqlite3_system_errno() interface.
...
FossilOrigin-Name: 6782c87b3722fbd09684a5b1e5df05247956f1c6
2016-03-17 16:01:23 +00:00
dan
c9460ab989
Fix some OOM-handling issues in the fts5 changes on this branch.
...
FossilOrigin-Name: 020a0bda59fe93b9361ceeed0d5a8ba4177380c8
2016-03-17 12:39:56 +00:00
drh
4b058dd4d1
The prepared statements for some pragmas can now be reused without invoking
...
an automatic reprepare.
FossilOrigin-Name: 97b0e88cc7c3d677217d0bfab4cb4a34a4abb238
2016-03-16 21:29:54 +00:00
dan
db8d320d63
Merge the changes on the reusable-pragma branch into this one.
...
FossilOrigin-Name: 6c4a17b963916d19c9433d7a251338042f32e9fa
2016-03-16 20:53:33 +00:00
drh
f71a366407
Some pragmas can be reused without an automatic reprepare.
...
FossilOrigin-Name: db1ce7e13e656fcd2766f1b1f225cbfefe8f73ad
2016-03-16 20:44:45 +00:00
drh
e459bd4986
Fix a comment on the freelist_count and data_version pragmas.
...
FossilOrigin-Name: 10a3e2a01db9f80452a2a3369fd25b6fd9798274
2016-03-16 20:05:57 +00:00
dan
377ba38429
Add a cast to an implict (size_t -> int) conversion in fts5_expr.c.
...
FossilOrigin-Name: d9b5ff7aba3a8f6ca4505eac308fa9d510254c3e
2016-03-16 19:53:58 +00:00
dan
f55fb6615b
Have fts5 cache the decoded structure of fts5 indexes in memory. Use "PRAGMA data_version" to detect stale caches.
...
FossilOrigin-Name: 33ef2210ef19e55c8d460bfe9d3dc146034c8acc
2016-03-16 19:48:10 +00:00