sqlite/ext/misc
drh 6b9986e84a Fix the appendvfs so that it leaves sqlite3_file->pMethods as NULL if it
fails to open.

FossilOrigin-Name: 46b341e3ad11b807ae50f001b970299de7ea0d523dbb639ee10f1d5aca5d958b
2018-01-06 13:33:21 +00:00
..
amatch.c Do not use strcpy() in the (obsolete) amatch extension. 2017-05-23 19:35:20 +00:00
anycollseq.c Add the anycollseq.c loadable extension in etc/misc 2017-04-16 22:08:31 +00:00
appendvfs.c Fix the appendvfs so that it leaves sqlite3_file->pMethods as NULL if it 2018-01-06 13:33:21 +00:00
btreeinfo.c Add build infrastructure for the sqlite3_checker command-line utility. 2017-10-31 15:49:19 +00:00
carray.c Add a destructor argument to sqlite3_bind_pointer() 2017-07-27 03:48:02 +00:00
closure.c Fix uses of ctype functions (ex: isspace()) on signed characters in test 2015-10-29 13:48:15 +00:00
completion.c Fix harmless compiler warnings in the core. 2017-07-11 18:11:33 +00:00
compress.c
csv.c Fix the CSV virtual table extension so that it works when the default character 2017-09-18 00:18:31 +00:00
dbdump.c Improved \n and \r escapes in the ext/misc/dbdump.c utility function. The 2017-04-12 17:38:24 +00:00
eval.c
fileio.c Fix harmless compiler warnings in the core. 2017-07-11 18:11:33 +00:00
fuzzer.c More harmless compiler warning fixes. 2016-04-12 20:05:06 +00:00
ieee754.c Fix a harmless sanitizer warning in the ieee754 extension. 2015-11-07 00:51:15 +00:00
json1.c Cache the JSON parse used by json_extract(). 2017-05-11 16:49:59 +00:00
memvfs.c Add the ext/misc/memvfs.c extension that implements a VFS for read-only 2016-09-07 18:11:11 +00:00
mmapwarm.c Add extension "mmapwarm.c". Provides function sqlite3_mmap_warm(), used to 2017-09-18 16:28:56 +00:00
nextchar.c
percentile.c Work in progress on setting a calling convention for all callback functions. 2016-07-28 04:14:37 +00:00
README.md Updates to README files under the ext/ hierarchy. No changes to code. 2017-03-15 20:27:46 +00:00
regexp.c More harmless compiler warning fixes. 2016-04-12 20:05:06 +00:00
remember.c Comment changes clarifying details of the pointer-type parameter. No 2017-07-17 12:41:29 +00:00
rot13.c Fix harmless compiler warnings in the rot13 extension. 2017-12-07 16:51:25 +00:00
scrub.c Ensure that the sqlite3_scrub_backup() extension creates a backup database at least as large as indicated by the database header, even if the last page of the input database is a free-list leaf. 2016-07-26 10:46:21 +00:00
series.c Fix a comment describing the xRowid method of the "series" virtual table. No 2017-09-05 17:23:39 +00:00
sha1.c Fix issues in the sha1 extension seen with MSVC. 2017-02-02 19:24:05 +00:00
shathree.c Lowercase local variable names in the SHA3 extension in order to avoid 2017-12-20 23:46:29 +00:00
showauth.c
spellfix.c The extensions functions in spellfix are all deterministic. 2017-11-03 08:46:48 +00:00
stmt.c Change the name of the STMT virtual table to SQLITE_STMT. Also remove the 2017-07-14 15:14:21 +00:00
totype.c
unionvtab.c Enhance the "swarmvtab" extension. See header comments in ext/misc/unionvtab.c 2017-12-15 20:21:17 +00:00
vfslog.c
vfsstat.c Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. 2016-07-28 22:23:26 +00:00
vtablog.c Add a first draft of the "vtablog" extensions that implements a generic 2017-08-10 03:27:27 +00:00
vtshim.c In the 'vtshim' extension, avoid accessing freed memory when handling errors from xCreate/xConnect. 2017-01-19 18:20:36 +00:00
wholenumber.c

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.

  • 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.

  • 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.