github mkleehammer/pyodbc 4.0.5
Decode non-ASCII column names. Rollback in with clause

latest releases: 5.1.0, 5.0.1, 5.0.0...
7 years ago

Fix decoding of Cursor.description column names. Fixes #190 - The issue was a column alias with an i with acute which caused an error. pyodbc now (1) uses the Unicode version of SQLDescribeColumn and (2) uses the configured SQL_C_WCHAR encoding. I've added SQL Server test decode_meta for this.

When a connection is used in a with clause (as a context manager), the connection has always been committed if successful. However, when an exception is raised it now issues a specific rollback. In the past neither was performed if an exception was raised.

Don't miss a new pyodbc release

NewReleases is sending notifications on new releases.