Remove IGNORE keyword, it is invalid
This commit is contained in:
parent
5321fe35bd
commit
e101aed2d5
|
@ -373,7 +373,7 @@ UPDATE States SET IsActive = '1' WHERE Name = 'default';
|
||||||
-- If duplicate states existed while upgrading, that is
|
-- If duplicate states existed while upgrading, that is
|
||||||
-- very likely an error that ZM allowed earlier, so
|
-- very likely an error that ZM allowed earlier, so
|
||||||
-- we are picking up the first one and deleting the others
|
-- we are picking up the first one and deleting the others
|
||||||
ALTER IGNORE TABLE States ADD UNIQUE (Name);
|
ALTER TABLE States ADD UNIQUE (Name);
|
||||||
|
|
||||||
SET @s = (SELECT IF(
|
SET @s = (SELECT IF(
|
||||||
(SELECT COUNT(*)
|
(SELECT COUNT(*)
|
||||||
|
|
Loading…
Reference in New Issue