| Issue 323: | Sybase: returning result columns in incorrect order when nulls present | |
| 1 person starred this issue and may be notified of changes. | Back to list |
table e.g.:
A B C D E F
============================
1 2 3 null null 4
results = cursor().execute('select * from table')
results.fetchone()
(1, 2, 3, 4, null, null)
results.description
('A', 'B', 'C', 'D', 'E', 'F')
I.e. zipping the description and the results assigns the wrong values.
This seems to occur especially for columns whose returned values were null (None).
|