Fix text binding and blob scanning.
When specifying SQLITE_TRANSIENT, SQLite makes a copy of the string so we can pass directly a pointer when calling sqlite3_bind_text/ sqlite3_result_text. On the other hand, when loading blobs with sqlite3_column_bytes/ sqlite3_value_bytes, we must make a copy.
Showing
Please register or sign in to comment