Skip to content

CHECK constraints #167

Open
@stevenwdv

Description

@stevenwdv

The parser currently shows warnings for CHECK constraints, which are supported in MariaDB 10.2.1+

ALTER TABLE t_a ADD CONSTRAINT CHECK(col = 42);

CREATE TABLE t_b (
    col INT CHECK(col = 37)
);

CREATE TABLE t_c (
    col INT,
    CHECK(col != 0xDEAD)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions