Changeset 391 for python/trunk/Modules/_sqlite/connection.h
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Modules/_sqlite/connection.h
r2 r391 1 1 /* connection.h - definitions for the connection type 2 2 * 3 * Copyright (C) 2004-20 07Gerhard Häring <gh@ghaering.de>3 * Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de> 4 4 * 5 5 * This file is part of pysqlite. … … 56 56 PyObject* isolation_level; 57 57 58 /* NULL for autocommit, otherwise a string with the BEGIN stat ment; will be58 /* NULL for autocommit, otherwise a string with the BEGIN statement; will be 59 59 * freed in connection destructor */ 60 60 char* begin_statement; … … 64 64 int check_same_thread; 65 65 66 int initialized; 67 66 68 /* thread identification of the thread the connection was created in */ 67 69 long thread_ident; … … 69 71 pysqlite_Cache* statement_cache; 70 72 71 /* A list of weak references to statements used within this connection */73 /* Lists of weak references to statements and cursors used within this connection */ 72 74 PyObject* statements; 75 PyObject* cursors; 73 76 74 /* a counter for how many statements were created in the connection. May be77 /* Counters for how many statements/cursors were created in the connection. May be 75 78 * reset to 0 at certain intervals */ 76 79 int created_statements; 80 int created_cursors; 77 81 78 82 PyObject* row_factory; … … 126 130 int pysqlite_connection_init(pysqlite_Connection* self, PyObject* args, PyObject* kwargs); 127 131 132 int pysqlite_connection_register_cursor(pysqlite_Connection* connection, PyObject* cursor); 128 133 int pysqlite_check_thread(pysqlite_Connection* self); 129 134 int pysqlite_check_connection(pysqlite_Connection* con);
Note:
See TracChangeset
for help on using the changeset viewer.