Fossil SCM
Do not print warnings about SQLITE_SCHEMA errors.
Commit
d239479528bdb044f38f4fce3e8d146fab09db9c
Parent
cca1adad02b9812…
1 file changed
+1
+1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -513,10 +513,11 @@ | ||
| 513 | 513 | #ifdef __APPLE__ |
| 514 | 514 | /* Disable the file alias warning on apple products because Time Machine |
| 515 | 515 | ** creates lots of aliases and the warning alarms people. */ |
| 516 | 516 | if( iCode==SQLITE_WARNING ) return; |
| 517 | 517 | #endif |
| 518 | + if( iCode==SQLITE_SCHEMA ) return; | |
| 518 | 519 | fossil_warning("%s: %s", sqlite_error_code_name(iCode), zErrmsg); |
| 519 | 520 | } |
| 520 | 521 | |
| 521 | 522 | /* |
| 522 | 523 | ** This procedure runs first. |
| 523 | 524 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -513,10 +513,11 @@ | |
| 513 | #ifdef __APPLE__ |
| 514 | /* Disable the file alias warning on apple products because Time Machine |
| 515 | ** creates lots of aliases and the warning alarms people. */ |
| 516 | if( iCode==SQLITE_WARNING ) return; |
| 517 | #endif |
| 518 | fossil_warning("%s: %s", sqlite_error_code_name(iCode), zErrmsg); |
| 519 | } |
| 520 | |
| 521 | /* |
| 522 | ** This procedure runs first. |
| 523 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -513,10 +513,11 @@ | |
| 513 | #ifdef __APPLE__ |
| 514 | /* Disable the file alias warning on apple products because Time Machine |
| 515 | ** creates lots of aliases and the warning alarms people. */ |
| 516 | if( iCode==SQLITE_WARNING ) return; |
| 517 | #endif |
| 518 | if( iCode==SQLITE_SCHEMA ) return; |
| 519 | fossil_warning("%s: %s", sqlite_error_code_name(iCode), zErrmsg); |
| 520 | } |
| 521 | |
| 522 | /* |
| 523 | ** This procedure runs first. |
| 524 |