/ Check-in [432fdc22]
Login

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

Overview
Comment:Minor simplification to sqlite3RollbackAll().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 432fdc221550b3cca4140b1ae411da22201f689c30c72c5472dfdbc79bec9d90
User & Date: drh 2018-07-16 11:32:59
Context
2018-07-17
14:01
If an SQLITE_IOERR error is encountered as part of an atomic commit on an F2FS file-system, retry the commit in legacy journal mode. check-in: 2e0357c2 user: dan tags: trunk
2018-07-16
11:32
Minor simplification to sqlite3RollbackAll(). check-in: 432fdc22 user: drh tags: trunk
2018-07-13
20:28
Remove an unused function declaration from fts5. check-in: 148d9b61 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  1287   1287         }
  1288   1288         sqlite3BtreeRollback(p, tripCode, !schemaChange);
  1289   1289       }
  1290   1290     }
  1291   1291     sqlite3VtabRollback(db);
  1292   1292     sqlite3EndBenignMalloc();
  1293   1293   
  1294         -  if( (db->mDbFlags&DBFLAG_SchemaChange)!=0 && db->init.busy==0 ){
         1294  +  if( schemaChange ){
  1295   1295       sqlite3ExpirePreparedStatements(db);
  1296   1296       sqlite3ResetAllSchemasOfConnection(db);
  1297   1297     }
  1298   1298     sqlite3BtreeLeaveAll(db);
  1299   1299   
  1300   1300     /* Any deferred constraint violations have now been resolved. */
  1301   1301     db->nDeferredCons = 0;