1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Warning cleanup from the MSVC compile.

FossilOrigin-Name: 26cd015c0ee1c18dd37f11b47ce35cfa320b3514
This commit is contained in:
shane
2009-09-07 04:38:36 +00:00
parent e025d1d7e5
commit cea72b2dc2
13 changed files with 40 additions and 34 deletions

View File

@@ -695,7 +695,7 @@ static int codeTriggerProgram(
** INSERT INTO t1 ... ; -- insert into t2 uses REPLACE policy
** INSERT OR IGNORE INTO t1 ... ; -- insert into t2 uses IGNORE policy
*/
pParse->eOrconf = (orconf==OE_Default)?pStep->orconf:orconf;
pParse->eOrconf = (orconf==OE_Default)?pStep->orconf:(u8)orconf;
switch( pStep->op ){
case TK_UPDATE: {
@@ -955,6 +955,8 @@ void sqlite3CodeRowTrigger(
){
Trigger *p;
UNUSED_PARAMETER(newIdx);
assert(op == TK_UPDATE || op == TK_INSERT || op == TK_DELETE);
assert(tr_tm == TRIGGER_BEFORE || tr_tm == TRIGGER_AFTER );