Home
last modified time | relevance | path

Searched refs:check_same_thread (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Modules/_sqlite/
H A Dconnection.h57 int check_same_thread; member
H A Dconnection.c169 check_same_thread: bool(accept={int}) = True
179 int check_same_thread, PyObject *factory, in pysqlite_connection_init_impl()
248 self->check_same_thread = check_same_thread; in pysqlite_connection_init_impl()
1582 if (self->check_same_thread) { in pysqlite_check_thread()
176 pysqlite_connection_init_impl(pysqlite_Connection *self, PyObject *database, double timeout, int detect_types, const char *isolation_level, int check_same_thread, PyObject *factory, int cache_size, int uri) pysqlite_connection_init_impl() argument
/third_party/python/Modules/_sqlite/clinic/
H A Dconnection.c.h9 int check_same_thread, PyObject *factory,
16 static const char * const _keywords[] = {"database", "timeout", "detect_types", "isolation_level", "check_same_thread", "factory", "cached_statements", "uri", NULL}; in pysqlite_connection_init()
26 int check_same_thread = 1; in pysqlite_connection_init() local
72 check_same_thread = _PyLong_AsInt(fastargs[4]); in pysqlite_connection_init()
73 if (check_same_thread == -1 && PyErr_Occurred()) { in pysqlite_connection_init()
100 return_value = pysqlite_connection_init_impl((pysqlite_Connection *)self, database, timeout, detect_types, isolation_level, check_same_thread, factory, cache_size, uri); in pysqlite_connection_init()
/third_party/python/Lib/test/test_sqlite3/
H A Dtest_dbapi.py1546 con = sqlite.connect(":memory:", check_same_thread=False)

Completed in 8 milliseconds