1
0
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:
Sinisa@sinisa.nasamreza.org
2002-08-07 22:35:47 +03:00
parent 2c29eda642
commit eb45da0431
6 changed files with 15 additions and 5 deletions

View File

@ -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;

View File

@ -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;