mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
a411d7f4f6
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.
5 lines
166 B
Text
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;
|