Commit 9ec8912b authored by Julien Muchembled's avatar Julien Muchembled

mysql: fix replication of big oids (> 16M)

(cherry picked from commit a992f21a)
parent 346c9d00
...@@ -800,7 +800,7 @@ class MySQLDatabaseManager(DatabaseManager): ...@@ -800,7 +800,7 @@ class MySQLDatabaseManager(DatabaseManager):
compression = r[1] compression = r[1]
if compression and compression & 0x80: if compression and compression & 0x80:
return (r[0], compression & 0x7f, r[2], return (r[0], compression & 0x7f, r[2],
''.join(self._bigData(data)), r[4]) ''.join(self._bigData(r[3])), r[4])
return r return r
def getReplicationObjectList(self, min_tid, max_tid, length, partition, def getReplicationObjectList(self, min_tid, max_tid, length, partition,
......
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