bug2564_3 CREATE FUNCTION `test`.`bug2564_3`(x int, y int) RETURNS int
bug2564_3 CREATE FUNCTION `test`.`bug2564_3`(x int, y int) RETURNS int(11)
return x || y
return x || y
show create function bug2564_4|
show create function bug2564_4|
Function sql_mode Create Function
Function sql_mode Create Function
bug2564_4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI CREATE FUNCTION "test"."bug2564_4"(x int, y int) RETURNS int
bug2564_4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI CREATE FUNCTION "test"."bug2564_4"(x int, y int) RETURNS int(11)
return x || y
return x || y
drop procedure bug2564_1|
drop procedure bug2564_1|
drop procedure bug2564_2|
drop procedure bug2564_2|
...
@@ -1645,6 +1645,28 @@ drop procedure bug4579_1|
...
@@ -1645,6 +1645,28 @@ drop procedure bug4579_1|
drop procedure bug4579_2|
drop procedure bug4579_2|
drop table t3|
drop table t3|
drop table if exists t3|
drop table if exists t3|
drop procedure if exists bug2773|
create function bug2773() returns int return null|
create table t3 as select bug2773()|
show create table t3|
Table Create Table
t3 CREATE TABLE `t3` (
`bug2773()` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t3|
drop function bug2773|
drop procedure if exists bug3788|
create function bug3788() returns date return cast("2005-03-04" as date)|
select bug3788()|
bug3788()
2005-03-04
drop function bug3788|
create function bug3788() returns binary(5) return 5|