[python-win32] adodbapi: using prepared statements
Vernon Cole
vernondcole at gmail.com
Sat May 26 06:03:12 CEST 2012
{Sorry about the slow response... I had to go drive an ambulance...}
You could try shortcutting the code in _buildADOparamteterList() to always
execute the "except:" clause (around line 941). I suspect that the same
error will persist -- but maybe not. (Aren't you glad you have source
code?)
--
Vernon
On Fri, May 25, 2012 at 4:06 PM, Alan Trick <atrick at tri-tech.com> wrote:
> On Fri, May 25, 2012 at 2:53 PM, Vernon Cole <vernondcole at gmail.com>
> wrote:
> > Try setting adodbapi.adodbapi.verbose = 4 and see if that sheds any
> light.
> > Particularly look for the line that specifies 'error in COM Refresh(), so
> > adodbapi is building a parameter list'.
>
> I already tried debugging it to get a gist of what it's doing and it
> does not hit that line, so I guess the provider must be pretending to
> support parametrized queries. Is there some way that I can force
> adodbapi to build the parameter list?
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20120525/5e868a11/attachment-0001.html>
More information about the python-win32
mailing list