Skip navigation links

MySQL Forums :: Stored Procedures :: Error 1456. Recursive limit 0 was exceeded for routine


Advanced Search

Error 1456. Recursive limit 0 was exceeded for routine
Posted by: David Lopez Zajara ()
Date: April 24, 2012 11:26AM

Hi,

I have a problem executing a stored procedure. This is the create:

DELIMITER $$

CREATE DEFINER=`root`@`172.16.100.200` PROCEDURE `update_sites`(IN `osmregion` INT)
BEGIN
UPDATE `geo_region` SET `_sites` = 0 WHERE `id` = osmregion AND `id_lang` = 3;
END

When call the function with CALL update_sites(1); i got these result:

0 19:19:46 CALL update_sites(1) Error Code: 1456. Recursive limit 0 (as set by the max_sp_recursion_depth variable) was exceeded for routine update_sites

Please help, i can't understand the error. My routine isn't recursive, and i've tried to change the limit with SET @@global.max_sp_recursion_depth = 400; without result. Also, i've tested and the UPDATE sentence on the SP only affects one row.

Options: ReplyQuote


Subject Views Written By Posted
Error 1456. Recursive limit 0 was exceeded for routine 4720 David Lopez Zajara 04/24/2012 11:26AM
Re: Error 1456. Recursive limit 0 was exceeded for routine 1857 Rick James 04/25/2012 08:44PM
Re: Error 1456. Recursive limit 0 was exceeded for routine 1715 David Lopez Zajara 04/26/2012 03:47AM
Re: Error 1456. Recursive limit 0 was exceeded for routine 1694 Rick James 04/26/2012 10:51PM
Re: Error 1456. Recursive limit 0 was exceeded for routine 1756 Luis Sieira 05/17/2012 04:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.