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 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
Status:  New
Owner:  ----


 
Reported by wil...@gmail.com, May 20, 2013
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).

Powered by Google Project Hosting