My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 226: Multiple INTs in a Select produce 'HY000' - The driver did not supply a message
1 person starred this issue and may be notified of changes. Back to list
Status:  Complete
Owner:  ----
Closed:  Dec 2011


 
Reported by nathanpe...@gmail.com, Dec 22, 2011
What steps will reproduce the problem?
1. Create a table with two integer rows
2. SELECT int_row1, int_row2 FROM table
3. cursor.fetchall() / cursor.fetchone()

What is the expected output? What do you see instead?
I expect a row list or single object with the two queried integers; however, a 'HY000' exception is thrown on the line with the fetch call

What version of the product are you using? On what operating system?
 SUSE Linux Enterprise Server 10 (x86_64)
 pyodbc-2.1.11-py2.5
 freetds .91
 SQLSERVER 2005

Please provide any additional information below.
 I also remember getting the error if I tried a select where a datetime column was anything but the FIRST column named in the SELECT statement

Dec 23, 2011
Project Member #1 mkleehammer
Works in 3.0.2-beta05.  Updated one of the FreeTDS unittests in 3.0.2-beta06 to include two integers.

Status: Complete

Powered by Google Project Hosting