mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Add support for the -DSQLITE_EXTRA_AUTOEXT=name compile-time option.
[forum:/forumpost/00829394c74a670f|forum thread 00829394c74a670f]. FossilOrigin-Name: fe7365254d343ed03e11a4e9cad7f0e5d5182b9220c6fde6d30e434ebdaba2af
This commit is contained in:
@@ -355,6 +355,9 @@ static const char * const sqlite3azCompileOpt[] = {
|
||||
#ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS
|
||||
"EXPLAIN_ESTIMATED_ROWS",
|
||||
#endif
|
||||
#ifdef SQLITE_EXTRA_AUTOEXT
|
||||
"EXTRA_AUTOEXT=" CTIMEOPT_VAL(SQLITE_EXTRA_AUTOEXT),
|
||||
#endif
|
||||
#ifdef SQLITE_EXTRA_IFNULLROW
|
||||
"EXTRA_IFNULLROW",
|
||||
#endif
|
||||
|
||||
@@ -47,7 +47,9 @@ int sqlite3Fts5Init(sqlite3*);
|
||||
#ifdef SQLITE_ENABLE_STMTVTAB
|
||||
int sqlite3StmtVtabInit(sqlite3*);
|
||||
#endif
|
||||
|
||||
#ifdef SQLITE_EXTRA_AUTOEXT
|
||||
int SQLITE_EXTRA_AUTOEXT(sqlite3*);
|
||||
#endif
|
||||
/*
|
||||
** An array of pointers to extension initializer functions for
|
||||
** built-in extensions.
|
||||
@@ -81,6 +83,9 @@ static int (*const sqlite3BuiltinExtensions[])(sqlite3*) = {
|
||||
#ifdef SQLITE_ENABLE_BYTECODE_VTAB
|
||||
sqlite3VdbeBytecodeVtabInit,
|
||||
#endif
|
||||
#ifdef SQLITE_EXTRA_AUTOEXT
|
||||
SQLITE_EXTRA_AUTOEXT,
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifndef SQLITE_AMALGAMATION
|
||||
|
||||
Reference in New Issue
Block a user