summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-08-09 10:36:26 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:39 +0400
commit0281757e824bfac4d68b24400d2cc74ced1093ca (patch)
tree74cdfcea35640b72dadb49b0699069d3339c5d7c /mysql-test/t/sp.test
parentf71a1f736df98507c56913cc7538926f265545ea (diff)
downloadmariadb-git-0281757e824bfac4d68b24400d2cc74ced1093ca.tar.gz
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;
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r--mysql-test/t/sp.test2
1 files changed, 1 insertions, 1 deletions
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.