diff options
author | drh <drh@noemail.net> | 2006-07-08 17:06:43 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2006-07-08 17:06:43 +0000 |
commit | b7f6f68f3a161bdea15b435a1e6666e33f7865b2 (patch) | |
tree | c9a707e93523b2526e14e61d8c34962cf11ef312 /src/sqliteInt.h | |
parent | 4144905b531ccf12ee33a62a2f6de1331908a11d (diff) | |
download | sqlite-b7f6f68f3a161bdea15b435a1e6666e33f7865b2.tar.gz sqlite-b7f6f68f3a161bdea15b435a1e6666e33f7865b2.zip |
Allow virtual table implementations to overload function that use
a column of the virtual table as their first argument. Untested. (CVS 3322)
FossilOrigin-Name: 12cc7af4b6b8b4f1a43d962fbafde8cba683a907
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 39876fefc..1beb79e93 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.517 2006/06/27 15:16:15 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.518 2006/07/08 17:06:44 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -586,6 +586,7 @@ struct Module { */ #define SQLITE_FUNC_LIKE 0x01 /* Candidate for the LIKE optimization */ #define SQLITE_FUNC_CASE 0x02 /* Case-sensitive LIKE-type function */ +#define SQLITE_FUNC_EPHEM 0x04 /* Ephermeral. Delete with VDBE */ /* ** information about each column of an SQL table is held in an instance @@ -1861,6 +1862,7 @@ int sqlite3VtabCallCreate(sqlite3*, int, const char *, char **); int sqlite3VtabCallConnect(Parse*, Table*); int sqlite3VtabCallDestroy(sqlite3*, int, const char *); int sqlite3VtabBegin(sqlite3 *, sqlite3_vtab *); +FuncDef *sqlite3VtabOverloadFunction(FuncDef*, int nArg, Expr*); #ifdef SQLITE_SSE #include "sseInt.h" |