Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Compatibility-1
Description
Support CHECK constraint as in (or close to) SQL Standard.
The following syntaxes will be supported (they are already supported by the current MariaDB parser, but does nothing):
As part of column definition:
CREATE TABLE t1 (a int check (A > 10));
As an independent constraint:
CREATE TABLE t1 (a int, constraint `A` CHECK (A > 10));
ALTER TABLE DROP CONSTRAINT `A`;
Attachments
Issue Links
- causes
-
MDEV-16331 Support instant DROP CHECK CONSTRAINT
-
- Closed
-
- is part of
-
MDEV-10137 Providing compatibility to other databases
-
- Open
-
- relates to
-
MDEV-11114 Cannot drop column referenced by CHECK constraint
-
- Closed
-
-
MDEV-11115 CHECK constraints are not shown in I_S.TABLE_CONSTRAINTS
-
- Closed
-
-
MDEV-11117 CHECK constraint fails on intermediate step of ALTER
-
- Closed
-
-
MDEV-12890 constraint name in column constraints
-
- Confirmed
-
-
MDEV-17323 Backport INFORMATION_SCHEMA.CHECK_CONSTRAINTS to 10.2
-
- Closed
-
-
MDEV-13596 CHECK constraints disallow NULL to pass through, violating SQL
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Workflow | MariaDB v2 [ 59601 ] | MariaDB v3 [ 66290 ] |
Fix Version/s | 10.2 [ 14601 ] |
Assignee | Michael Widenius [ monty ] |
Fix Version/s | 10.2 [ 14601 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description | Support CHECK constraint as in (or close to) SQL Standard |
Support CHECK constraint as in (or close to) SQL Standard.
The following syntaxes will be supported (they are already supported by the current MariaDB parser, but does nothing): As part of column definition: CREATE TABLE t1 (a int check (A > 10)); As an independent constraint: CREATE TABLE t1 (a int, constraint `A` CHECK (A > 10)); |
Link | This issue is part of MDEV-10137 [ MDEV-10137 ] |
Description |
Support CHECK constraint as in (or close to) SQL Standard.
The following syntaxes will be supported (they are already supported by the current MariaDB parser, but does nothing): As part of column definition: CREATE TABLE t1 (a int check (A > 10)); As an independent constraint: CREATE TABLE t1 (a int, constraint `A` CHECK (A > 10)); |
Support CHECK constraint as in (or close to) SQL Standard.
The following syntaxes will be supported (they are already supported by the current MariaDB parser, but does nothing): As part of column definition: CREATE TABLE t1 (a int check (A > 10)); As an independent constraint: CREATE TABLE t1 (a int, constraint `A` CHECK (A > 10)); ALTER TABLE DROP CONSTRAINT `A`; |
Component/s | Data Definition - Alter Table [ 10114 ] |
Fix Version/s | 10.2.1 [ 22012 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Labels | Compatibility |
Sprint | Compatibility-1 [ 88 ] |
Epic Link | MDEV-10872 [ 58182 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Labels | Compatibility |
Link | This issue relates to MDEV-12890 [ MDEV-12890 ] |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 66290 ] | MariaDB v4 [ 132516 ] |