summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/connection.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/connection.cc b/server/src/connection.cc
index 43d1ea9..9c69a9b 100644
--- a/server/src/connection.cc
+++ b/server/src/connection.cc
@@ -71,6 +71,7 @@ void Connection::commit(Session *session)
session->commit();
env.sessions.deleteSession(session->id());
sessionid = "";
+ docommit = false;
#ifdef TEST_CONNECTION
did_commit = true;
#endif
@@ -83,6 +84,7 @@ void Connection::discard(Session *session)
session->discard();
env.sessions.deleteSession(session->id());
sessionid = "";
+ dodiscard = false;
}
}