Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
Reproduce
--error ER_BAD_FIELD_ERROR
|
create table t1 (x int, y int generated always as (t2.x)); |
--error ER_BAD_FIELD_ERROR
|
create table t1 (x int, check (t2.x > 0)); |
--error ER_BAD_FIELD_ERROR
|
create table t1 (x int, z int default t2.x); |
Result
The above commands don't fail. The resulting table misses "t2" qualifier in expressions.
Expected
The above CREATE TABLE commands fail.
Attachments
Issue Links
- causes
-
MDEV-25672 table alias from previous statement interferes later commands
- Closed
-
MDEV-25673 MariaDB fail to execute CONVERT TO CHARACTER
- Closed
- relates to
-
MDEV-12483 Add foreign keys support for partitioned tables
- Stalled