diff options
author | Petri Lehtinen <petri@digip.org> | 2012-02-09 19:09:03 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2012-02-09 19:09:03 (GMT) |
commit | bc35bebb458c6d3ad74adaf0d75f5156ab89fec9 (patch) | |
tree | 727e472a4ba702f48fb42d4b7246edc529d1aa67 /Modules/_sqlite/statement.c | |
parent | f0f9679d5ce6b65f4b41f1c42b24c6ab43923a41 (diff) | |
download | cpython-bc35bebb458c6d3ad74adaf0d75f5156ab89fec9.zip cpython-bc35bebb458c6d3ad74adaf0d75f5156ab89fec9.tar.gz cpython-bc35bebb458c6d3ad74adaf0d75f5156ab89fec9.tar.bz2 |
Undocument and clean up sqlite3.OptimizedUnicode
Closes #13921.
Diffstat (limited to 'Modules/_sqlite/statement.c')
-rw-r--r-- | Modules/_sqlite/statement.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_sqlite/statement.c b/Modules/_sqlite/statement.c index cc9c310..9884860 100644 --- a/Modules/_sqlite/statement.c +++ b/Modules/_sqlite/statement.c @@ -87,7 +87,7 @@ int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* con return rc; } -int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter, int allow_8bit_chars) +int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter) { int rc = SQLITE_OK; PY_LONG_LONG longlongval; @@ -166,7 +166,7 @@ static int _need_adapt(PyObject* obj) } } -void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters, int allow_8bit_chars) +void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters) { PyObject* current_param; PyObject* adapted; @@ -220,7 +220,7 @@ void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* para } } - rc = pysqlite_statement_bind_parameter(self, i + 1, adapted, allow_8bit_chars); + rc = pysqlite_statement_bind_parameter(self, i + 1, adapted); Py_DECREF(adapted); if (rc != SQLITE_OK) { @@ -265,7 +265,7 @@ void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* para } } - rc = pysqlite_statement_bind_parameter(self, i, adapted, allow_8bit_chars); + rc = pysqlite_statement_bind_parameter(self, i, adapted); Py_DECREF(adapted); if (rc != SQLITE_OK) { |