[ wxwindows-Bugs-1540012 ] wxDbTable::bindCols -return value of SQLBindCol is discarded

SourceForge.net noreply at sourceforge.net
Mon Aug 14 07:23:09 PDT 2006


Bugs item #1540012, was opened at 2006-08-14 16:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1540012&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Database
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Lars Offen (lars_offen)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxDbTable::bindCols -return value of SQLBindCol is discarded

Initial Comment:
In the function wxDbTable::bindCols(HSTMT cursor)
the deferred input/output value (StrLen_or_IndPtr) of 
the SQLBindCol excecution is discarded by binding it 
to a static variable. Maybe it should be bound to
colDefs[i].CbValue as in wxDbTable::bindParams to 
handle return of 'NULL' values correct.

[wxWidgets 2.6.3]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1540012&group_id=9863




More information about the wx-dev mailing list