Update zonefile README.md file to mention the frame cache.

FossilOrigin-Name: 84e9351bbd0a9bf9e1d64a441366a90276c231b44548cbc947f7fb2842f82490
This commit is contained in:
dan
2018-02-27 20:09:45 +00:00
parent f736acd40c
commit 4a0baed049
3 changed files with 16 additions and 10 deletions
+9 -3
View File
@@ -86,12 +86,18 @@ frame size of 4096 bytes and using "xor" encryption with a 128-bit key:
### Using (Reading) Zonefile Files
To create a new zonefile table:
To create a new zonefile table, one of the following:
> CREATE VIRTUAL TABLE z1 USING zonefile;
> CREATE VIRTUAL TABLE z1 USING zonefile(cachesize=N);
This creates two virtual tables in the database schema. One read-only table
named "z1", with a schema equivalent to:
where <i>N</i> is any non-zero positive integer. If the zonefile is used
to access any files containing compressed or encrypted data, it maintains
an LRU cache of uncompressed frame data <i>N</i> frames in size. The
default value of <i>N</i> is 1.
Creating a "zonefile" virtual table actually creates two virtual tables in the
database schema. One read-only table named "z1", with a schema equivalent to:
> CREATE TABLE z1( -- this whole table is read-only
> k INTEGER PRIMARY KEY, -- key value
+6 -6
View File
@@ -1,5 +1,5 @@
C Rationalize\ssome\scode\sin\szonefile.c.\sFix\sother\sminor\sissues\sin\sthe\ssame.
D 2018-02-27T19:50:28.876
C Update\szonefile\sREADME.md\sfile\sto\smention\sthe\sframe\scache.
D 2018-02-27T20:09:45.338
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F Makefile.in a2d2fb8d17c39ab5ec52beb27850b903949080848236923f436156b72a958737
@@ -408,7 +408,7 @@ F ext/session/test_session.c eb0bd6c1ea791c1d66ee4ef94c16500dad936386
F ext/userauth/sqlite3userauth.h 7f3ea8c4686db8e40b0a0e7a8e0b00fac13aa7a3
F ext/userauth/user-auth.txt e6641021a9210364665fe625d067617d03f27b04
F ext/userauth/userauth.c 3410be31283abba70255d71fd24734e017a4497f
F ext/zonefile/README.md dcf953e519a153e10e6b75aafa44d2865666b66b1c6d152d85d6c0618255d304
F ext/zonefile/README.md 49bc392fe0dde788cc63b2ea71e26cfba02141b6ac192e245668d0b7b43b5750
F ext/zonefile/zonefile.c ce917d60a62c8e384087954f482ab703b75a0660385e7a685bcafc0cff1c3038
F ext/zonefile/zonefile1.test 3719e1d069064f4e12e915f8d9f6256c769b1582258b3997e0492076a01d5f36
F ext/zonefile/zonefileenc.test e8624853ac224bfdeab8d2a231796499c3032e2a8bb1d2208f52fddf9507e38f
@@ -1712,7 +1712,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 8b6178403fb6a7f87502c42026caf3da1c355b2ed9e780b347f4a05d7ffc1e18
R c87480dddaa8bbeda004ab3a9673ad61
P f11beb16a87cc967e896cf67121b1e4045e427ebdc6a424e9f009ffced955d36
R ce086be2fa4585d5057d94c9c14e09e6
U dan
Z 889fdff2d5ef75d6ead6cee236eee7c1
Z fcd96707fe4566207f6172155f7ee098
+1 -1
View File
@@ -1 +1 @@
f11beb16a87cc967e896cf67121b1e4045e427ebdc6a424e9f009ffced955d36
84e9351bbd0a9bf9e1d64a441366a90276c231b44548cbc947f7fb2842f82490