mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +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.
7 lines
216 B
Text
7 lines
216 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;
|
|
Table Op Msg_type Msg_text
|
|
test.t check status OK
|
|
drop table t;
|