Changing default character set of the checksums table to utf8

Not setting explicitly the character set breaks the checksums
when using a default binary collation (the standard on all
Wikimedia sites). MySQL 5.5 and above has a system charset
of utf8 and it is not possible to change it without recompiling.

Bug: https://bugs.launchpad.net/percona-toolkit/+bug/1485195
This commit is contained in:
Jcrespo
2015-10-30 15:06:31 +01:00
parent e1d495a10a
commit 981ec0e7b8

View File

@@ -12491,7 +12491,7 @@ structure (MAGIC_create_replicate):
ts TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (db, tbl, chunk),
INDEX ts_db_tbl (ts, db, tbl)
) ENGINE=InnoDB;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Note: lower_boundary and upper_boundary data type can be BLOB. See L<"--binary-index">.