1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +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

@@ -536,3 +536,16 @@ drop table t1;
--echo #
--echo # End of 10.3 tests
--echo #
--echo #
--echo # MDEV-31112 vcol circular references lead to stack overflow
--echo #
create table t (a int, c int as (a));
alter table t alter column c drop default;
--error ER_EXPRESSION_REFERS_TO_UNINIT_FIELD
alter table t modify column a int as (c) stored;
drop table t;
--echo #
--echo # End of 10.4 tests
--echo #