Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Make the error message on schema version mismatch less confusing. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4a2019ddd08c8b63295710d65b9efc40 |
| User & Date: | joerg 2011-03-24 03:22:12.531 |
Context
|
2011-03-24
| ||
| 13:36 | Fix a bug in the compression logic of the tarball generator. check-in: 518ec9dd9f user: drh tags: trunk | |
| 03:22 | Make the error message on schema version mismatch less confusing. check-in: 4a2019ddd0 user: joerg tags: trunk | |
| 02:08 | Remove redundancy from the "fossil rm" command, as pointed out by Carles Pagès. check-in: 7fca007538 user: drh tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
918 919 920 921 922 923 924 |
/*
** Verify that the repository schema is correct. If it is not correct,
** issue a fatal error and die.
*/
void db_verify_schema(void){
if( db_schema_is_outofdate() ){
fossil_warning("incorrect repository schema version");
| | > | 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 |
/*
** Verify that the repository schema is correct. If it is not correct,
** issue a fatal error and die.
*/
void db_verify_schema(void){
if( db_schema_is_outofdate() ){
fossil_warning("incorrect repository schema version");
fossil_warning("your repository has schema version \"%s\" "
"but this binary expects version \"%s\"",
db_get("aux-schema",0), AUX_SCHEMA);
fossil_fatal("run \"fossil rebuild\" to fix this problem");
}
}
/*
|
| ︙ | ︙ |