/ Check-in [af602d87]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a compiler warning by removing a redundant variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: af602d87736b52802a4e760ffeeaa28112b99d9a
User & Date: drh 2012-03-31 19:12:23
Context
2012-04-02
17:18
Add #ifdefs to allow a test build to succeed even if SQLITE_ENABLE_FTS3 is not defined. check-in: fb121980 user: drh tags: trunk
2012-03-31
19:12
Fix a compiler warning by removing a redundant variable. check-in: af602d87 user: drh tags: trunk
17:50
Test cases for RELEASE and ROLLBACK TO of a nested savepoint while queries are pending. Ticket [27ca74af3c083] check-in: d2bf0efa user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/insert.c.

  1214   1214     }
  1215   1215   
  1216   1216     /* Test all CHECK constraints
  1217   1217     */
  1218   1218   #ifndef SQLITE_OMIT_CHECK
  1219   1219     if( pTab->pCheck && (db->flags & SQLITE_IgnoreChecks)==0 ){
  1220   1220       ExprList *pCheck = pTab->pCheck;
  1221         -    int i;
  1222   1221       pParse->ckBase = regData;
  1223   1222       onError = overrideError!=OE_Default ? overrideError : OE_Abort;
  1224   1223       for(i=0; i<pCheck->nExpr; i++){
  1225   1224         int allOk = sqlite3VdbeMakeLabel(v);
  1226   1225         sqlite3ExprIfTrue(pParse, pCheck->a[i].pExpr, allOk, SQLITE_JUMPIFNULL);
  1227   1226         if( onError==OE_Ignore ){
  1228   1227           sqlite3VdbeAddOp2(v, OP_Goto, 0, ignoreDest);