Differences From Artifact [b51c9320c6]:
- File src/db.c — part of check-in [66807d3029] at 2017-03-13 20:47:59 on branch trunk — Fix a obsolete comment related to updating the CHECK constraint on the BLOB table when moving up to version 2.0 or later. (user: drh size: 109852) [more...]
To Artifact [5bcd5f6138]:
- File src/db.c — part of check-in [8c22e1bbcd] at 2017-03-18 12:44:23 on branch trunk — The "amend" command only works from within an open check-out. (user: drh size: 109998)
| ︙ | |||
1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 | 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 | + + + + |
}
/*
** Open the local database. If unable, exit with an error.
*/
void db_must_be_within_tree(void){
if( find_repository_option() ){
fossil_fatal("the \"%s\" command only work from within an open check-out",
g.argv[1]);
}
if( db_open_local(0)==0 ){
fossil_fatal("current directory is not within an open checkout");
}
db_open_repository(0);
db_verify_schema();
}
|
| ︙ |