Lines Matching refs:isolation_level

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()
159 Py_DECREF(isolation_level); in pysqlite_connection_init()
288 Py_XDECREF(self->isolation_level); in pysqlite_connection_dealloc()
1122 Py_INCREF(self->isolation_level); in pysqlite_connection_get_isolation_level()
1123 return self->isolation_level; in pysqlite_connection_get_isolation_level()
1135 …c int pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* isolation_level) in pysqlite_connection_set_isolation_level() argument
1141 Py_XDECREF(self->isolation_level); in pysqlite_connection_set_isolation_level()
1148 if (isolation_level == Py_None) { in pysqlite_connection_set_isolation_level()
1150 self->isolation_level = Py_None; in pysqlite_connection_set_isolation_level()
1160 Py_INCREF(isolation_level); in pysqlite_connection_set_isolation_level()
1161 self->isolation_level = isolation_level; in pysqlite_connection_set_isolation_level()
1167 PyString_Concat(&begin_statement, isolation_level); in pysqlite_connection_set_isolation_level()