Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
10.2 469a4b02ce |
MariaDB [test]> CREATE TABLE t1 (t TIMESTAMP CHECK(t>'2018-01-01 00:00:00')); |
ERROR 4029 (01000): Expression for field `t` is refering to uninitialized field `t` |
Datetime works all right.
MariaDB [test]> CREATE TABLE t1 (t DATETIME CHECK(t>'2018-01-01 00:00:00')); |
Query OK, 0 rows affected (0.39 sec) |
Table-level CHECK also works all right:
MariaDB [test]> CREATE TABLE t2 (t TIMESTAMP, CHECK(t>'2018-01-01 00:00:00')); |
Query OK, 0 rows affected (0.19 sec) |
Attachments
Issue Links
- relates to
-
MDEV-18278 Misleading error message in error log upon failed table creation
- Closed