aboutsummaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-11-19 09:05:26 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-11-19 09:05:26 +0000
commit62c14b3487d3d5a06c367c26b40476a17fc30d33 (patch)
tree5abb6c533a0b9ff9e193ade5af8d2ed7e9c38040 /src/update.c
parentb232c23297248eb0753cf036c99f4bece9df992a (diff)
downloadsqlite-62c14b3487d3d5a06c367c26b40476a17fc30d33.tar.gz
sqlite-62c14b3487d3d5a06c367c26b40476a17fc30d33.zip
Changes to avoid "unused parameter" compiler warnings. (CVS 5921)
FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/update.c b/src/update.c
index b2d310253..34a496e48 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.186 2008/10/31 10:53:23 danielk1977 Exp $
+** $Id: update.c,v 1.187 2008/11/19 09:05:27 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -142,7 +142,7 @@ void sqlite3Update(
** updated is a view
*/
#ifndef SQLITE_OMIT_TRIGGER
- triggers_exist = sqlite3TriggersExist(pParse, pTab, TK_UPDATE, pChanges);
+ triggers_exist = sqlite3TriggersExist(pTab, TK_UPDATE, pChanges);
isView = pTab->pSelect!=0;
#else
# define triggers_exist 0
@@ -525,7 +525,7 @@ void sqlite3Update(
/* Create the new index entries and the new record.
*/
sqlite3CompleteInsertion(pParse, pTab, iCur, regNewRowid,
- aRegIdx, chngRowid, 1, -1, 0);
+ aRegIdx, 1, -1, 0);
}
/* Increment the row counter