diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 0ad2f90..ff6a0a3 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -1449,10 +1449,10 @@ int sqlite3_bind_blob( #endif #ifdef __sqlite_unmodified_upstream + return bindText(pStmt, i, zData, nData, xDel, 0); +#else // xDel is a custom deallocator, due to our IT architecture it can't be provided from other modules. return bindText(pStmt, i, zData, nData, free, 0); -#else - return bindText(pStmt, i, zData, nData, xDel, 0); #endif } int sqlite3_bind_blob64(