Changeset: 9894d99d7604 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9894d99d7604
Modified Files:
sql/storage/store.c
Branch: Apr2011
Log Message:
If the logger fails, it's a fatal error.
This should fix a crash related to bug 2820.
diffs (12 lines):
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -1575,6 +1575,8 @@
if (logging && res == LOG_OK)
res = logger_funcs.cleanup();
logging = 0;
+ if (res != LOG_OK)
+ GDKfatal("write-ahead logging failure, disk full?");
}
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list