Home
last modified time | relevance | path

Searched refs:isolation_level (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/sqlite3/test/
Dregression.py156 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 …]
Dtransactions.py101 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")
Dhooks.py261 con1 = sqlite.connect(TESTFN, isolation_level=None)
Ddbapi.py852 self.cx.isolation_level = None # autocommit mode
869 self.cx.isolation_level = None # autocommit mode
/external/python/cpython2/Modules/_sqlite/
Dconnection.c44 … 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 …]
Dmodule.c56 PyObject* isolation_level; in module_connect() local
65 …&database, &timeout, &detect_types, &isolation_level, &check_same_thread, &factory, &cached_statem… in module_connect()
Dconnection.h56 PyObject* isolation_level; member
/external/python/cpython3/Modules/_sqlite/
Dconnection.c58 …_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 …]
Dconnection.h52 PyObject* isolation_level; member
Dmodule.c67 PyObject* isolation_level; in module_connect() local
78 &isolation_level, &check_same_thread, in module_connect()
/external/python/cpython2/Lib/sqlite3/test/
Dtransactions.py102 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")
Dregression.py235 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/
Dcomplete_statement.py6 con.isolation_level = None
/external/python/cpython3/Doc/includes/sqlite3/
Dcomplete_statement.py6 con.isolation_level = None
/external/python/cpython3/Doc/library/
Dsqlite3.rst173 .. 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/
Dsqlite3.rst167 .. 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/
Ddatabase_connection.py96 self._connection.isolation_level = None # enable autocommit
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b1.rst1076 Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based
D3.5.3rc1.rst1077 Fixed possible bugs when setting sqlite3.Connection.isolation_level. Based