MySQL Forums
Forum List  »  Stored Procedures

Re: Thread_overrun error
Posted by: Rick James
Date: February 06, 2014 11:35PM

I think the FETCH is stuck at EOF.

What the heck are you trying to do? Chew up the CPU waiting for someone else to post something to this table?

Just do a SELECT in the loop, no cursor, no FETCH.

And add this to the loop:
SELECT SLEEP(10);

Options: ReplyQuote


Subject
Views
Written By
Posted
1959
February 05, 2014 03:56PM
1013
February 05, 2014 04:24PM
896
February 05, 2014 04:30PM
971
February 05, 2014 05:34PM
883
February 05, 2014 05:39PM
Re: Thread_overrun error
1067
February 06, 2014 11:35PM
1022
February 07, 2014 03:27AM
1066
February 07, 2014 03:29AM
987
February 07, 2014 10:34AM


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.