Twisted Sybase SQL Anywhere
Read OriginalThe article details the thread-safety issues in the official SQL Anywhere Python driver (sqlanydb) when used with Twisted's adbapi, causing crashes and segmentation faults. It offers two solutions: limiting the database pool to one thread or using unixODBC with pyodbc, including configuration tips. It also discusses related problems with older unixODBC versions and a semaphore leak bug later fixed in SQL Anywhere 12.0.1.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet