SQLite

Check-in [5f869fbfc0]
Login

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

Overview
Comment:Bugfix for previous checkin. (CVS 1503)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5f869fbfc029eb2601d1d967685517d007d002a4
User & Date: danielk1977 2004-05-31 10:08:15.000
Context
2004-05-31
11:51
Use read-only transactions. (CVS 1504) (check-in: 6c100887ee user: danielk1977 tags: trunk)
10:08
Bugfix for previous checkin. (CVS 1503) (check-in: 5f869fbfc0 user: danielk1977 tags: trunk)
10:01
Add read-transactions to the btree and vdbe. The compiler doesn't invoke them yet. (CVS 1502) (check-in: 6b43633a96 user: danielk1977 tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/vdbeaux.c.
987
988
989
990
991
992
993

994
995

996
997
998
999
1000
1001
1002
          p->rc = SQLITE_CONSTRAINT;
          sqlite3Error(db, SQLITE_CONSTRAINT, 0);
          xFunc = sqlite3BtreeRollback;
        }
        needXcommit = 0;
      }
    }

    rc = xFunc(pBt);
    if( p->rc==SQLITE_OK ) p->rc = rc;

  }


  if( p->rc!=SQLITE_OK ){
    sqlite3RollbackInternalChanges(db);
  }








>
|
|
>







987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
          p->rc = SQLITE_CONSTRAINT;
          sqlite3Error(db, SQLITE_CONSTRAINT, 0);
          xFunc = sqlite3BtreeRollback;
        }
        needXcommit = 0;
      }
    }
    if( pBt ){
      rc = xFunc(pBt);
      if( p->rc==SQLITE_OK ) p->rc = rc;
    }
  }


  if( p->rc!=SQLITE_OK ){
    sqlite3RollbackInternalChanges(db);
  }