mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 14:48:32 -04:00
DBD::SQLite: resolved #54271
This commit is contained in:
parent
c20792782a
commit
3db3c32273
1 changed files with 1 additions and 1 deletions
2
dbdimp.c
2
dbdimp.c
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue