mariadb/mysql-test/suite/vcol/t/delayed.test
Sergei Golubchik a411d7f4f6 store/show vcols as item->print()
otherwise we'd need to store sql_mode *per vcol*
(consider CREATE INDEX...) and how SHOW CREATE TABLE would
support that?

Additionally, get rid of vcol::expr_str, just to make sure
the string is always generated and never leaked in the
original form.
2016-12-12 20:35:41 +01:00

5 lines
166 B
Text

create table t (a int primary key, b int, c int as (b), index (c));
insert t (a,b) values (10,1);
replace delayed t (a,b) values (10,5);
check table t;
drop table t;