projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
formatting
[citadel.git]
/
citadel
/
database.c
diff --git
a/citadel/database.c
b/citadel/database.c
index ee6aaac2f36cc97a542fc05bda6744ccb99b2221..dfeb4f013946cb1c4f9c1cda84f2a8143c7b192a 100644
(file)
--- a/
citadel/database.c
+++ b/
citadel/database.c
@@
-728,7
+728,8
@@
void cdb_trunc(int cdb) {
if (TSD->tid != NULL) {
syslog(LOG_ERR, "db: cdb_trunc must not be called in a transaction.");
cdb_abort();
- } else {
+ }
+ else {
bailIfCursor(TSD->cursors, "attempt to write during r/o cursor");
retry: