Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
10.2.4-1, 10.2.4-2
Description
I'm testing the MDEV-10134 feature tree, branch bb-10.2-default.
This script:
DROP TABLE IF EXISTS t1; |
CREATE TABLE t1 (a INT DEFAULT b, b INT DEFAULT 4); |
INSERT INTO t1 VALUES (DEFAULT,5); |
SELECT * FROM t1; |
returns
+-------------+------+
|
| a | b |
|
+-------------+------+
|
| -1886417009 | 5 |
|
+-------------+------+
|
Looks wrong, most likely some non-initialized data gets written into the column "a".
Attachments
Issue Links
- blocks
-
MDEV-10134 Add full support for DEFAULT
- Closed