From ebf7844e373d1ca136b32dd32dc7f3ea85bdfaad Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Mon, 6 Feb 2017 07:48:48 +0200 Subject: [PATCH] 5.7 deprecation of alter ignore --- doc/questions.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/questions.md b/doc/questions.md index 33757e5..f4788f1 100644 --- a/doc/questions.md +++ b/doc/questions.md @@ -17,6 +17,10 @@ Read more on [cut-over](cut-over.md) and on the [cut-over design Issue](https:// Adding a `UNIQUE KEY` is possible, in the condition that no violation will occur. That is, you must make sure there aren't any violating rows on your table before, and during the migration. -At this time there is no equivalent to `ALETER IGNORE`, where duplicates are implicitly and silently thrown away. This behavior may be supported in the future. +At this time there is no equivalent to `ALETER IGNORE`, where duplicates are implicitly and silently thrown away. The MySQL `5.7` docs say: + +> As of MySQL 5.7.4, the IGNORE clause for ALTER TABLE is removed and its use produces an error. + +It is therefore unlikely that `gh-ost` will support this behavior. # Why