summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-08-07 22:35:47 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-08-07 22:35:47 +0300
commite75272007dcaf87d558c8794f0a439345117cdb5 (patch)
treeb8afcb429ac83a9ba7430566af7e7977a8276f14 /mysql-test
parent012d5ab442de40d62b655a594dfb2fbb0052a80c (diff)
downloadmariadb-git-e75272007dcaf87d558c8794f0a439345117cdb5.tar.gz
Fixed bugs with create table from ITEM_FUNC and make it over
once for all derived functions. I also reverted my patch for MONTH() and added a test case. My MONTH() patch was too specific. This is a general fix. Plus a fix for security flaw in database hash Docs/manual.texi: Fixed bugs with create table from ITEM_FUNC and make it over once for all derived functions. I also reverted my patch for MONTH() and added a test case. My MONTH() patch was too specific. This is a general fix. mysql-test/r/create.result: Fixed bugs with create table from ITEM_FUNC and make it over once for all derived functions. I also reverted my patch for MONTH() and added a test case. My MONTH() patch was too specific. This is a general fix. mysql-test/t/create.test: Fixed bugs with create table from ITEM_FUNC and make it over once for all derived functions. I also reverted my patch for MONTH() and added a test case. My MONTH() patch was too specific. This is a general fix. sql/item_func.h: Fixed bugs with create table from ITEM_FUNC and make it over once for all derived functions. I also reverted my patch for MONTH() and added a test case. My MONTH() patch was too specific. This is a general fix. sql/item_timefunc.h: Fixed bugs with create table from ITEM_FUNC and make it over once for all derived functions. I also reverted my patch for MONTH() and added a test case. My MONTH() patch was too specific. This is a general fix. sql/sql_acl.cc: Fixed a security flaw in database hash
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/create.result2
-rw-r--r--mysql-test/t/create.test2
2 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index ef44e840a79..71044065dad 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -134,3 +134,5 @@ t1 CREATE TABLE `t1` (
KEY `b_31` (`b`)
) TYPE=MyISAM
drop table t1;
+create table t1 select if(1,'1','0'), month("2002-08-02");
+drop table t1;
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 99d4e5ae229..7e924e9f262 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -89,3 +89,5 @@ drop table t1,t2;
create table t1 (a int not null, b int, primary key(a), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b));
show create table t1;
drop table t1;
+create table t1 select if(1,'1','0'), month("2002-08-02");
+drop table t1;