Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_sqlite/
Dstatement.c210 const char* binding_name; in pysqlite_statement_bind_parameters() local
276 binding_name = sqlite3_bind_parameter_name(self->st, i); in pysqlite_statement_bind_parameters() local
278 if (!binding_name) { in pysqlite_statement_bind_parameters()
283 binding_name++; /* skip first char (the colon) */ in pysqlite_statement_bind_parameters()
285 current_param = PyDict_GetItemString(parameters, binding_name); in pysqlite_statement_bind_parameters()
288 current_param = PyMapping_GetItemString(parameters, binding_name); in pysqlite_statement_bind_parameters()
312 …pysqlite_InterfaceError, "Error binding parameter :%s - probably unsupported type.", binding_name); in pysqlite_statement_bind_parameters()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c221 const char* binding_name; in pysqlite_statement_bind_parameters() local
285 binding_name = sqlite3_bind_parameter_name(self->st, i); in pysqlite_statement_bind_parameters() local
287 if (!binding_name) { in pysqlite_statement_bind_parameters()
292 binding_name++; /* skip first char (the colon) */ in pysqlite_statement_bind_parameters()
294 current_param = PyDict_GetItemString(parameters, binding_name); in pysqlite_statement_bind_parameters()
297 current_param = PyMapping_GetItemString(parameters, (char*)binding_name); in pysqlite_statement_bind_parameters()
321 …pysqlite_InterfaceError, "Error binding parameter :%s - probably unsupported type.", binding_name); in pysqlite_statement_bind_parameters()