Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | fix a harmless compiler warning. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
0e3f0cadc462d917e0ec776e2bdc3592 |
| User & Date: | drh 2014-12-06 16:58:47.541 |
Context
|
2014-12-06
| ||
| 19:03 | Improved handling of hyperlinks from the timeline to specific branches and users. check-in: 494b2a4c92 user: drh tags: trunk | |
| 16:58 | fix a harmless compiler warning. check-in: 0e3f0cadc4 user: drh tags: trunk | |
| 16:04 | Fix a couple labels on the "dbstat" output. check-in: 9b21984c4a user: drh tags: trunk | |
Changes
Changes to src/bundle.c.
| ︙ | ︙ | |||
62 63 64 65 66 67 68 |
}
assert( g.db );
zSql = sqlite3_mprintf("ATTACH %Q AS %Q", zFile, zBName);
if( zSql==0 ) fossil_fatal("out of memory");
rc = sqlite3_exec(g.db, zSql, 0, 0, &zErrMsg);
sqlite3_free(zSql);
if( rc!=SQLITE_OK || zErrMsg ){
| | | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
}
assert( g.db );
zSql = sqlite3_mprintf("ATTACH %Q AS %Q", zFile, zBName);
if( zSql==0 ) fossil_fatal("out of memory");
rc = sqlite3_exec(g.db, zSql, 0, 0, &zErrMsg);
sqlite3_free(zSql);
if( rc!=SQLITE_OK || zErrMsg ){
if( zErrMsg==0 ) zErrMsg = (char*)sqlite3_errmsg(g.db);
fossil_fatal("not a valid bundle: %s", zFile);
}
if( doInit ){
db_multi_exec(zBundleInit /*works-like:"%w%w"*/, zBName, zBName);
}else{
sqlite3_stmt *pStmt;
zSql = sqlite3_mprintf("SELECT bcname, bcvalue"
|
| ︙ | ︙ |