diff options
Diffstat (limited to 'Modules/_sqlite/connection.h')
| -rw-r--r-- | Modules/_sqlite/connection.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Modules/_sqlite/connection.h b/Modules/_sqlite/connection.h index 0c9734c..adbfb54 100644 --- a/Modules/_sqlite/connection.h +++ b/Modules/_sqlite/connection.h @@ -52,12 +52,11 @@ typedef struct * first get called with count=0? */ double timeout_started; - /* None for autocommit, otherwise a PyString with the isolation level */ + /* None for autocommit, otherwise a PyUnicode with the isolation level */ PyObject* isolation_level; - /* NULL for autocommit, otherwise a string with the BEGIN statement; will be - * freed in connection destructor */ - char* begin_statement; + /* NULL for autocommit, otherwise a string with the BEGIN statement */ + const char* begin_statement; /* 1 if a check should be performed for each API call if the connection is * used from the same thread it was created in */ |
