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
2246
February 05, 2014 03:56PM
1125
February 05, 2014 04:24PM
975
February 05, 2014 04:30PM
1054
February 05, 2014 05:34PM
988
February 05, 2014 05:39PM
Re: Thread_overrun error
1193
February 06, 2014 11:35PM
1115
February 07, 2014 03:27AM
1187
February 07, 2014 03:29AM
1118
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.