dan
4a0baed049
Update zonefile README.md file to mention the frame cache.
...
FossilOrigin-Name: 84e9351bbd0a9bf9e1d64a441366a90276c231b44548cbc947f7fb2842f82490
2018-02-27 20:09:45 +00:00
dan
f736acd40c
Rationalize some code in zonefile.c. Fix other minor issues in the same.
...
FossilOrigin-Name: f11beb16a87cc967e896cf67121b1e4045e427ebdc6a424e9f009ffced955d36
2018-02-27 19:50:28 +00:00
mistachkin
d276b00554
Enhance test 'zonefile1-6.5' to account for platform differences.
...
FossilOrigin-Name: 8b6178403fb6a7f87502c42026caf3da1c355b2ed9e780b347f4a05d7ffc1e18
2018-02-27 15:47:41 +00:00
mistachkin
fd9a916c4a
Adjustments to test numbers for the 'zonefile' extension.
...
FossilOrigin-Name: 55de6f14d49342394397c0dc29c1e98c927ef99d57ec1f71c79099f584be20d1
2018-02-27 15:42:29 +00:00
dan
4ec163f7ae
Have the zonefile extension use binary instead of text keys.
...
FossilOrigin-Name: 39a4267fc9cec77fd8d9be25c73b848e77a68906253cc75d61fe90e549bafa27
2018-02-27 14:26:33 +00:00
dan
6c3e64e653
Add extra parameter to zonefileCodecCreate() to indicate whether the new
...
object will be used for mock-encryption or mock-decryption.
FossilOrigin-Name: 231832c4cb15862e61dfcc00fba9ab78ca7e2442a0d4aa1a98a191f5f8b4cff3
2018-02-26 07:58:39 +00:00
dan
87f1670de8
Test edge cases in the zonefile module. Fix a broken error message in the same.
...
FossilOrigin-Name: 1764ade22b52eba0226ae2e6e837a1b0967023eabd7d50e9f87c5e7042ea2f12
2018-02-24 08:26:21 +00:00
dan
e68ffadbf4
Fix a problem with handling "k >= ?" constraints in the zonefile module.
...
FossilOrigin-Name: 9a99afafa3fb9ec4823e5030cb04a685d64942ec04a1154b729dc4c0f313dc4a
2018-02-23 21:01:15 +00:00
dan
9f908122af
Add test cases and minor fixes for the zonefile module.
...
FossilOrigin-Name: dbbcbf0066ef82c789981feff78d95861a836e6e23a22ad3bb698dd257062f75
2018-02-23 19:21:19 +00:00
dan
2e2bc60300
Fix a problem causing SQLITE_HAVE_LZ4 builds of zonefile to fail unless
...
SQLITE_HAVE_ZLIB is also defined.
FossilOrigin-Name: 994aa77d7826ab220727595a6a21f1f95a8f7590798879706016665ca1934dd1
2018-02-23 14:09:59 +00:00
dan
d9cad97389
Fix a problem with DROP TABLE statements on zonefile virtual tables.
...
FossilOrigin-Name: d2ed6910b86a086911d3c0670c9778e222186d8733fc81bcc081932d70e0452a
2018-02-23 14:02:37 +00:00
mistachkin
7f837b66fa
Fix harmless compiler warnings in the zonefile extension seen with MSVC.
...
FossilOrigin-Name: d28003941ceca7fb707fcdb09bf8b00a6c1b728956e018d7ecfb6852d7dd469b
2018-02-23 14:00:38 +00:00
dan
241676abcc
Avoid running a test case that requires zstd in non-SQLITE_HAVE_ZSTD builds.
...
FossilOrigin-Name: d716dff4441b4d28e0184ce06508bc9122451103ead8edbfbf3c87b666445ee6
2018-02-23 13:58:17 +00:00
mistachkin
c0905baac8
Merge updates from trunk.
...
FossilOrigin-Name: 53f2100a296f64d206f1caf2d754820a7898bb33b31a6ab2169957d228d5d2a0
2018-02-23 13:45:05 +00:00
mistachkin
5facffbc70
Fix harmless compiler warnings in the zipfile extension seen with MSVC.
...
FossilOrigin-Name: 15c587cf6ffc920dc37f67cacb4f0db6a603fb998a22a639f755387910516414
2018-02-23 13:38:54 +00:00
dan
563d3242d7
Add tests cases and fix some minor zonefile problems.
...
FossilOrigin-Name: f4d42162fa2196078cea4db9c2247a08f5439d29e49f5e8dc23db317b8101865
2018-02-22 21:06:08 +00:00
dan
2707b56334
Add an LRU cache of uncompressed frame content to the zonefile virtual table
...
implementation.
FossilOrigin-Name: 883e7e75d65622e8d06c46e48b7cc756cc0e3345b8124a8038cab0a8d51d0458
2018-02-22 16:46:42 +00:00
dan
86a1bf4815
Modifications to the zonefile module to make it easier to add a cache of
...
uncompressed frame content.
FossilOrigin-Name: d9d5cc62f11058f9ba560381367ff4765dbbde08184e55abdb50ae1b6bf4a016
2018-02-21 21:15:45 +00:00
dan
d98b4b24f2
Have zonefile store encryption keys in a hash-table instead of a linked list.
...
Add extra tests for key management.
FossilOrigin-Name: 3a63ea652546a4c63eccd72665becff38a97a0e39d2f11703cb6899451570fd4
2018-02-21 16:36:08 +00:00
dan
92c01308cc
In zonefile, change the "file TEXT" column back to "fileid INTEGER". The
...
fileid can be used as a key with the associated zonefile_files table, which
contains more information than just the filename.
FossilOrigin-Name: 38d23888cf5a7117c51bd9211bd93ec52a30360f7eb2bc83a13910c5d85fe739
2018-02-21 10:43:19 +00:00
dan
cc6cece39a
Update README.md in ext/zonefile.
...
FossilOrigin-Name: a13b2b38137025d04bbfc1b12f0d0563dcf7e0ab1d4b06ffc7cacf994f00e188
2018-02-20 20:57:20 +00:00
dan
92c7c98ac4
Fix a problem with reading the "file" column of a zonefile virtual table.
...
FossilOrigin-Name: d8d0bdcb405610978393bb8f3ef30ee868fddda0d129036f8d0102012fe0d5d4
2018-02-20 19:25:49 +00:00
dan
b0e7fff492
Instead of just the frame number, store frame sizes and offsets in zonefile
...
shadow table %_shadow_idx.
FossilOrigin-Name: 56801c461c5d19cf96146fe0fa7f725c81da5cd7495c9608cd044125d00fecfe
2018-02-20 18:47:24 +00:00
dan
ccc9acc059
Add support for invoking encryption hooks to zonefile. And mock encryption
...
method "xor" for testing.
FossilOrigin-Name: 55cf920c5a13473d04f0cb885117c04b2bc054bfed6ee549be84cb9485c104d2
2018-02-19 21:07:20 +00:00
dan
cbce846ea5
Add support for the ExtendedHeaderSize header field to zonefile.
...
FossilOrigin-Name: 78267a091307e2c29a4fb1606fa9c79939fe010b801749614f4c48dc8715810e
2018-02-19 16:28:42 +00:00
dan
c65faba468
Modify the zonefile format in order to avoid depending on the filesize to
...
determine the extent of the final frame. See README.md for details.
FossilOrigin-Name: 4dbe0cba3fad9a752834d795127cf35eed21fab63b18a48f75d5c1e96ca77447
2018-02-19 14:27:24 +00:00
dan
a88b05361c
Add support for "brotli" compression to the zonefile module.
...
FossilOrigin-Name: 3eb25b3fa5733b4418e7e2633be34b763e2c70342bb9c418a07c9f7d4b196fac
2018-02-17 20:22:23 +00:00
dan
aac12cb868
Add support for compression types "lz4" and "lz4hc" to the zonefile module.
...
FossilOrigin-Name: bbe5b21ffab3cd312680ca9f179c5847790c17fb91d4174985153c6c398d48e3
2018-02-17 19:38:02 +00:00
dan
19e6b8f496
Add support for compression methods "zstd" and "zstd_global_dict".
...
FossilOrigin-Name: a993a50bb8d5a3bf7cf79e09204814e172ba0bf9b3949e81912ef83f0d4bb44e
2018-02-17 18:33:43 +00:00
dan
21f433e821
Add support for zlib compression to the zonefile module.
...
FossilOrigin-Name: 72b8a7ef98d84460718378b9d17477599df39b4216015f8967674dd02b54b406
2018-02-15 20:37:58 +00:00
dan
6d7ec6a1d0
Fix another point in zonefile.c so that all files are opened in either "rb" or
...
"wb" mode.
FossilOrigin-Name: fb1c2277912c55cfae30c18b5434bc193748746395fa7df983cd8a29e5741ff9
2018-02-15 15:24:12 +00:00
dan
4e8f3bbd95
When calling fopen() in the zonefile extension, use modes "rb" and "wb"
...
instead of "r" and "w". This makes no difference on unix, but is required when
accessing binary files on other systems.
FossilOrigin-Name: 4bb854ddd9c1dc2972fd4f7c2c2b2d121caa662d5085694c2dbb35d331a61444
2018-02-15 15:17:42 +00:00
drh
f4bc6c43d7
Improve performance of editdist3() by keeping the costs in sorted order.
...
Also add a new regression test to editdist3().
FossilOrigin-Name: dc734c5b61464dfd6bfa7963f2ecce32e405a0c2ba1ef6f453ec9389da080256
2018-02-15 03:56:33 +00:00
drh
46e835a2c4
Reduce the number of calls to strncmp() required to run editDist3Core().
...
FossilOrigin-Name: afd6fbc01052ccfc9bd29fb8f934b291b8f56af44fcae870da7e1355fe95c29a
2018-02-15 03:05:56 +00:00
drh
d9274a8ae3
Performance optimizations to the editdist3() function in the spellfix
...
extension.
FossilOrigin-Name: 70d304dcbac4c3fd5e3b96108bffea2ce6c0db19c847397d5c5e268bb90a981d
2018-02-14 20:58:36 +00:00
drh
0fae06fcb6
Disable assert() in the spellfix extension if not compiled with SQLITE_DEBUG.
...
FossilOrigin-Name: 3c53ee0fdea4cbf2590e2b289b021b0ef8b7ead2945db1bdfc767432d9447acb
2018-02-14 20:25:33 +00:00
drh
e2d27e0259
Try to optimize spellfix1 by storing a NULL in the k1 column of %_vocab
...
if it would otherwise have the same value as the word column.
FossilOrigin-Name: b76ec7cb5841f9ad02b342271e91c5f5a598006f69df7953a6213c706e01f7a2
2018-02-14 14:13:09 +00:00
dan
74a2e48329
Fix formatting errors in ext/zonefile/README.md.
...
FossilOrigin-Name: a2221e35d6c34d0c07bee9329073ad12cad4ba88437dd40cea71ae3ffc77eeef
2018-02-13 21:16:16 +00:00
dan
2d29881283
Note the fact that zonefile depends on json1 in ext/zonefile/README.md.
...
FossilOrigin-Name: fb27d8f6a87e0dc1253622839c2164a7eb09f21fc0a16817c2ba9264561b77c2
2018-02-13 20:53:18 +00:00
dan
109346f437
Fix handling of maxAutoFrameSize parameter.
...
FossilOrigin-Name: d65e5855743534cb8db0d77d107579eae6daafc25c2f6035efa12c3ff0abbe7a
2018-02-13 20:08:47 +00:00
dan
3f9402e115
Enhance ext/zonefile/README.md to describe the currently available
...
functionality.
FossilOrigin-Name: 100137c7f68b2d9a329d6d43e6c0a81b6ac843678b670ab6cce5f510bc58b7a8
2018-02-13 19:01:08 +00:00
dan
715fc13296
Remove, for now, the "priority" column from the zonefile_files virtual table.
...
FossilOrigin-Name: 8bf5154bc6e31e206931d97c743eadaba4ef938c11e006082d795439dadaeb8f
2018-02-13 18:02:00 +00:00
dan
522bb74ae1
Pad the 26 byte Zonefile header to 32 bytes so that the ZonefileIndex object
...
is 8-byte aligned.
FossilOrigin-Name: fdb6c0c5dc5a67ca16dfafc6e677f73936f36e357a2ff288b4958ddee0544603
2018-02-13 17:33:28 +00:00
drh
d446e79545
Remove an unused variable from FTS4.
...
FossilOrigin-Name: 27ea783b281606196ad1e7e6e6dcbd80c75d4bafcf3e58756a71c213320e4db2
2018-02-13 16:30:19 +00:00
dan
e84c498be1
Ensure that multiple updates of the same FTS4 row (i.e. the row with the same
...
rowid) within a single transaction are written to separate segments. Fix for
[d6ec09ec].
FossilOrigin-Name: d2a81a3752a8298ee65fddcf32dee2147ba6467f770315a41966b3533977aa64
2018-02-13 16:21:32 +00:00
dan
764d56b564
Add support for reading simple (no compression, no encryption) zonefile files.
...
FossilOrigin-Name: dba42f0e1efae7bad4579d23ad98e2c06e38053abe55f5cb277d7eecea42c56c
2018-02-12 20:04:22 +00:00
dan
b3f58b8b30
Add start of "zonefile" virtual table.
...
FossilOrigin-Name: 0b7bd1694bf50a5afed22ed3026cefe53c5e7ec334167244e2caa9c56185ff43
2018-02-10 21:04:12 +00:00
dan
087529aae4
Add the start of the "zonefile" extension.
...
FossilOrigin-Name: c125b4c380d1a20c7d71b413e96183eca9987aed3d0ba28395aa79c7c31bb6fd
2018-02-10 17:41:01 +00:00
drh
510fea885e
Add the zorder.c extension implementing zorder() and unzorder() SQL functions.
...
FossilOrigin-Name: a57a77dc0cc9fbaa9d5b134422f7a8cc8d4c2851ed3c2bdd449800c6a5d2aae0
2018-02-09 20:49:15 +00:00
dan
eab0e10304
In extensions rtree, fts3 and fts5, ensure that when dynamic buffers are bound
...
to persistent SQL statements using SQLITE_STATIC, the binding is replaced with
an SQL NULL before the buffer is freed. Otherwise, a user may obtain a pointer
to the persistent statement using sqlite3_next_stmt() and attempt to access
the freed buffer using sqlite3_expanded_sql() or similar.
FossilOrigin-Name: 2a5f813bc61f9e780f2ccbda425611f65ad523b6d486a1e5e2b9d5e9f1d260a2
2018-02-07 18:02:50 +00:00