1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-31112 vcol circular references lead to stack overflow

This commit is contained in:
Sergei Golubchik
2023-10-21 17:33:29 +02:00
parent 547dfc0e01
commit 082aea7742
3 changed files with 28 additions and 3 deletions

View File

@@ -569,3 +569,14 @@ drop table t1;
#
# End of 10.3 tests
#
#
# MDEV-31112 vcol circular references lead to stack overflow
#
create table t (a int, c int as (a));
alter table t alter column c drop default;
alter table t modify column a int as (c) stored;
ERROR 01000: Expression for field `a` is referring to uninitialized field `c`
drop table t;
#
# End of 10.4 tests
#