From bb9cc1216873604459724860d606283c398ea06b Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 2 Feb 2017 20:25:20 +0100 Subject: [feat] add support for the blob interface Pysqlcipher support for the sqlite blob interface: https://sqlite.org/c3ref/blob_open.html Copying the code from the PR in pysqlite: https://github.com/ghaering/pysqlite/pull/93 --- src/module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/module.c') diff --git a/src/module.c b/src/module.c index dbc015c..7a26498 100644 --- a/src/module.c +++ b/src/module.c @@ -28,6 +28,7 @@ #include "prepare_protocol.h" #include "microprotocols.h" #include "row.h" +#include "blob.h" #ifdef PYSQLITE_EXPERIMENTAL #include "backup.h" @@ -321,6 +322,7 @@ PyMODINIT_FUNC init_sqlite(void) #ifdef PYSQLITE_EXPERIMENTAL (pysqlite_backup_setup_types() < 0) || #endif + (pysqlite_blob_setup_types() < 0) || (pysqlite_prepare_protocol_setup_types() < 0) ) { return; -- cgit v1.2.3