Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Execute 'optional' SQL statements in their original order. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | optSql |
| Files: | files | file ages | folders |
| SHA1: |
24d7ebe12afa2f72f1d258389e1b3a55 |
| User & Date: | mistachkin 2015-02-23 23:40:53.764 |
Context
|
2015-02-24
| ||
| 00:36 | Execute 'optional' SQL statements in their original order. check-in: 9491f1dd54 user: mistachkin tags: trunk | |
|
2015-02-23
| ||
| 23:40 | Execute 'optional' SQL statements in their original order. Closed-Leaf check-in: 24d7ebe12a user: mistachkin tags: optSql | |
| 23:27 | Make sure the 'cTag' structure field is initialized to zero. check-in: 1a2aa2b37e user: mistachkin tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
157 158 159 160 161 162 163 164 165 |
if( g.db==0 ) return;
if( db.nBegin<=0 ) return;
if( rollbackFlag ) db.doRollback = 1;
db.nBegin--;
if( db.nBegin==0 ){
int i;
if( db.doRollback==0 && db.nPriorChanges<sqlite3_total_changes(g.db) ){
while( db.nBeforeCommit ){
db.nBeforeCommit--;
| > | | > | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
if( g.db==0 ) return;
if( db.nBegin<=0 ) return;
if( rollbackFlag ) db.doRollback = 1;
db.nBegin--;
if( db.nBegin==0 ){
int i;
if( db.doRollback==0 && db.nPriorChanges<sqlite3_total_changes(g.db) ){
i = 0;
while( db.nBeforeCommit ){
db.nBeforeCommit--;
sqlite3_exec(g.db, db.azBeforeCommit[i], 0, 0, 0);
sqlite3_free(db.azBeforeCommit[i]);
i++;
}
leaf_do_pending_checks();
}
for(i=0; db.doRollback==0 && i<db.nCommitHook; i++){
db.doRollback |= db.aHook[i].xHook();
}
while( db.pAllStmt ){
|
| ︙ | ︙ |