diff options
| author | Gerhard Häring <gh@ghaering.de> | 2008-09-12 18:58:57 +0000 |
|---|---|---|
| committer | Gerhard Häring <gh@ghaering.de> | 2008-09-12 18:58:57 +0000 |
| commit | 6e1afcf9883f13bdf8808dc528e381f5c90a131b (patch) | |
| tree | a40283fbad084a0d1cb378ce349a0e707fef1b17 /Modules/_sqlite/statement.c | |
| parent | ef2276b60d2345af49c8268f3a23feb59f5ecc38 (diff) | |
| download | cpython-git-6e1afcf9883f13bdf8808dc528e381f5c90a131b.tar.gz | |
Fixes issue #3103. In the sqlite3 module, made one more function static. All renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.
Diffstat (limited to 'Modules/_sqlite/statement.c')
| -rw-r--r-- | Modules/_sqlite/statement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/statement.c b/Modules/_sqlite/statement.c index 0e7766804d..dae83d4586 100644 --- a/Modules/_sqlite/statement.c +++ b/Modules/_sqlite/statement.c @@ -250,7 +250,7 @@ void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* para if (!_need_adapt(current_param)) { adapted = current_param; } else { - adapted = microprotocols_adapt(current_param, (PyObject*)&pysqlite_PrepareProtocolType, NULL); + adapted = pysqlite_microprotocols_adapt(current_param, (PyObject*)&pysqlite_PrepareProtocolType, NULL); if (adapted) { Py_DECREF(current_param); } else { @@ -295,7 +295,7 @@ void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* para if (!_need_adapt(current_param)) { adapted = current_param; } else { - adapted = microprotocols_adapt(current_param, (PyObject*)&pysqlite_PrepareProtocolType, NULL); + adapted = pysqlite_microprotocols_adapt(current_param, (PyObject*)&pysqlite_PrepareProtocolType, NULL); if (adapted) { Py_DECREF(current_param); } else { |
