/external/python/cpython3/Lib/sqlite3/test/ |
D | regression.py | 156 con.isolation_level = "" 159 con.isolation_level = None 162 con.isolation_level = level 163 con.isolation_level = level.lower() 164 con.isolation_level = level.capitalize() 165 con.isolation_level = CustomStr(level) 168 con.isolation_level = None 169 con.isolation_level = "DEFERRED" 177 con.isolation_level = value 178 self.assertEqual(con.isolation_level, "DEFERRED") [all …]
|
D | transactions.py | 101 self.con1.isolation_level = None 102 self.assertEqual(self.con1.isolation_level, None) 107 self.con1.isolation_level = "DEFERRED" 108 self.assertEqual(self.con1.isolation_level , "DEFERRED")
|
D | hooks.py | 261 con1 = sqlite.connect(TESTFN, isolation_level=None)
|
D | dbapi.py | 852 self.cx.isolation_level = None # autocommit mode 869 self.cx.isolation_level = None # autocommit mode
|
/external/python/cpython2/Modules/_sqlite/ |
D | connection.c | 44 … int pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* isolation_level); 66 PyObject* isolation_level = NULL; in pysqlite_connection_init() local 78 …&database, &timeout, &detect_types, &isolation_level, &check_same_thread, &factory, &cached_statem… in pysqlite_connection_init() 146 if (!isolation_level) { in pysqlite_connection_init() 147 isolation_level = PyString_FromString(""); in pysqlite_connection_init() 148 if (!isolation_level) { in pysqlite_connection_init() 152 Py_INCREF(isolation_level); in pysqlite_connection_init() 154 self->isolation_level = NULL; in pysqlite_connection_init() 155 if (pysqlite_connection_set_isolation_level(self, isolation_level) < 0) { in pysqlite_connection_init() 156 Py_DECREF(isolation_level); in pysqlite_connection_init() [all …]
|
D | module.c | 56 PyObject* isolation_level; in module_connect() local 65 …&database, &timeout, &detect_types, &isolation_level, &check_same_thread, &factory, &cached_statem… in module_connect()
|
D | connection.h | 56 PyObject* isolation_level; member
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 58 …_connection_set_isolation_level(pysqlite_Connection* self, PyObject* isolation_level, void *Py_UNU… 85 PyObject* isolation_level = NULL; in pysqlite_connection_init() local 95 &isolation_level, &check_same_thread, in pysqlite_connection_init() 141 if (!isolation_level) { in pysqlite_connection_init() 142 isolation_level = PyUnicode_FromString(""); in pysqlite_connection_init() 143 if (!isolation_level) { in pysqlite_connection_init() 147 Py_INCREF(isolation_level); in pysqlite_connection_init() 149 Py_CLEAR(self->isolation_level); in pysqlite_connection_init() 150 if (pysqlite_connection_set_isolation_level(self, isolation_level, NULL) < 0) { in pysqlite_connection_init() 151 Py_DECREF(isolation_level); in pysqlite_connection_init() [all …]
|
D | connection.h | 52 PyObject* isolation_level; member
|
D | module.c | 67 PyObject* isolation_level; in module_connect() local 78 &isolation_level, &check_same_thread, in module_connect()
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | transactions.py | 102 self.con1.isolation_level = None 103 self.assertEqual(self.con1.isolation_level, None) 108 self.con1.isolation_level = "DEFERRED" 109 self.assertEqual(self.con1.isolation_level , "DEFERRED")
|
D | regression.py | 235 con = sqlite.connect(":memory:", isolation_level=None) 324 sqlite.connect, ":memory:", isolation_level=123) 351 self.assertEqual(con.isolation_level, "")
|
/external/python/cpython2/Doc/includes/sqlite3/ |
D | complete_statement.py | 6 con.isolation_level = None
|
/external/python/cpython3/Doc/includes/sqlite3/ |
D | complete_statement.py | 6 con.isolation_level = None
|
/external/python/cpython3/Doc/library/ |
D | sqlite3.rst | 173 .. function:: connect(database[, timeout, detect_types, isolation_level, check_same_thread, factory… 189 For the *isolation_level* parameter, please see the 190 :attr:`~Connection.isolation_level` property of :class:`Connection` objects. 282 .. attribute:: isolation_level 1022 executes via the *isolation_level* parameter to the :func:`connect` 1023 call, or via the :attr:`isolation_level` property of connections. 1024 If you specify no *isolation_level*, a plain ``BEGIN`` is used, which is 1029 setting :attr:`isolation_level` to ``None``. This will leave the underlying
|
/external/python/cpython2/Doc/library/ |
D | sqlite3.rst | 167 .. function:: connect(database[, timeout, detect_types, isolation_level, check_same_thread, factory… 179 For the *isolation_level* parameter, please see the 180 :attr:`Connection.isolation_level` property of :class:`Connection` objects. 252 .. attribute:: isolation_level 868 (or none at all) via the *isolation_level* parameter to the :func:`connect` 869 call, or via the :attr:`isolation_level` property of connections. 871 If you want **autocommit mode**, then set :attr:`isolation_level` to ``None``.
|
/external/autotest/database/ |
D | database_connection.py | 96 self._connection.isolation_level = None # enable autocommit
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b1.rst | 1076 Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based
|
D | 3.5.3rc1.rst | 1077 Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based
|