mysqldude
Error codes › 1715

MySQL & MariaDB error 1715 ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE

MySQLINSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on source and the replica.
MariaDBINSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on master and the slave
MySQLMariaDB
SymbolER_BINLOG_UNSAFE_INSERT_SELECT_UPDATEER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.5.63 activeevery release since 5.5 active
How the message changed between versions
MySQL fromSymbolMessage
5.5.63ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATEINSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on master and the slave.
8.0.36ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATEINSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on source and the replica.
MariaDB fromSymbolMessage
5.5.68ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATEINSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on master and the slave.
10.2.44ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATEINSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on master and the slave