Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.17, 10.3.8, 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL)
Description
When having a DATE column on the master, a DATETIME column on the slave, and binlog_format=ROW, inserting into the table fails on the salve with:
Last_SQL_Error: Column 1 of table 'test.t1' cannot be converted from type 'date' to type 'datetime'
even with slave_type_conversions=ALL_NON_LOSSY, even though a conversion from a DATE to a DATETIME should be a lossles operation.
In the MySQL 5.6 manual this conversion is listed as "not supported before 5.5.3". In the 5.7 and 5.8 versions of the manual this paragraph has been removed, but still DATE and DATETIME are missing from the list of supported operations.
Our own documentation doesn't seem to mention supported conversion types at all.
https://dev.mysql.com/doc/refman/5.6/en/replication-features-differing-tables.html
Attachments
Issue Links
- relates to
-
MDEV-17394 Row-based replication DATETIME(m) to DATETIME(s) does not work or incorrect
- Open
-
MDEV-32805 replication from timestamp to datetime cannot succeed (even with slave_type_conversions='ALL_LOSSY')
- Open