ecto icon indicating copy to clipboard operation
ecto copied to clipboard

[MySQL] - Assert that full concurrency is allowed during the DDL

Open laurocaetano opened this issue 11 years ago • 1 comments

The Online DDL documentation says that MySQL 5.6+ supports concurrency on DDL. Although no syntax change is required in the CREATE INDEX or DROP INDEX commands, it's possible to assert that the concurrency is allowed using LOCK=NONE.

We could add this assertion on the MySQL adapter. @josevalim what do you think?

Thanks @morgo for pointing it on this commit https://github.com/laurocaetano/ecto/commit/0d807e27b65c235b7779b8d8945b2a5adfbdf383#commitcomment-11634210

laurocaetano avatar Jun 11 '15 19:06 laurocaetano

Yes, let's do this!

josevalim avatar Jun 11 '15 19:06 josevalim