Differences From Artifact [db3db021bd]:
- File src/db.c — part of check-in [e805fa8db9] at 2011-04-27 18:21:51 on branch windows-i18n — Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. (user: drh size: 56879)
To Artifact [bfa49528f1]:
- File src/db.c — part of check-in [eea6449098] at 2011-05-02 13:31:01 on branch windows-i18n — Change calls to unlink() into file_delete(). The file_delete() routine converts filenames to MBCS from UTF if necessary. (user: drh size: 56884)
| ︙ | ︙ | |||
151 152 153 154 155 156 157 |
db_finalize(pAllStmt);
}
if( nBegin ){
sqlite3_exec(g.db, "ROLLBACK", 0, 0, 0);
nBegin = 0;
if( isNewRepo ){
db_close(0);
| | | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
db_finalize(pAllStmt);
}
if( nBegin ){
sqlite3_exec(g.db, "ROLLBACK", 0, 0, 0);
nBegin = 0;
if( isNewRepo ){
db_close(0);
file_delete(g.zRepositoryName);
}
}
busy = 0;
db_close(0);
}
/*
|
| ︙ | ︙ |