Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
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
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to MDEV-12483 [ MDEV-12483 ] |
Summary | CREATE TABLE field references qualified by a wrong table name succeed | CREATE TABLE: field references qualified by a wrong table name succeed |
Component/s | Data Definition - Create Table [ 14503 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Aleksey Midenkov [ midenok ] | Nikita Malyavin [ nikitamalyavin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Aleksey Midenkov [ midenok ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
issue.field.resolutiondate | 2021-04-23 13:33:12.0 | 2021-04-23 13:33:12.701 |
Fix Version/s | 10.2.38 [ 25207 ] | |
Fix Version/s | 10.3.29 [ 25206 ] | |
Fix Version/s | 10.4.19 [ 25205 ] | |
Fix Version/s | 10.5.10 [ 25204 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue causes |
Workflow | MariaDB v3 [ 119948 ] | MariaDB v4 [ 159004 ] |
oktopushďż˝