diff -r 430859af32c6 -r 65ad67b0df22 server/session.py --- a/server/session.py Thu Jan 09 10:53:45 2014 +0100 +++ b/server/session.py Thu Dec 19 17:09:08 2013 +0100 @@ -1081,7 +1081,7 @@ def keep_cnxset_mode(self, mode): """set `mode`, e.g. how the session will keep its connections set: - * if mode == 'write', the connections set is freed after each ready + * if mode == 'write', the connections set is freed after each read query, but kept until the transaction's end (eg commit or rollback) when a write query is detected (eg INSERT/SET/DELETE queries)