Fossil SCM

Do not print warnings about SQLITE_SCHEMA errors.

drh 2013-08-30 14:33 UTC trunk
Commit d239479528bdb044f38f4fce3e8d146fab09db9c
1 file changed +1
+1
--- src/main.c
+++ src/main.c
@@ -513,10 +513,11 @@
513513
#ifdef __APPLE__
514514
/* Disable the file alias warning on apple products because Time Machine
515515
** creates lots of aliases and the warning alarms people. */
516516
if( iCode==SQLITE_WARNING ) return;
517517
#endif
518
+ if( iCode==SQLITE_SCHEMA ) return;
518519
fossil_warning("%s: %s", sqlite_error_code_name(iCode), zErrmsg);
519520
}
520521
521522
/*
522523
** This procedure runs first.
523524
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button