mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
DBD-SQLite: added necessary ENTER/SAVETMPS/FREETMPS/LEAVE to sqlite_db_progress_handler_dispatcher
This commit is contained in:
parent
6afda6d925
commit
974ebde43c
1 changed files with 4 additions and 0 deletions
4
dbdimp.c
4
dbdimp.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue