Skip to content

Commit b4f9a94

Browse files
committed
extra futzing
There is a sqlar extension and program so name them differently Remove the 3.52 timestamp vfs
1 parent d238a36 commit b4f9a94

4 files changed

Lines changed: 37 additions & 38 deletions

File tree

apsw/sqlite_extra.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
"type": "extension"
105105
},
106106
"sqlar": {
107-
"description": "Command line SQL archive tool",
108-
"type": "executable"
107+
"description": "Utility functions for SQL archives",
108+
"type": "extension"
109109
},
110110
"sqlite3_dbdump": {
111111
"description": "Converts the content of a SQLite database into UTF-8 text SQL statements that can be used to exactly recreate the original database",
@@ -175,14 +175,14 @@
175175
"description": "Shows contents of stat4 index of a database",
176176
"type": "executable"
177177
},
178-
"sqlite3_showtmlog": {
179-
"description": "Makes human/csv readable output from a tmstmpvfs log file",
180-
"type": "executable"
181-
},
182178
"sqlite3_showwal": {
183179
"description": "Shows low level content of a WAL file",
184180
"type": "executable"
185181
},
182+
"sqlite3_sqlar": {
183+
"description": "Command line SQL archive tool",
184+
"type": "executable"
185+
},
186186
"stmt": {
187187
"description": "Virtual table with information about all prepared statements on a connection",
188188
"type": "extension"
@@ -191,10 +191,6 @@
191191
"description": "Function that returns the same sequence of random integers is returned for each invocation of the statement",
192192
"type": "extension"
193193
},
194-
"tmstmpvfs": {
195-
"description": "VFS shim that writes timestamps and other tracing information to the reserved bytes of each page, and also generates corresponding log files",
196-
"type": "extension"
197-
},
198194
"uint": {
199195
"description": "UINT collating sequence",
200196
"type": "extension"

doc/extra.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ statically for those extensions and programs.
4040
TCL
4141
+++
4242

43-
Some of the tools require `TCL <https://www.tcl-lang.org/>`__ and are
43+
Some of the programs require `TCL <https://www.tcl-lang.org/>`__ and are
4444
omitted.
4545

4646
Readline

doc/sqlite_extra.rst-inc

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ Programs
55
--------
66

77

8-
sqlar (`doc <https://sqlite.org/sqlar/>`__)
9-
10-
Command line SQL archive tool
11-
128
sqlite3_dbdump (`doc <https://sqlite.org/src/file?ci=trunk&name=ext%2fmisc%2fdbdump.c>`__)
139

1410
Converts the content of a SQLite database into UTF-8 text SQL statements that can be used to exactly recreate the original database
@@ -77,14 +73,14 @@ sqlite3_showstat4 (`doc <https://sqlite.org/src/file?ci=trunk&name=tool%2fshowst
7773

7874
Shows contents of stat4 index of a database
7975

80-
sqlite3_showtmlog (`doc <https://sqlite.org/src/file?ci=trunk&name=tool%2fshowtmlog.c>`__)
81-
82-
Makes human/csv readable output from a tmstmpvfs log file
83-
8476
sqlite3_showwal (`doc <https://sqlite.org/src/file?ci=trunk&name=tool%2fshowwal.c>`__)
8577

8678
Shows low level content of a WAL file
8779

80+
sqlite3_sqlar (`doc <https://sqlite.org/sqlar/>`__)
81+
82+
Command line SQL archive tool
83+
8884

8985
Extensions
9086
----------
@@ -181,7 +177,7 @@ Extensions
181177
- `link <https://sqlite.org/src/file?ci=trunk&name=ext%2fmisc%2ffileio.c>`__
182178
- Implements SQL functions readfile() and writefile(), and eponymous virtual type 'fsdir'
183179
-
184-
* Function: :code:`lsmode` :code:`readfile` :code:`realpath` :code:`writefile`
180+
* Function: :code:`lsmode` :code:`readfile` :code:`writefile`
185181
* VTable: :code:`fsdir`
186182

187183
* - fuzzer
@@ -194,7 +190,7 @@ Extensions
194190
- `link <https://sqlite.org/src/file?ci=trunk&name=ext%2fmisc%2fieee754.c>`__
195191
- functions for the exact display* and input of IEEE754 Binary64 floating-point numbers
196192
-
197-
* Function: :code:`ieee754` :code:`ieee754_exponent` :code:`ieee754_from_blob` :code:`ieee754_from_int` :code:`ieee754_inc` :code:`ieee754_mantissa` :code:`ieee754_to_blob` :code:`ieee754_to_int`
193+
* Function: :code:`ieee754` :code:`ieee754_exponent` :code:`ieee754_from_blob` :code:`ieee754_inc` :code:`ieee754_mantissa` :code:`ieee754_to_blob`
198194

199195
* - memstat
200196
- `link <https://sqlite.org/memstat.html>`__
@@ -259,6 +255,12 @@ Extensions
259255
* Function: :code:`editdist3` :code:`spellfix1_editdist` :code:`spellfix1_phonehash` :code:`spellfix1_scriptcode` :code:`spellfix1_translit`
260256
* VTable: :code:`spellfix1`
261257

258+
* - sqlar
259+
- `link <https://sqlite.org/sqlar.html#managing_sqlite_archives_from_application_code>`__
260+
- Utility functions for SQL archives
261+
-
262+
* Function: :code:`sqlar_compress` :code:`sqlar_uncompress`
263+
262264
* - stmt
263265
- `link <https://sqlite.org/stmt.html>`__
264266
- Virtual table with information about all prepared statements on a connection
@@ -271,12 +273,6 @@ Extensions
271273
-
272274
* Function: :code:`stmtrand`
273275

274-
* - tmstmpvfs
275-
- `link <https://sqlite.org/src/file?ci=trunk&name=ext%2fmisc%2ftmstmpvfs.c>`__
276-
- VFS shim that writes timestamps and other tracing information to the reserved bytes of each page, and also generates corresponding log files
277-
-
278-
* VFS: :code:`tmstmpvfs`
279-
280276
* - uint
281277
- `link <https://sqlite.org/src/file?ci=trunk&name=ext%2fmisc%2fuint.c>`__
282278
- UINT collating sequence

tools/vend.py

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ def __post_init__(self):
168168
description="Search a large vocabulary for close matches",
169169
doc="spellfix1.html",
170170
),
171+
Extra(
172+
name="sqlar",
173+
description="Utility functions for SQL archives",
174+
doc="sqlar.html#managing_sqlite_archives_from_application_code",
175+
lib_zlib=True,
176+
),
171177
Extra(
172178
name="stmt",
173179
description="Virtual table with information about all prepared statements on a connection",
@@ -177,10 +183,6 @@ def __post_init__(self):
177183
name="stmtrand",
178184
description="Function that returns the same sequence of random integers is returned for each invocation of the statement",
179185
),
180-
Extra(
181-
name="tmstmpvfs",
182-
description="VFS shim that writes timestamps and other tracing information to the reserved bytes of each page, and also generates corresponding log files",
183-
),
184186
# totype: hard codes byte order detection on processors from 2013
185187
Extra(
186188
name="uint",
@@ -348,26 +350,31 @@ def __post_init__(self):
348350
description="Shows contents of stat4 index of a database",
349351
lib_sqlite=True,
350352
),
351-
Extra(
352-
name="sqlite3_showtmlog",
353-
type="executable",
354-
sources=["tool/showtmlog.c"],
355-
description="Makes human/csv readable output from a tmstmpvfs log file",
356-
),
357353
Extra(
358354
name="sqlite3_showwal",
359355
type="executable",
360356
sources=["tool/showwal.c"],
361357
description="Shows low level content of a WAL file",
362358
),
363359
Extra(
364-
name="sqlar",
360+
name="sqlite3_sqlar",
365361
type="executable",
366362
sources=["sqlar/sqlar.c"],
367363
doc="sqlar/",
368364
description="Command line SQL archive tool",
369365
lib_sqlite=True,
370366
),
367+
# these two are in the withdrawn 3.52.0 release
368+
#Extra(
369+
# name="sqlite3_showtmlog",
370+
# type="executable",
371+
# sources=["tool/showtmlog.c"],
372+
# description="Makes human/csv readable output from a tmstmpvfs log file",
373+
#),
374+
#Extra(
375+
# name="tmstmpvfs",
376+
# description="VFS shim that writes timestamps and other tracing information to the reserved bytes of each page, and also generates corresponding log files",
377+
#),
371378
]
372379

373380
import os

0 commit comments

Comments
 (0)