dan
|
43030868e6
|
Fix a memory leak in sqlite3ota.c that can follow an OOM error.
FossilOrigin-Name: c3dc15e71782fc70e92b71ad9eec0cf8ffef611f
|
2015-04-17 16:29:11 +00:00 |
|
dan
|
ec16d98489
|
Have OTA always specify SQLITE_CONFIG_URI when opening databases. Fix a test issue causing otacrash.test to fail.
FossilOrigin-Name: 0d0e5ec064eaecb200b9b601b7a54a1700cd176e
|
2015-04-17 08:36:05 +00:00 |
|
dan
|
5c06dd831f
|
Be sure to release any xShmLock locks held when closing an OTA handle.
FossilOrigin-Name: d0fba72a47f73082ade40a732aab114bc8f6d83e
|
2015-04-16 18:49:53 +00:00 |
|
dan
|
28b22a0159
|
Fix a mismatched printf() argument and format specifier. Add ota files to Makefile.in.
FossilOrigin-Name: 5db810a88dac5cbf1f6b321345d01cc0d9d05d31
|
2015-04-16 14:33:09 +00:00 |
|
dan
|
4141a81b30
|
Avoid attempting to rename the *-oal file while it is still open.
FossilOrigin-Name: 658c3b0c80b9fe7eaac5982573651dc649a4c53f
|
2015-04-16 10:55:58 +00:00 |
|
drh
|
fdb031891c
|
Merge all recent trunk enhancements and fixes into the ota-update branch.
FossilOrigin-Name: 9bd3e4453d4ad416f7e3f08f0bd283d34f1c319c
|
2015-04-15 14:26:04 +00:00 |
|
dan
|
0d01ec8de8
|
Remove an incorrect assert() statement from sqlite3Fts3Dequote().
FossilOrigin-Name: bd06eeb8d06237dc2d54d8a03e8bf525cb811c9e
|
2015-04-15 09:16:39 +00:00 |
|
dan
|
2deb12be2b
|
Fix a problem causing an assert() to fail if a snippet containing 0 tokens was requested from fts3.
FossilOrigin-Name: eafd0a1e3f25f38d551603f177ff4634cf79de77
|
2015-04-15 08:20:50 +00:00 |
|
dan
|
75395ccd17
|
Do not allow virtual table constructors to be called recursively.
FossilOrigin-Name: 0a72726da21581ab16cb3e964bd825b8f2e931e4
|
2015-04-10 07:55:07 +00:00 |
|
drh
|
57d0d9f33c
|
Merge all changes for version 3.8.9 into the ota-update branch.
FossilOrigin-Name: ec9d907a57fcea72c8a64e521e8a1b5777d67568
|
2015-04-08 14:01:07 +00:00 |
|
dan
|
4b0000c9a8
|
Fix a problem with fts3 prefix terms within phrase queries on "order=DESC" tables with a mix of negative and positive rowids.
FossilOrigin-Name: 0cdf502885ea7e5805d7ba3719f055f5d48fc78d
|
2015-04-06 09:05:29 +00:00 |
|
drh
|
f3e8748683
|
Fix a harmless compiler warning in FTS3.
FossilOrigin-Name: 1688f60c08cc9270948402d98a2333382aa32681
|
2015-03-26 14:29:51 +00:00 |
|
dan
|
6da7a0a93d
|
Merge the latest trunk changes into this branch.
FossilOrigin-Name: 9d9b6c883b4f7d69c615cedfb59a2385aac47b74
|
2015-03-24 18:21:41 +00:00 |
|
dan
|
f37120a416
|
When the OTA module updates or deletes a row, save only those fields that are part of an index or primary key to the ota update database.
FossilOrigin-Name: 6326fd3249bee267da0172f8afd1e7b3f71521b9
|
2015-03-24 18:03:29 +00:00 |
|
dan
|
5e4eeb3c00
|
Fix a broken assert() in the ota module.
FossilOrigin-Name: 858de8a5e7925bd96d7b9c0f00bc16358cf3b295
|
2015-03-23 17:10:51 +00:00 |
|
drh
|
3858cb44b6
|
Add a missing "int" on a constant declaration.
FossilOrigin-Name: 235157de5113ac4c750e36a498e2a1f1cf461751
|
2015-03-21 20:50:58 +00:00 |
|
dan
|
e10d87f65a
|
Avoid a segfault if NULL is passed as the first argument to SQL scalar function fts3_tokenizer().
FossilOrigin-Name: 6d0989695b486275824c14d5f88357267c1e8104
|
2015-03-21 19:35:09 +00:00 |
|
dan
|
998aaa03ea
|
Avoid an integer overflow in fts3 causing gcc 4.7.1 with -O2 to behave counter-intuitively (perhaps because the behaviour is undefined). Add an "ifcapable trace" to a test in shell4.test.
FossilOrigin-Name: e3e234649616f20610abce9ae9da1c572d3a4377
|
2015-03-21 12:22:51 +00:00 |
|
mistachkin
|
44723ce096
|
Improvements to the MSVC build. Fix harmless compiler warnings. Enable use of 'stdcall'.
FossilOrigin-Name: 737630b87314283b2c38790ace9d25ec05f81f4a
|
2015-03-21 02:22:37 +00:00 |
|
dan
|
b7134d0863
|
Fix an FTS3/4 problem with handling empty tokenizer declarations (e.g. "CREATE VIRTUAL TABLE t(tokenize=);").
FossilOrigin-Name: 26d2def8a53094356008861636d66f9ae8f2448a
|
2015-03-19 16:25:42 +00:00 |
|
dan
|
e0417626ea
|
Silently ignore any attempt to add a prefix index for prefixes zero bytes in size to an fts3/4 table. Or any prefix index size so large that it overflows a 32-bit signed integer.
FossilOrigin-Name: ad4b19d2ac0889a23fe3b0fd844286efc10cdd82
|
2015-03-19 15:52:07 +00:00 |
|
dan
|
c3b328da6e
|
Allow whereShortCut() to use the PRIMARY KEY index of a WITHOUT ROWID table to optimize a vector of "IS" operators in a WHERE clause.
FossilOrigin-Name: 52e73eeca063bb30092ce600068bf487641399a0
|
2015-03-18 20:03:27 +00:00 |
|
dan
|
9340de52e2
|
Clarify that OTA is unable to update or delete rows with NULL values in primary key fields.
FossilOrigin-Name: 2e7c1e0a0d128d9bac119692b2505b5ed0abe87a
|
2015-03-18 19:04:40 +00:00 |
|
drh
|
a9106ca83d
|
Merge recent trunk enhancements into the ota-update branch.
FossilOrigin-Name: 5489cb68921f62f10d832adbc4d19ea8c6c5da50
|
2015-03-09 13:24:46 +00:00 |
|
dan
|
54fc21438e
|
Fix some problems with OTA and empty target databases, or target databases with the wrong set of tables. Also add SQLITE_FCNTL_VFSNAME support to the OTA VFS.
FossilOrigin-Name: 46119e8d8e391d8dea844352521b58415f7365b1
|
2015-03-05 16:21:20 +00:00 |
|
dan
|
2bd7ace54e
|
Add comments to sqlite3ota.h to make it clear that passing NULL in place of a parent VFS name to sqlite3ota_create_vfs() causes the new VFS to use the system default as its parent.
FossilOrigin-Name: 158c1a48818a9abc001b9ea547167c2624a7bad3
|
2015-03-05 14:07:25 +00:00 |
|
dan
|
67d4b20c46
|
Fix a typo in sqlite3ota.h.
FossilOrigin-Name: 04087dec4c3db5f322eca289585525b7267ed4f8
|
2015-03-05 13:43:21 +00:00 |
|
mistachkin
|
0b7ff5c11b
|
Fix harmless compiler warning.
FossilOrigin-Name: 580dae4615353d73c7d096107571bd60fec5b0f2
|
2015-03-04 20:18:55 +00:00 |
|
mistachkin
|
38e40ee2e5
|
Fix potential memory leaks in the misc 'compress' extension.
FossilOrigin-Name: 3bc34fd427d9d7819cd9740237b1f5d4180341fa
|
2015-02-26 21:04:44 +00:00 |
|
dan
|
5b828f8c33
|
Fix building with ENABLE_OTA and OMIT_LOAD_EXTENSION.
FossilOrigin-Name: d6d21ff55228d3ffe6cdbb5755645b147806a1da
|
2015-02-23 20:09:50 +00:00 |
|
dan
|
04f121c187
|
Change SQLITE_FCNTL_ZIPVFS_PAGER to SQLITE_FCNTL_ZIPVFS.
FossilOrigin-Name: f7865b942834dd2f6b865336e08ba1adbf20612a
|
2015-02-23 15:41:48 +00:00 |
|
dan
|
5ebc83b1d2
|
Update the sqlite3ota_db() API to account for the fact that each OTA handle now uses two SQLite database handles.
FossilOrigin-Name: ef08ecceb7e237a01af6cc3141dccee09ffe9ae3
|
2015-02-23 15:02:13 +00:00 |
|
dan
|
882b8e0974
|
Improve tests for resuming ota updates following power failures. Fix a problem revealed by the same.
FossilOrigin-Name: 1cb675e5392f179516d8e7a52760922a6c7df4d0
|
2015-02-23 12:22:55 +00:00 |
|
dan
|
ee9fa4af15
|
Fix some problems with resuming ota updates if saving the state is interrupted by a power failure or system crash.
FossilOrigin-Name: 6d5ed70d0dbabe9c2ab2f2dba47747d17d937781
|
2015-02-21 20:08:25 +00:00 |
|
dan
|
92f55ceb70
|
Add some missing comments and fix other minor code issues in sqlite3ota.c.
FossilOrigin-Name: 718fd8b673d6557dd0eaad03e6a3332b5490afbf
|
2015-02-20 14:36:16 +00:00 |
|
dan
|
942b0a68ea
|
Ensure the mutex used to protect the linked list of all main database files opened by a single ota vfs is allocated.
FossilOrigin-Name: 9c8682d6650a94e11f9bec5baff69ed9668874fa
|
2015-02-19 19:59:35 +00:00 |
|
dan
|
138bf3bc7f
|
Update various documentation comments in sqlite3ota.c and sqlite3ota.h.
FossilOrigin-Name: 60e0a46b82dd9c704e8aa977d1ccdd73d388422f
|
2015-02-19 18:06:40 +00:00 |
|
dan
|
20ab217f93
|
Add tests for a couple of previously untested branches in the ota code.
FossilOrigin-Name: a3c1bc5d5e3f4b197f48cbbc240608e94bfc2b45
|
2015-02-19 13:36:02 +00:00 |
|
dan
|
7551c5c3e6
|
Add new file ota12.test, containing tests for applying ota updates to live databases with other active reader/writer clients.
FossilOrigin-Name: 0864d127fe42fc0db7ab30a3ebf74c0114095648
|
2015-02-18 20:17:14 +00:00 |
|
dan
|
e3e031ce85
|
Add ota tests to increase code coverage. Fix some minor issues in error handling within the ota code.
FossilOrigin-Name: 2b10c5d2b8b8b535d3dec0c68a777db16268e1e5
|
2015-02-18 20:16:15 +00:00 |
|
dan
|
d092df51de
|
Fix a problem with OTA updates in the presence of database readers.
FossilOrigin-Name: 144bb29ffcbfe96dc10c0224113e73a80e89314b
|
2015-02-18 17:40:05 +00:00 |
|
dan
|
eadc772beb
|
Improve test coverage of ota code a bit.
FossilOrigin-Name: a438fa6c9ad2fb1d78ac747172d07455d6381387
|
2015-02-17 20:49:42 +00:00 |
|
dan
|
f5fe23909d
|
Add extra tests and fixes for ota.
FossilOrigin-Name: e0b7151962fedbcac975f2216fd6b33b995a8945
|
2015-02-16 21:13:19 +00:00 |
|
dan
|
5902352fca
|
Add further tests and fixes for ota.
FossilOrigin-Name: 62dc1fffc38cb157c15105098749b6dd0198eb84
|
2015-02-16 11:48:34 +00:00 |
|
dan
|
c76c64f931
|
Move tcl test code from sqlite3ota.c to new file ext/ota/test_ota.c.
FossilOrigin-Name: f20779a6e890ba73bfaa904cefcf3a029b01fed4
|
2015-02-16 06:27:37 +00:00 |
|
dan
|
52800df9fc
|
Change the way the "incremental checkpoint" function of OTA works in order to reduce the effect on the SQLite core code.
FossilOrigin-Name: b64a11a754dc56f3406d3b703531ebe9e4af4908
|
2015-02-14 18:58:22 +00:00 |
|
dan
|
01325e86e6
|
Merge the ota-update-no-pager_ota_mode branch into this one.
FossilOrigin-Name: 71887cd9b38def398d48eaf0ec34eeac3c7c5177
|
2015-02-11 17:05:17 +00:00 |
|
dan
|
a3cf4f7ccb
|
Merge latest trunk changes with this branch.
FossilOrigin-Name: 0b63e8dcbaec5043e353734e684c2a46552a3409
|
2015-02-11 16:54:48 +00:00 |
|
dan
|
2e24971f2a
|
Ensure that an error is reported if an attempt is made to update a wal mode database via ota.
FossilOrigin-Name: 6fc5d4d26a603b3906f02ceea0f507780d0c35eb
|
2015-02-11 16:25:27 +00:00 |
|
dan
|
cd73244144
|
Further tweaks to work with zipvfs.
FossilOrigin-Name: 0f152416be792457c52417aeb531ac860d12a5bd
|
2015-02-10 20:00:38 +00:00 |
|