run recovery; should provide a little more detail on the actual error
$Log$
+ Revision 614.91 2004/03/21 22:34:41 error
+ * database_sleepycat.c: emit a panic message when Berkeley DB wants us to
+ run recovery; should provide a little more detail on the actual error
+
Revision 614.90 2004/03/21 22:32:24 ajc
* room_ops.c: increased the thread safety of cgetfloor()
* housekeeping.c: check floor reference counts in two passes instead of
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
}
}
+static void dbpanic(DB_ENV* env, int errval)
+{
+ lprintf(CTDL_EMERG, "cdb_*: Berkeley DB panic: %d\n", errval);
+}
+
static void cclose(DBC *cursor) {
int ret;
exit(ret);
}
dbenv->set_errpfx(dbenv, "citserver");
+ dbenv->set_paniccall(dbenv, dbpanic);
/*
* We want to specify the shared memory buffer pool cachesize,