diff options
author | bell@sanja.is.com.ua <> | 2005-11-23 01:11:19 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2005-11-23 01:11:19 +0200 |
commit | 7bd691f11e961060bb0a665936f6712cb7d7bb22 (patch) | |
tree | 06d46b3b6c54431d67d676751b91395a50392628 /mysql-test/t/sp-error.test | |
parent | cae673d0a9892430b4763902b926f5ec7e9db080 (diff) | |
download | mariadb-git-7bd691f11e961060bb0a665936f6712cb7d7bb22.tar.gz |
Recursion support made for SP (BUG#10100).
Diffstat (limited to 'mysql-test/t/sp-error.test')
-rw-r--r-- | mysql-test/t/sp-error.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mysql-test/t/sp-error.test b/mysql-test/t/sp-error.test index e2343cd905c..c79f2294baf 100644 --- a/mysql-test/t/sp-error.test +++ b/mysql-test/t/sp-error.test @@ -1044,10 +1044,11 @@ begin call bug11394(i - 1,(select 1)); end if; end| -# Again if we allow recursion for stored procedures (without -# additional efforts) the following statement will crash the server. ---error 1424 +--error ER_SP_RECURSION_LIMIT +call bug11394(2, 1)| +set @@max_sp_recursion_depth=10| call bug11394(2, 1)| +set @@max_sp_recursion_depth=default| drop procedure bug11394| delimiter ;| |