dan
303b02cc0b
Fix an LSM problem causing the wrong amount of "auto-work" to be performed
...
under fairly obscure circumstances.
FossilOrigin-Name: a4876672edea4e96103efd2463ce9a34a0b994a8744c941660940578aafbd454
2018-01-05 11:34:18 +00:00
dan
34aebb88da
Change some LSM code internal typenames from "Blob" and "Pgno" to "LsmBlob"
...
and "LsmPgno". This allows the LSM code to be compiled as a single unit with
sqlite3.c.
FossilOrigin-Name: 30bf38d589adf0b2eb613e184ffb03ed7e625736cb04fd5c341328f72bc5ef4d
2017-12-13 15:32:33 +00:00
dan
cda185d3a2
Ensure that empty space on pages is zeroed before they are written to disk.
...
This helps with compressed databases, and stops valgrind complaining about
uninitialized bytes and write().
FossilOrigin-Name: 5ffec5db33137251090d45e2ca7e3e7823e3215ae89822d905923424ceba2ac2
2017-11-16 20:48:47 +00:00
mistachkin
b7bfc3b12d
Fix a whitespace alignment issue in lsm1.
...
FossilOrigin-Name: a8e651e0e52b016c3939df3ee23b4981f1a8841c7ddd2981c1ef391feb559a5e
2017-07-11 17:06:42 +00:00
mistachkin
36c68234d6
Fix more harmless compiler warnings in lsm1, seen with MSVC 2015.
...
FossilOrigin-Name: 0f1307f1f5638c1c4f1ce2b89cdef7ce8b76dc2a38685cd1ca152cde9e8727da
2017-07-11 16:46:41 +00:00
mistachkin
1be5051923
Fix harmless compiler warnings seen with MSVC for lsm1.
...
FossilOrigin-Name: cf6da4a52f7f9047e653ef2972e4c0910b29d7182d789a9e30225dc1849e8779
2017-07-11 16:36:10 +00:00
dan
431a53fde2
Fix further OOM handling cases in LSM.
...
FossilOrigin-Name: ca757c8665e27de884086b2aab2bd1db481e2d12f2afe136ec151bf5a0e65b91
2017-07-04 19:23:32 +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
dan
a5b55e370f
Avoid constantly freeing and reallocing small internal buffers associated with
...
LSM cursors. Instead, allow them to persist for the lifetime of the cursor if
they are LSM_SEGMENTPTR_FREE_THRESHOLD (default 1024) bytes or smaller.
FossilOrigin-Name: bacfe8cb3e4d3be736c6789b2ce55ef5603e5c7a289b05b37cae2203cd7f2290
2017-06-30 11:44:11 +00:00
drh
eb8e7adb16
The virtual table compiles but does not work and is missing many features.
...
This is an incremental check-in.
FossilOrigin-Name: a32849d6bf66462d1f511714a00f24519d7b7079
2015-11-17 00:15:21 +00:00
drh
a0b7ffb184
Import the LSM code from SQLite4 for use in an experimental virtual table.
...
NB: This is a speculative experiment and could easily result in a dead-end
branch.
FossilOrigin-Name: 3d930501a2acb7f20932cfeb4e3fe308b4569cd6
2015-11-16 16:00:22 +00:00