From a411d7f4f670c24b43b50f7d2a1129e10218f4a7 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 7 Nov 2016 17:17:40 +0100 Subject: 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. --- mysql-test/r/udf.result | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysql-test/r/udf.result') diff --git a/mysql-test/r/udf.result b/mysql-test/r/udf.result index dc9806bb7d1..737ed32f1ee 100644 --- a/mysql-test/r/udf.result +++ b/mysql-test/r/udf.result @@ -457,7 +457,7 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `a` varchar(10) DEFAULT NULL, - `b` varchar(10) DEFAULT METAPHON(a) + `b` varchar(10) DEFAULT metaphon(`a` AS `a`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 INSERT INTO t1 (a) VALUES ('Hello'); SELECT * FROM t1; -- cgit v1.2.1