projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Removed the housekeeper thread, moved terminate_idle_sessions() out to a
[citadel.git]
/
citadel
/
database_sleepycat.c
diff --git
a/citadel/database_sleepycat.c
b/citadel/database_sleepycat.c
index 2781ea9d02c509e8b9c2aeff442b4deec711e183..10be08d7891f5cd3bc91a2e1fe6ada71769fe9a3 100644
(file)
--- a/
citadel/database_sleepycat.c
+++ b/
citadel/database_sleepycat.c
@@
-405,6
+405,7
@@
void cdb_begin_transaction(void) {
void cdb_end_transaction(void) {
#ifdef TRANSACTION_BASED
begin_critical_section(S_DATABASE);
+ if (MYTID == NULL) lprintf(1, "WARNING: txn_commit(NULL) !!\n");
txn_commit(MYTID, 0);
end_critical_section(S_DATABASE);
#endif