Commit a6edf36b authored by Julien Muchembled's avatar Julien Muchembled

mysql: "disable" wait_timeout

parent 71564067
......@@ -172,6 +172,7 @@ class MySQLDatabaseManager(MVCCDatabaseManager):
conn = self.conn
conn.autocommit(False)
conn.query("SET"
" SESSION wait_timeout = 2147483," # we'd like to disable it
" SESSION sql_mode = 'TRADITIONAL,NO_ENGINE_SUBSTITUTION',"
" SESSION group_concat_max_len = %u" % (2**32-1))
if self._engine == 'RocksDB':
......
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