diff options
author | shane <shane@noemail.net> | 2008-09-01 21:59:42 +0000 |
---|---|---|
committer | shane <shane@noemail.net> | 2008-09-01 21:59:42 +0000 |
commit | fa4e62f3d882c25504a764b98c33b38fcd078ade (patch) | |
tree | 9ff895f22922e026636e1815182b779e3f916537 /src/update.c | |
parent | 689aa852cb7436ddefb38bc326f6be01de411fa2 (diff) | |
download | sqlite-fa4e62f3d882c25504a764b98c33b38fcd078ade.tar.gz sqlite-fa4e62f3d882c25504a764b98c33b38fcd078ade.zip |
Omit prototype for and calls to sqlite3MaterializeView() if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER). (CVS 5655)
FossilOrigin-Name: 9cf484fc17944ffa14335e391112d82d2390d116
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 97bf93718..3b0845092 100644 --- a/src/update.c +++ b/src/update.c @@ -12,7 +12,7 @@ ** This file contains C code routines that are called by the parser ** to handle UPDATE statements. ** -** $Id: update.c,v 1.183 2008/08/22 12:30:52 drh Exp $ +** $Id: update.c,v 1.184 2008/09/01 21:59:43 shane Exp $ */ #include "sqliteInt.h" @@ -328,9 +328,11 @@ void sqlite3Update( /* If we are trying to update a view, realize that view into ** a ephemeral table. */ +#if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER) if( isView ){ sqlite3MaterializeView(pParse, pTab, pWhere, iCur); } +#endif /* Resolve the column names in all the expressions in the ** WHERE clause. |