diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-02-02 20:25:20 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-02-02 23:58:37 +0100 |
commit | bb9cc1216873604459724860d606283c398ea06b (patch) | |
tree | 877eb31a32e52619092e90ab83241986bdd475ef /src/connection.h | |
parent | a55df58db59d38d7d320f51fa760f20cf1f69312 (diff) |
[feat] add support for the blob interfacedevelop
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
Diffstat (limited to 'src/connection.h')
-rw-r--r-- | src/connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection.h b/src/connection.h index 3fc5a70..a110ea2 100644 --- a/src/connection.h +++ b/src/connection.h @@ -70,9 +70,10 @@ typedef struct pysqlite_Cache* statement_cache; - /* Lists of weak references to statements and cursors used within this connection */ + /* Lists of weak references to statements, blobs and cursors used within this connection */ PyObject* statements; PyObject* cursors; + PyObject* blobs; /* Counters for how many statements/cursors were created in the connection. May be * reset to 0 at certain intervals */ |