aboutsummaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-12-10 22:15:00 +0000
committerdrh <drh@noemail.net>2008-12-10 22:15:00 +0000
commit4f21c4af30e57d39c5d7873dcab80cb35ee8ab39 (patch)
treee5e1c7fc51ec575fb5f15af56391ddcc7a7742b0 /src/update.c
parent1bd10f8a0063bcbcb75b99f48e70ae312e145aae (diff)
downloadsqlite-4f21c4af30e57d39c5d7873dcab80cb35ee8ab39.tar.gz
sqlite-4f21c4af30e57d39c5d7873dcab80cb35ee8ab39.zip
Fix an issue with the new sqlite3Strlen30() introduced by
check-in (6007). Additional casts for compiler warnings. (CVS 6011) FossilOrigin-Name: 258722b6178f60eaccef1675aab3edc456d413a5
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c
index ff52524fa..24ad882e4 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.189 2008/12/10 18:03:47 drh Exp $
+** $Id: update.c,v 1.190 2008/12/10 22:15:00 drh Exp $
*/
#include "sqliteInt.h"
@@ -124,7 +124,7 @@ void sqlite3Update(
int regOldRowid; /* The old rowid */
int regNewRowid; /* The new rowid */
int regData; /* New data for the row */
- int regRowSet; /* Rowset of rows to be updated */
+ int regRowSet = 0; /* Rowset of rows to be updated */
sContext.pParse = 0;
db = pParse->db;