[ wxwindows-Bugs-1576746 ] Assign sqlDataType when using wxDb::ExecSql
SourceForge.net
noreply at sourceforge.net
Fri Oct 13 11:15:09 PDT 2006
Bugs item #1576746, was opened at 2006-10-13 12:15
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=1576746&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: Trivial
Status: Open
Resolution: None
Priority: 5
Submitted By: Mario Velasco (marioavs)
Assigned to: Nobody/Anonymous (nobody)
Summary: Assign sqlDataType when using wxDb::ExecSql
Initial Comment:
It's useful to get sqlDataType of the wxDbColInf when
using:
bool ExecSql(const wxString &pSqlStmt, wxDbColInf
**columns, short &numcols)
I don't know how to make a patch, but I would like to
help and I don't want to do this every time I update
wxWidgets.
For wxWidgets-2.7.1, add the next line of code in
src/common/db.cpp, line 2307, before "switch(Sqllen)":
pColInf[colNum].sqlDataType = Sqllen;
Then you'll have sqlDataType information of the
returned columns.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1576746&group_id=9863
More information about the wx-dev
mailing list