Commit e9dae1f5 authored by Julien Muchembled's avatar Julien Muchembled

mysql: fix checksum of transactions when checking replicas

parent 1e7181e2
...@@ -90,7 +90,7 @@ class MySQLDatabaseManager(DatabaseManager): ...@@ -90,7 +90,7 @@ class MySQLDatabaseManager(DatabaseManager):
else: else:
break break
self.conn.autocommit(False) self.conn.autocommit(False)
self.conn.query("SET SESSION group_concat_max_len = -1") self.conn.query("SET SESSION group_concat_max_len = %u" % (2**32-1))
self.conn.set_sql_mode("TRADITIONAL,NO_ENGINE_SUBSTITUTION") self.conn.set_sql_mode("TRADITIONAL,NO_ENGINE_SUBSTITUTION")
def commit(self): def commit(self):
......
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