1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 22:58:17 -04:00

DBD::SQLite: resolved #54271

This commit is contained in:
Kenichi Ishigaki 2010-02-09 15:12:41 +00:00
parent c20792782a
commit 3db3c32273

View file

@ -523,7 +523,7 @@ sqlite_st_execute(SV *sth, imp_sth_t *imp_sth)
} }
else if (sql_type == SQL_BLOB) { else if (sql_type == SQL_BLOB) {
STRLEN len; STRLEN len;
char * data = SvPV(value, len); char * data = SvPVbyte(value, len);
rc = sqlite3_bind_blob(imp_sth->stmt, i+1, data, len, SQLITE_TRANSIENT); rc = sqlite3_bind_blob(imp_sth->stmt, i+1, data, len, SQLITE_TRANSIENT);
} }
else { else {