1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

DBD-SQLite: added necessary ENTER/SAVETMPS/FREETMPS/LEAVE to sqlite_db_progress_handler_dispatcher

This commit is contained in:
Kenichi Ishigaki 2009-04-30 06:15:11 +00:00
parent 6afda6d925
commit 974ebde43c

View file

@ -1322,6 +1322,8 @@ int sqlite_db_progress_handler_dispatcher( void *handler )
int n_retval;
int retval;
ENTER;
SAVETMPS;
PUSHMARK(SP);
n_retval = call_sv( handler, G_SCALAR );
if ( n_retval != 1 ) {
@ -1330,6 +1332,8 @@ int sqlite_db_progress_handler_dispatcher( void *handler )
SPAGAIN;
retval = POPi;
PUTBACK;
FREETMPS;
LEAVE;
return retval;
}