projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a1a45
)
Don't try to do a DB_STAT_ALL statistics dump
author
Art Cancro
<ajc@citadel.org>
Wed, 26 Sep 2007 19:47:07 +0000
(19:47 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 26 Sep 2007 19:47:07 +0000
(19:47 +0000)
if DB_STAT_ALL is not defined. (I don't know where this is or isn't
defined, but the copy of Berkeley DB on the LCDS mainframe seens to
need it)
citadel/database_sleepycat.c
patch
|
blob
|
history
diff --git
a/citadel/database_sleepycat.c
b/citadel/database_sleepycat.c
index bf11656884b409fd53fa3f8b7890594970938d8c..84339e62701b06ddc3b6a57554247a7b69c15e80 100644
(file)
--- a/
citadel/database_sleepycat.c
+++ b/
citadel/database_sleepycat.c
@@
-504,7
+504,9
@@
void close_databases(void)
}
/* print some statistics... */
+#ifdef DB_STAT_ALL
dbenv->lock_stat_print(dbenv, DB_STAT_ALL);
+#endif
/* close the tables */
for (a = 0; a < MAXCDB; ++a) {