You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's not guaranteed we will always use CREATE TABLE.. LIKE (although I see no reason to switch), we should have tests to ensure this case is handled correctly.
The text was updated successfully, but these errors were encountered:
CHECK constraints have a schema-level namespace, so (using an example roughly from the MySQL manual) this will fail:
However, this doesn't fail in spirit. This is because to create the new table we use the following syntax:
This is because MySQL renames the constraints in
CREATE TABLE.. LIKE
:Since it's not guaranteed we will always use
CREATE TABLE.. LIKE
(although I see no reason to switch), we should have tests to ensure this case is handled correctly.The text was updated successfully, but these errors were encountered: