Fossil

Check-in [d2394795]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not print warnings about SQLITE_SCHEMA errors.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d239479528bdb044f38f4fce3e8d146fab09db9c
User & Date: drh 2013-08-30 14:33:00
Context
2013-08-31
08:56
Updated some manifest parsing comments to reflect recent reality adjustments. Comment changes only. check-in: b5f2ebd3 user: stephan tags: trunk
2013-08-30
14:33
Do not print warnings about SQLITE_SCHEMA errors. check-in: d2394795 user: drh tags: trunk
12:32
Be sure to finalize all queries on the /info page. check-in: cca1adad user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

511
512
513
514
515
516
517

518
519
520
521
522
523
524
/* Error logs from SQLite */
static void fossil_sqlite_log(void *notUsed, int iCode, const char *zErrmsg){
#ifdef __APPLE__
  /* Disable the file alias warning on apple products because Time Machine
  ** creates lots of aliases and the warning alarms people. */
  if( iCode==SQLITE_WARNING ) return;
#endif

  fossil_warning("%s: %s", sqlite_error_code_name(iCode), zErrmsg);
}

/*
** This procedure runs first.
*/
#if defined(_WIN32) && !defined(BROKEN_MINGW_CMDLINE)







>







511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
/* Error logs from SQLite */
static void fossil_sqlite_log(void *notUsed, int iCode, const char *zErrmsg){
#ifdef __APPLE__
  /* Disable the file alias warning on apple products because Time Machine
  ** creates lots of aliases and the warning alarms people. */
  if( iCode==SQLITE_WARNING ) return;
#endif
  if( iCode==SQLITE_SCHEMA ) return;
  fossil_warning("%s: %s", sqlite_error_code_name(iCode), zErrmsg);
}

/*
** This procedure runs first.
*/
#if defined(_WIN32) && !defined(BROKEN_MINGW_CMDLINE)