As I know from DOCs and from other questions such a query should silently drop rows with duplicated id
. However MySQL throws an error:
This is phpmyadmin output.
Why MySQL did not dropped rows with duplicated id? Any ideas?
As I know from DOCs and from other questions such a query should silently drop rows with duplicated id
. However MySQL throws an error:
This is phpmyadmin output.
Why MySQL did not dropped rows with duplicated id? Any ideas?
Looks like I looked in a wrong docs. I looked at 5.1 version docs and I have 5.5 version of the MySQL server.
In the right docs mentioned:
So I need to consider using suggested SET SESSION old_alter_table=1
or find another way to remove excess rows from table.