mysql stored procedures cursor halfway automatically exit

1, when select the cursor cycle if the result set is empty, it will trigger cursor continue handler for not found will be done in advance is set to 1, resulting in early exit cursor.

2, select into assigned to null when the cursor appears in the cycle, the cycle will be an early exit

Guess you like

Origin www.cnblogs.com/zhaojielang/p/11646024.html