Re: [cx-oracle-users] curs.bindnames ACESS_VIOLATION crash with cx_Oracle 5.0.3 unicode build on Wi
Brought to you by:
atuining
From: Henning v. B. <H.v...@t-...> - 2010-06-21 13:59:48
|
Of course, if I actually extract the code from the program to create a simple test case, then there's no crash... Sometimes I hate computers! As a workaround, I created my own version of a bindnames() routine, which is fairly simple unless you try to take care of ":" in SQL strings literals and comments. The next exception in my program now is DatabaseError: <unprintable DatabaseError object> when I expected a NO_DATA_FOUND exception. I guess I have to step back from the WITH_UNICODE version of cx_Oracle and use the str version again. > -----Ursprüngliche Nachricht----- > Von: Henning von Bargen > Gesendet: Donnerstag, 17. Juni 2010 17:29 > An: 'cx-...@li...' > Betreff: curs.bindnames ACESS_VIOLATION crash with cx_Oracle 5.0.3 unicode build on Windows Python 2.6.5 > > > > 2) The connection is from a Session Pool and it's using an InputTypeHandler as follows: > conn = dbtools.session_pool.acquire() > conn.setupConnection("something") > The last line should read: dbtools.setupConnection(conn, "something") |