Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Modules/_sqlite/connection.h

    r2 r391  
    11/* connection.h - definitions for the connection type
    22 *
    3  * Copyright (C) 2004-2007 Gerhard Häring <gh@ghaering.de>
     3 * Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
    44 *
    55 * This file is part of pysqlite.
     
    5656    PyObject* isolation_level;
    5757
    58     /* NULL for autocommit, otherwise a string with the BEGIN statment; will be
     58    /* NULL for autocommit, otherwise a string with the BEGIN statement; will be
    5959     * freed in connection destructor */
    6060    char* begin_statement;
     
    6464    int check_same_thread;
    6565
     66    int initialized;
     67
    6668    /* thread identification of the thread the connection was created in */
    6769    long thread_ident;
     
    6971    pysqlite_Cache* statement_cache;
    7072
    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 */
    7274    PyObject* statements;
     75    PyObject* cursors;
    7376
    74     /* a counter for how many statements were created in the connection. May be
     77    /* Counters for how many statements/cursors were created in the connection. May be
    7578     * reset to 0 at certain intervals */
    7679    int created_statements;
     80    int created_cursors;
    7781
    7882    PyObject* row_factory;
     
    126130int pysqlite_connection_init(pysqlite_Connection* self, PyObject* args, PyObject* kwargs);
    127131
     132int pysqlite_connection_register_cursor(pysqlite_Connection* connection, PyObject* cursor);
    128133int pysqlite_check_thread(pysqlite_Connection* self);
    129134int pysqlite_check_connection(pysqlite_Connection* con);
Note: See TracChangeset for help on using the changeset viewer.