diff options
Diffstat (limited to 'mysql-test/t/sp-error.test')
-rw-r--r-- | mysql-test/t/sp-error.test | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mysql-test/t/sp-error.test b/mysql-test/t/sp-error.test index 09a1e196786..d98385b42e0 100644 --- a/mysql-test/t/sp-error.test +++ b/mysql-test/t/sp-error.test @@ -311,19 +311,22 @@ end| create function p(x int, x char(10)) begin end| ---error 1307 + +--error 1308 create procedure p() begin declare x float; declare x int; end| ---error 1307 + +--error 1309 create procedure p() begin declare c condition for 1064; declare c condition for 1065; end| ---error 1307 + +--error 1310 create procedure p() begin declare c cursor for select * from t1; |