MySQL error code
MySQL error 1715
MySQL server error 1715 is ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE, reported with SQLSTATE HY000.
INSERT... 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.
| Error | 1715 |
|---|---|
| Name | ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference