mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fixing sp.result, forgotten in 78d68badd7f399f08bc1000f56b2a12bb8515718.
In the affected test chunk in sp.test, sql_mode is set to 0xFFFFFFFF, which includes ORACLE, therefore an additional "AS" keyword is required: CREATE PROCEDURE p1() AS BEGIN END;
This commit is contained in:
parent
f71a1f736d
commit
0281757e82
2 changed files with 2 additions and 2 deletions
|
@ -6908,7 +6908,7 @@ drop procedure if exists p;
|
|||
set @old_mode= @@sql_mode;
|
||||
set @@sql_mode= cast(pow(2,32)-1 as unsigned integer);
|
||||
select @@sql_mode into @full_mode;
|
||||
create procedure p() begin end;
|
||||
create procedure p() as begin end;
|
||||
call p();
|
||||
set @@sql_mode= @old_mode;
|
||||
select replace(@full_mode, 'ALLOW_INVALID_DATES', 'INVALID_DATES') into @full_mode;
|
||||
|
|
|
@ -8227,7 +8227,7 @@ drop procedure if exists p;
|
|||
set @old_mode= @@sql_mode;
|
||||
set @@sql_mode= cast(pow(2,32)-1 as unsigned integer);
|
||||
select @@sql_mode into @full_mode;
|
||||
create procedure p() begin end;
|
||||
create procedure p() as begin end;
|
||||
call p();
|
||||
set @@sql_mode= @old_mode;
|
||||
# Rename SQL modes that differ in name between the server and the table definition.
|
||||
|
|
Loading…
Reference in a new issue