sqlite/ext/misc
drh e893e2e4ee Fix the CSV extension so that it works with single-column CSV files.
FossilOrigin-Name: e336cf00486bdc0ec04ecded2b7c874d73a87e6aba3544e3678bedfb9a4af3b6
2018-06-02 12:05:18 +00:00
..
README.md
amatch.c
anycollseq.c
appendvfs.c
btreeinfo.c
carray.c
closure.c Fix a problem in the xBestIndex method of the closure extension causing it to 2018-05-02 08:12:22 +00:00
completion.c Add new interfaces for accessing the list of SQL keywords: 2018-04-25 19:02:48 +00:00
compress.c
csv.c Fix the CSV extension so that it works with single-column CSV files. 2018-06-02 12:05:18 +00:00
dbdump.c Add new interfaces for accessing the list of SQL keywords: 2018-04-25 19:02:48 +00:00
eval.c Fix segfault in 'eval.c' extension when used with 'empty_result_callbacks'. 2018-04-04 12:21:33 +00:00
fileio.c
fuzzer.c
ieee754.c
json1.c Correct output for the fullkey column of json_each() when the total JSON 2018-05-16 12:19:11 +00:00
memvfs.c
mmapwarm.c
nextchar.c
normalize.c
percentile.c
regexp.c
remember.c
rot13.c
scrub.c
series.c Fix the generate_series virtual table so that it correctly returns no 2018-04-03 14:25:51 +00:00
sha1.c
shathree.c
showauth.c
spellfix.c Fix a bug in the spellfix extension causing it to compute suboptimal answers. 2018-03-30 16:34:04 +00:00
sqlar.c
stmt.c
templatevtab.c Enhance the comments in the templatevtab.c implementation. 2018-04-27 15:17:08 +00:00
totype.c
unionvtab.c
vfslog.c
vfsstat.c
vtablog.c
vtshim.c
wholenumber.c
zipfile.c Fix minor problems with passing NULL pointers to memcmp() and memcpy() found by -fsanitize=undefined. 2018-03-23 16:31:34 +00:00
zorder.c

README.md

Miscellaneous Extensions

This folder contains a collection of smaller loadable extensions. See https://www.sqlite.org/loadext.html for instructions on how to compile and use loadable extensions. Each extension in this folder is implemented in a single file of C code.

Each source file contains a description in its header comment. See the header comments for details about each extension. Additional notes are as follows:

  • carray.c — This module implements the carray table-valued function. It is a good example of how to go about implementing a custom table-valued function.

  • csv.c — A virtual table for reading Comma-Separated-Value (CSV) files.

  • dbdump.c — This is not actually a loadable extension, but rather a library that implements an approximate equivalent to the ".dump" command of the command-line shell.

  • json1.c — Various SQL functions and table-valued functions for processing JSON. This extension is already built into the SQLite amalgamation. See https://sqlite.org/json1.html for additional information.

  • memvfs.c — This file implements a custom VFS that stores an entire database file in a single block of RAM. It serves as a good example of how to implement a simple custom VFS.

  • rot13.c — This file implements the very simple rot13() substitution function. This file makes a good template for implementing new custom SQL functions for SQLite.

  • series.c — This is an implementation of the "generate_series" virtual table. It can make a good template for new custom virtual table implementations.

  • shathree.c — An implementation of the sha3() and sha3_query() SQL functions. The file is named "shathree.c" instead of "sha3.c" because the default entry point names in SQLite are based on the source filename with digits removed, so if we used the name "sha3.c" then the entry point would conflict with the prior "sha1.c" extension.

  • unionvtab.c — Implementation of the unionvtab and swarmvtab virtual tables. These virtual tables allow a single large table to be spread out across multiple database files. In the case of swarmvtab, the individual database files can be attached on demand.

  • zipfile.c — A virtual table that can read and write a ZIP archive.