Closed GoogleCodeExporter closed 8 years ago
I don't this is something I can do, considering some potential side effects.
You may consider examining the SQLSTATE that is part of the original error to
see if it is consistent. Your database give you a consistent error for this
condition. (What database are you using and what error do you get?)
However, it would be very easy for you to wrap the cursor class and do exactly
what you show here. The easiest way to is to create a new class that holds a
native cursor and passes all _getattr_ calls to it except for execute. If you
need an example, let me know. Perhaps I should add a wiki page for this.
Original comment by mkleehammer
on 20 May 2011 at 7:26
Original issue reported on code.google.com by
filosde...@gmail.com
on 29 Apr 2011 at 12:35