Lines Matching refs:isolation_level

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()
154 Py_DECREF(isolation_level); in pysqlite_connection_init()
257 Py_XDECREF(self->isolation_level); in pysqlite_connection_dealloc()
1114 Py_INCREF(self->isolation_level); in pysqlite_connection_get_isolation_level()
1115 return self->isolation_level; in pysqlite_connection_get_isolation_level()
1139 pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* isolation_level, void … in pysqlite_connection_set_isolation_level() argument
1141 if (isolation_level == NULL) { in pysqlite_connection_set_isolation_level()
1145 if (isolation_level == Py_None) { in pysqlite_connection_set_isolation_level()
1158 if (!PyUnicode_Check(isolation_level)) { in pysqlite_connection_set_isolation_level()
1161 Py_TYPE(isolation_level)->tp_name); in pysqlite_connection_set_isolation_level()
1167 isolation_level, NULL); in pysqlite_connection_set_isolation_level()
1184 Py_INCREF(isolation_level); in pysqlite_connection_set_isolation_level()
1185 Py_XSETREF(self->isolation_level, isolation_level); in pysqlite_connection_set_isolation_level()