diff options
author | drh <drh@noemail.net> | 2009-11-17 18:31:47 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-11-17 18:31:47 +0000 |
commit | 039fc32e8488cba77d12d1fc5038ce6cfd7dcf40 (patch) | |
tree | a3db12f7a3872f1338926b141355ecaea39f91cc /src/sqliteInt.h | |
parent | 68ff78b1b04bad32f67d5d0bb12c4893d8aedefb (diff) | |
download | sqlite-039fc32e8488cba77d12d1fc5038ce6cfd7dcf40.tar.gz sqlite-039fc32e8488cba77d12d1fc5038ce6cfd7dcf40.zip |
Code generator tries to avoid pointless OP_IsNull and OP_Affinity opcodes.
FossilOrigin-Name: ebb0c8a3e977dc741704e733b5a5d931d9b27028
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 f98baf1aa..64c7c356f 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2674,6 +2674,8 @@ int sqlite3ExprIsConstant(Expr*); int sqlite3ExprIsConstantNotJoin(Expr*); int sqlite3ExprIsConstantOrFunction(Expr*); int sqlite3ExprIsInteger(Expr*, int*); +int sqlite3ExprCanBeNull(const Expr*); +int sqlite3ExprNeedsNoAffinityChange(const Expr*, char); int sqlite3IsRowid(const char*); void sqlite3GenerateRowDelete(Parse*, Table*, int, int, int, Trigger *, int); void sqlite3GenerateRowIndexDelete(Parse*, Table*, int, int*); |