Error 1456. Recursive limit 0 was exceeded for routine
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.
Subject
Views
Written By
Posted
Error 1456. Recursive limit 0 was exceeded for routine
14353
April 24, 2012 11:26AM
4637
April 25, 2012 08:44PM
4134
April 26, 2012 03:47AM
4368
April 26, 2012 10:51PM
14569
May 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.