about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2013-09-17 07:53:40 -0700
committerCristian Cadar <c.cadar@imperial.ac.uk>2013-09-17 07:53:40 -0700
commitba2f5b961877f7cdb98a98600e4db591078c5f12 (patch)
tree71c718bde796bfc402b34dc2622115586f1e0083 /lib
parent79aae1cd6ded57ffb7fb28f151651318a6dfb3f2 (diff)
parent40f35e8217e2d77205c013cfdd85fd5198c51b93 (diff)
downloadklee-ba2f5b961877f7cdb98a98600e4db591078c5f12.tar.gz
Merge pull request #21 from delcypher/fix_query_logging
Fix queries not being logged correctly if an assertion failure is hit.
Diffstat (limited to 'lib')
-rw-r--r--lib/Solver/QueryLoggingSolver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Solver/QueryLoggingSolver.cpp b/lib/Solver/QueryLoggingSolver.cpp
index e7187fc3..f2e38182 100644
--- a/lib/Solver/QueryLoggingSolver.cpp
+++ b/lib/Solver/QueryLoggingSolver.cpp
@@ -74,6 +74,7 @@ void QueryLoggingSolver::flushBuffer() {
               // we do additional check here to log only timeouts in case
               // user specified negative value for minQueryTimeToLog param
               os << logBuffer.str();              
+              os.flush();
           }                    
       }