diff Modules/_sqlite/statement.c @ 49154:4c77d1016f60 legacy-trunk

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.
author Gerhard Häring <gh@ghaering.de>
date Fri, 12 Sep 2008 18:58:57 +0000
parents 52294af4b663
children 76bc75772736
line wrap: on
line diff
--- a/Modules/_sqlite/statement.c	Fri Sep 12 13:54:06 2008 +0000
+++ b/Modules/_sqlite/statement.c	Fri Sep 12 18:58:57 2008 +0000
@@ -250,7 +250,7 @@
             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 @@
             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 {