Error 1722: Statements writing to a table with an auto-increment column after selecting from another
Error Code
SQLSTATE
Error
Description
1722
HY000
ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT
Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave.
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1721: You should never see itNextError 1723: CREATE TABLE... SELECT... on a table with an auto-increment column is unsafe because the
Last updated
Was this helpful?