• gwenn's avatar
    Fix text binding and blob scanning. · c1430720
    gwenn authored
    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.
    c1430720
sqlite.go 18.5 KB