diff options
author | dan <dan@noemail.net> | 2019-09-07 18:20:43 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2019-09-07 18:20:43 +0000 |
commit | e2ba6df9f0bbbf084db504c9559e7a5c7ebe023d (patch) | |
tree | 5a0cfbfcd4600a8d1d6a5ff4ecef2567df8fe016 /src/sqliteInt.h | |
parent | 1a97c413f8c26670d3bbf122a6eaa88dea0a0b5c (diff) | |
download | sqlite-e2ba6df9f0bbbf084db504c9559e7a5c7ebe023d.tar.gz sqlite-e2ba6df9f0bbbf084db504c9559e7a5c7ebe023d.zip |
Add the SQLITE_SUBTYPE flag, which can be passed to sqlite3_create_function() and similar to indicate to the core that a user function is likely to use sqlite3_result_subtype().
FossilOrigin-Name: 6aa438ce41d460a6782ae63503128b9140c28ff59c2b2eed48b004acf83e0560
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index d3f7ffe26..e7c1d9c1f 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1686,6 +1686,7 @@ struct FuncDestructor { #define SQLITE_FUNC_WINDOW 0x00010000 /* Built-in window-only function */ #define SQLITE_FUNC_INTERNAL 0x00040000 /* For use by NestedParse() only */ #define SQLITE_FUNC_DIRECT 0x00080000 /* Not for use in TRIGGERs or VIEWs */ +#define SQLITE_FUNC_SUBTYPE 0x00100000 /* Result likely to have sub-type */ /* ** The following three macros, FUNCTION(), LIKEFUNC() and AGGREGATE() are @@ -3611,6 +3612,7 @@ struct Window { int regOne; /* Register containing constant value 1 */ int regStartRowid; int regEndRowid; + u8 bExprArgs; }; #ifndef SQLITE_OMIT_WINDOWFUNC |