Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Better error message when attempting to create a new repository in a directory that does not exist. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
97ff24dec72a2906be60d5203ef70f34 |
| User & Date: | drh 2008-02-04 13:14:45.000 |
Context
|
2008-02-04
| ||
| 13:53 | Tweaks to the diff algorithm give a 4x performance increase. Now comparable to command-line diff. check-in: e8cf0061cc user: drh tags: trunk | |
| 13:14 | Better error message when attempting to create a new repository in a directory that does not exist. check-in: 97ff24dec7 user: drh tags: trunk | |
| 02:45 | Add file and directory browsing capabilities to the web interface. check-in: e487b77b1a user: drh tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
509 510 511 512 513 514 515 |
sqlite3 *db;
int rc;
const char *zSql;
va_list ap;
rc = sqlite3_open(zFileName, &db);
if( rc!=SQLITE_OK ){
| | | | | 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
sqlite3 *db;
int rc;
const char *zSql;
va_list ap;
rc = sqlite3_open(zFileName, &db);
if( rc!=SQLITE_OK ){
db_err(sqlite3_errmsg(db));
}
sqlite3_exec(db, "BEGIN EXCLUSIVE", 0, 0, 0);
rc = sqlite3_exec(db, zSchema, 0, 0, 0);
if( rc!=SQLITE_OK ){
db_err(sqlite3_errmsg(db));
}
va_start(ap, zSchema);
while( (zSql = va_arg(ap, const char*))!=0 ){
rc = sqlite3_exec(db, zSql, 0, 0, 0);
if( rc!=SQLITE_OK ){
db_err(sqlite3_errmsg(db));
}
}
va_end(ap);
sqlite3_exec(db, "COMMIT", 0, 0, 0);
sqlite3_close(db);
}
|
| ︙ | ︙ |