[MDEV-32586] incorrect error about cyclic reference about JSON type virtual column Created: 2023-10-26  Updated: 2023-10-26  Resolved: 2023-10-26

Status: Closed
Project: MariaDB Server
Component/s: JSON, Virtual Columns
Affects Version/s: 10.4
Fix Version/s: 10.4.32

Type: Bug Priority: Blocker
Reporter: Oleksandr Byelkin Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

It is regression of MDEV-31112 fix (082aea7742455246fdcfd112a392b78c793dfebc)

CREATE TABLE t1 (a int, b json AS (a));
DROP TABLE t1;

execution:

CURRENT_TEST: main.test2
mysqltest: At line 1: query 'CREATE TABLE t1 (a int, b json AS (a))' failed: 4029: Expression for field `b` is referring to uninitialized field `b`



 Comments   
Comment by Oleksandr Byelkin [ 2023-10-26 ]

OK to push

Generated at Thu Feb 08 10:32:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.