diff --git a/ext/blobio/blob.go b/ext/blobio/blob.go index a9a9c26..bf528ec 100644 --- a/ext/blobio/blob.go +++ b/ext/blobio/blob.go @@ -30,9 +30,9 @@ import ( // // https://sqlite.org/c3ref/blob.html func Register(db *sqlite3.Conn) { - db.CreateFunction("readblob", 6, sqlite3.DIRECTONLY, readblob) - db.CreateFunction("writeblob", 6, sqlite3.DIRECTONLY, writeblob) - db.CreateFunction("openblob", -1, sqlite3.DIRECTONLY, openblob) + db.CreateFunction("readblob", 6, 0, readblob) + db.CreateFunction("writeblob", 6, 0, writeblob) + db.CreateFunction("openblob", -1, 0, openblob) } // OpenCallback is the type for the openblob callback.