Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_sqlite/
Dstatement.c58 PyObject* sql_str; in pysqlite_statement_create() local
65 sql_str = sql; in pysqlite_statement_create()
66 Py_INCREF(sql_str); in pysqlite_statement_create()
68 sql_str = PyUnicode_AsUTF8String(sql); in pysqlite_statement_create()
69 if (!sql_str) { in pysqlite_statement_create()
77 sql_cstr = PyString_AS_STRING(sql_str); in pysqlite_statement_create()
78 if (strlen(sql_cstr) != (size_t)PyString_GET_SIZE(sql_str)) { in pysqlite_statement_create()
79 Py_DECREF(sql_str); in pysqlite_statement_create()
85 self->sql = sql_str; in pysqlite_statement_create()