Details
-
Task
-
Status: In Testing (View Workflow)
-
Critical
-
Resolution: Unresolved
Description
MariaDB currently requires string lengths to be specified, for example:
CREATE TABLE t1 ( |
a VARCHAR(10), |
b VARCHAR(20) |
);
|
The 2023 SQL standard no longer requires this, so:
CREATE TABLE t1 ( |
a VARCHAR, |
b VARCHAR |
);
|
would be valid code. The limit is then left to the implementation to define, for example in PostgreSQL, characters without lengths become character(1), while character varying without lengths accept strings of any size.
Attachments
Issue Links
- causes
-
MDEV-40049 DEFAULT on an optional-length string column is silently truncated to the empty string
-
- Open
-
-
MDEV-40051 ERROR 1030 (HY000) — Got error 190 "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine" from storage engine MyISAM
-
- Open
-
-
MDEV-40079 ERROR 1731 (HY000): Non matching attribute 'TABLE OPTION' between partition and table
-
- Open
-