Diff
Not logged in

Differences From:

File src/db.c part of check-in [2dffce041d] - Add the ability to detect file changes using only the mtime. This is turned on using the "fossil setting mtime-changes ON" command. It is off by default, but it does make many operations go much faster, especially on large repositories, so we might want to start turning it on by default. by drh on 2008-12-06 18:02:21. [view]

To:

File src/db.c part of check-in [2be82dcc2a] - The server now issues error messages in the synchronization protocol when a database error occurs during sync. Ticket 39f3294e213111a51e93d02fef6faa0062979619 by drh on 2008-12-07 18:48:09. [view]

@@ -67,8 +67,13 @@
   char *z;
   va_start(ap, zFormat);
   z = vmprintf(zFormat, ap);
   va_end(ap);
+  if( g.xferPanic ){
+    cgi_reset_content();
+    @ error Database\serror:\s%F(z)
+    cgi_reply();
+  }
   if( g.cgiPanic ){
     g.cgiPanic = 0;
     cgi_printf("<h1>Database Error</h1>\n"
                "<pre>%h</pre>", z);