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

DBD-SQLite: apply a patch to fix segfault by TOKUHIROM++

This commit is contained in:
Kenichi Ishigaki 2009-04-02 07:56:51 +00:00
parent 1c55ed52a0
commit 159318cf6f

View file

@ -426,6 +426,7 @@ sqlite_st_execute (SV *sth, imp_sth_t *imp_sth)
return 0;
/* There are bug reports that say this should be sqlite3_reset() */
default: sqlite3_finalize(imp_sth->stmt);
imp_sth->stmt = NULL;
sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db));
return -6;
}