mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user