[Qt-interest] Interbase and QSqlQuery::prepare issues
Bill King
bill.king at nokia.com
Wed Oct 21 07:35:25 CEST 2009
On 10/21/2009 02:10 PM, ext Adam M wrote:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
It is one now. I'll do a quick autotest tommorow and if it fails, I'll
add it to the bugtracker.
--
Bill King, Software Engineer
Qt Development Frameworks, Nokia Pty Ltd
Brisbane Office
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091021/60f40d8e/attachment.html
More information about the Qt-interest-old
mailing list