mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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.
This commit is contained in:
@@ -123,7 +123,7 @@ show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE t1 (
|
||||
a int(11) NOT NULL DEFAULT 5,
|
||||
b timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
b timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||
c tinyblob DEFAULT NULL,
|
||||
d decimal(5,2) DEFAULT NULL,
|
||||
e varchar(30) CHARACTER SET ascii DEFAULT NULL,
|
||||
|
Reference in New Issue
Block a user