diff options
author | drh <drh@noemail.net> | 2017-12-16 20:20:37 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-12-16 20:20:37 +0000 |
commit | 2fc865c1153d739208657ea652f74426bf20f678 (patch) | |
tree | baccd44ab9c4694428b24dfd064e872540f702a7 /src/sqliteInt.h | |
parent | ebeffef36c5ad0e855cd208cc39989fc33511a6c (diff) | |
download | sqlite-2fc865c1153d739208657ea652f74426bf20f678.tar.gz sqlite-2fc865c1153d739208657ea652f74426bf20f678.zip |
Add an experimental location(X) SQL function that attempt to return the
location of the payload within the database for the record that contains
column X. location(X) returns NULL if X is not an ordinary table column or
if SQLite cannot figure out the location because it is using a covering index.
FossilOrigin-Name: 51be9558164301c5dd4df23ab8b3e67de0b522f8d36f79f3d84d45d3dc2a83a4
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index efe823a65..f85682a39 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1630,6 +1630,7 @@ struct FuncDestructor { #define SQLITE_FUNC_SLOCHNG 0x2000 /* "Slow Change". Value constant during a ** single query - might change over time */ #define SQLITE_FUNC_AFFINITY 0x4000 /* Built-in affinity() function */ +#define SQLITE_FUNC_LOCATION 0x8000 /* Built-in location() function */ /* ** The following three macros, FUNCTION(), LIKEFUNC() and AGGREGATE() are |