[PyQt] Bug in QSqlQuery.bindValue() ?

Lorenz Quack don at amberfisharts.com
Thu May 13 22:39:02 BST 2010


Hi,

I'm experiencing strange behaviour to the point where I suspect a bug in PyQt4.
When I bind a value to a named placeholder in a prepared SqlQuery and that placeholder occures more than once, than not 
all (only the last?) occurances are bound correctly.
I'll attach an example demonstrating the problem.

sincerely yours
//Lorenz

PS: PyQt4 version: 4.7.3
     Python version: 2.6.5
     Qt verstion: 4.6.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sql_bug.py
Type: text/x-python
Size: 954 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100513/548c3188/attachment.py>


More information about the PyQt mailing list