diff options
author | drh <drh@noemail.net> | 2019-04-25 18:15:38 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-04-25 18:15:38 +0000 |
commit | 10c0e7115b2ed28a2af6f3b59a9c2862b1b25f9d (patch) | |
tree | c70d09692d22d9acb6a875c095ba36bb35455c43 /src/sqlite3ext.h | |
parent | dbdd93b7e1b6f4e129df36309868a4c1fb002207 (diff) | |
download | sqlite-10c0e7115b2ed28a2af6f3b59a9c2862b1b25f9d.tar.gz sqlite-10c0e7115b2ed28a2af6f3b59a9c2862b1b25f9d.zip |
Add the sqlite3_hard_heap_limit64() interface and the corresponding
"PRAGMA hard_heap_limit=N" command.
FossilOrigin-Name: b0ccef61a7f92d20228becbf4f997bf0f4e46dad2deaf0896dc63b976ad1dd11
Diffstat (limited to 'src/sqlite3ext.h')
-rw-r--r-- | src/sqlite3ext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqlite3ext.h b/src/sqlite3ext.h index 088148b93..e750b90e2 100644 --- a/src/sqlite3ext.h +++ b/src/sqlite3ext.h @@ -322,6 +322,8 @@ struct sqlite3_api_routines { /* Version 3.28.0 and later */ int (*stmt_isexplain)(sqlite3_stmt*); int (*value_frombind)(sqlite3_value*); + /* Version 3.29.0 and later */ + sqlite3_int64 (*hard_heap_limit64)(sqlite3_int64); }; /* @@ -614,6 +616,8 @@ typedef int (*sqlite3_loadext_entry)( /* Version 3.28.0 and later */ #define sqlite3_stmt_isexplain sqlite3_api->isexplain #define sqlite3_value_frombind sqlite3_api->frombind +/* Version 3.29.0 and later */ +#define sqlite3_hard_heap_limit64 sqlite3_api->hard_heap_limit64 #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) |