[ wxwindows-Bugs-1539872 ] wxDbTable::Select() - FROM statement is
appended without ', '
SourceForge.net
noreply at sourceforge.net
Mon Aug 14 02:11:30 PDT 2006
Bugs item #1539872, was opened at 2006-08-14 11:11
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=1539872&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::Select() - FROM statement is appended without ','
Initial Comment:
When using the wxDbTable::Select() combined with the
wxDbTable::SetFromClause(_from) this clause is
appended to the search string without a comma separation.
[wxWidgets 2.6.3]
Suggested solution:
In function
void wxDbTable::BuildSelectStmt(wxString &pSqlStmt, int
typeOfSelect, bool distinct)
change (line 1122f)
if (appendFromClause)
pSqlStmt += from;
to
if (appendFromClause) {
pSqlStmt += ", ";
pSqlStmt += from;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1539872&group_id=9863
More information about the wx-dev
mailing list