[Qt-interest] Interbase and QSqlQuery::prepare issues
Adam M
adamm at zombino.com
Wed Oct 21 06:10:56 CEST 2009
Using Qt 4.5.3. There seems to be an issue with InterBase and
placeholders. Query like,
"SELECT * FROM foo WHERE bar = ?"
expects 1 placeholder, as expected. The query works. But have a query
with () in it and QSqlQuery,
"SELECT * FROM foo f INNER JOIN too t ON (f.a = t.a) WHERE bar = ?"
barfs with "Parameter mismatch, expected 0, for 1 parameters".
I've searched the mailing list and only came up with a very similar
issue from 2004 and Qt 3.3.3
http://lists.trolltech.com/qt-interest/2004-09/thread00535-0.html
Is this a know issue with InterBase?
- Adam
More information about the Qt-interest-old
mailing list