From 35fa257f37f6376887c1aa0a3a77f4ed249fd22a Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 18 Nov 2009 14:27:04 +0100 Subject: bugfix: omfile output was only written when buffer was full ... not at end of transaction. --- ChangeLog | 4 ++++ tools/omfile.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6316a945..f598dd58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ --------------------------------------------------------------------------- +Version 5.3.6 [BETA] (rgerhards), 2009-11-?? +- bugfix: omfile output was only written when buffer was full, not at + end of transaction +--------------------------------------------------------------------------- Version 5.3.5 [BETA] (rgerhards), 2009-11-13 - some light performance enhancement by replacing time() call with much faster (at least under linux) gettimeofday() calls. diff --git a/tools/omfile.c b/tools/omfile.c index f4945ba0..02bb5cf3 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -663,6 +663,8 @@ CODESTARTdoAction CHKiRet(strm.Flush(pData->pStrm)); } finalize_it: + if(iRet == RS_RET_OK) + iRet = RS_RET_DEFER_COMMIT; ENDdoAction -- cgit v1.2.3