diff options
author | drh <> | 2022-06-01 11:05:59 +0000 |
---|---|---|
committer | drh <> | 2022-06-01 11:05:59 +0000 |
commit | 645682a7c73c3e5df5551bec5666195f10cbe0b5 (patch) | |
tree | fdedc0ad6897d15d7d6612280383bdcc9f5ae363 /src/sqliteInt.h | |
parent | 6ffa895884881b228ece0ed8a06679175746d4dd (diff) | |
download | sqlite-645682a7c73c3e5df5551bec5666195f10cbe0b5.tar.gz sqlite-645682a7c73c3e5df5551bec5666195f10cbe0b5.zip |
Move the sqlite_offset() function implementation to be an in-line function,
thereby avoiding special case code and freeing up a bit in the
FuncDef.flags field.
FossilOrigin-Name: 1c9812c458bd229c862efe5df1b64fae333da9871c8756b5ae4605a81bcda4b5
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 3a585feb5..299c5b69a 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1884,7 +1884,7 @@ struct FuncDestructor { #define SQLITE_FUNC_SLOCHNG 0x2000 /* "Slow Change". Value constant during a ** single query - might change over time */ #define SQLITE_FUNC_TEST 0x4000 /* Built-in testing functions */ -#define SQLITE_FUNC_OFFSET 0x8000 /* Built-in sqlite_offset() function */ +/* 0x8000 -- available for reuse */ #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 */ @@ -1901,6 +1901,7 @@ struct FuncDestructor { #define INLINEFUNC_expr_compare 3 #define INLINEFUNC_affinity 4 #define INLINEFUNC_iif 5 +#define INLINEFUNC_sqlite_offset 6 #define INLINEFUNC_unlikely 99 /* Default case */ /* |