From 0281757e824bfac4d68b24400d2cc74ced1093ca Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Tue, 9 Aug 2016 10:36:26 +0400 Subject: 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; --- mysql-test/t/sp.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysql-test/t/sp.test') diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test index 3ca210d9904..92f5acffb8e 100644 --- a/mysql-test/t/sp.test +++ b/mysql-test/t/sp.test @@ -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. -- cgit v1.2.1