/ Check-in [5f869fbf]
Login

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

Overview
Comment:Bugfix for previous checkin. (CVS 1503)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5f869fbfc029eb2601d1d967685517d007d002a4
User & Date: danielk1977 2004-05-31 10:08:15
Context
2004-05-31
11:51
Use read-only transactions. (CVS 1504) check-in: 6c100887 user: danielk1977 tags: trunk
10:08
Bugfix for previous checkin. (CVS 1503) check-in: 5f869fbf 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: 6b43633a user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbeaux.c.

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