Commit b34d5501 authored by Geoff Simmons's avatar Geoff Simmons

flush until it's all down the drain

parent 1ea3ed91
...@@ -949,7 +949,8 @@ main(int argc, char *argv[]) ...@@ -949,7 +949,8 @@ main(int argc, char *argv[])
if (term && status != DISPATCH_EOF && flush && vslq != NULL) { if (term && status != DISPATCH_EOF && flush && vslq != NULL) {
LOG_Log0(LOG_NOTICE, "Flushing transactions"); LOG_Log0(LOG_NOTICE, "Flushing transactions");
take_free(); take_free();
VSLQ_Flush(vslq, event, NULL); while (VSLQ_Flush(vslq, event, NULL) != DISPATCH_RETURN_OK)
;
} }
WRT_Halt(); WRT_Halt();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment