Home > database >  Mysql stored procedure how to judge the cursor is already open
Mysql stored procedure how to judge the cursor is already open

Time:03-25

Usage scenario is happening after SQLEXPECTION, judge the cursor have opened, if already open, close the cursor release resources,

Without judgment directly close the cursor sometimes error cursor is not open;

Don't close the cursor whether there is the risk of a memory leak?
  • Related