Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for CHECK constraints (feature request) #13592
MariaDB (MySQL-compatible) added support for
Edit: they are also not exported by export.php.
@nulll-pointer MariaDB normally supports
referenced this issue
Apr 13, 2018
Using version 4.7.4, this is more than enhancement, it is a bug.
Right now, you can add the CHECK constraint with a custom SQL statement. Even though the parser indicates a syntax error, it works.
But, when you try to export the table, the CHECK constraint is unrecognized and is ignored in the CREATE TABLE statement ... but so are ALL columns definitions afterward. That is a bug.