[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -1021,7 +1021,6 @@ set @@sql_mode=@old_mode|
# Check mode settings
insert into t1 values ("foo", 1), ("bar", 2), ("zip", 3)|
--error 1235
set @@sql_mode = 'ANSI'|
delimiter $|
--disable_warnings ONCE
@ -2607,7 +2606,6 @@ drop function if exists bug2564_3$
create function bug2564_3(x int, y int) returns int
return x || y$
--error 1235
set @@sql_mode = 'ANSI'$
--disable_warnings ONCE
drop function if exists bug2564_4$
@ -4429,7 +4427,6 @@ drop procedure if exists bug6127|
create table t3 (s1 int unique)|
set @sm=@@sql_mode|
--error 1235
set sql_mode='traditional'|
create procedure bug6127()
@ -6556,7 +6553,6 @@ return "pie, my favorite desert.";
SET @save_sql_mode=@@sql_mode;
--error 1235
SET SQL_MODE='IGNORE_SPACE';
select pi(), pi ();
@ -6596,7 +6592,6 @@ drop database nowhere;
SET @save_sql_mode=@@sql_mode;
--error 1235
SET SQL_MODE='IGNORE_SPACE';
select database(), database ();
@ -6625,7 +6620,6 @@ return "Stored function current_user";
create function md5(x varchar(50)) returns varchar(50)
return "Stored function md5";
--error 1235
SET SQL_MODE='IGNORE_SPACE';
select database(), database ();