summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp-error.test
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2005-11-23 01:11:19 +0200
committerbell@sanja.is.com.ua <>2005-11-23 01:11:19 +0200
commit7bd691f11e961060bb0a665936f6712cb7d7bb22 (patch)
tree06d46b3b6c54431d67d676751b91395a50392628 /mysql-test/t/sp-error.test
parentcae673d0a9892430b4763902b926f5ec7e9db080 (diff)
downloadmariadb-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.test7
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 ;|