[Qt-interest] QSQLITE - Driver question

Jan janusius at gmx.net
Wed Dec 30 10:26:05 CET 2009


Hi,

what exactly is "it sets an error condition"? Maybe it is an QSqlError 
of type NoError?

Jan

Mike Davis schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi All,
> I'm brand new to this mailing list but a long time user of Qt. Have a
> question, hope this is the right place!
> 
> My application is a Qt 4.6.0 application on Windows built with MinGW.
> When I create an SQLite table using QSqlDatabase::exec, it sets an error
> condition even though the operation succeeds. db.lastError()->text() is
> empty though.
> 
> Is this normal for the QSQLITE driver? I don't want to ignore it if
> there is a way to make it act appropriately. When working with
> PostgreSQL I have not experienced this problem.
> 
> Any insights?
> 
> Mike Davis
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.12 (MingW32)
> 
> iEYEARECAAYFAks68IsACgkQyv8e+QfNYNsIYQCfSEnITUE9Vxc9B9K9xhPqeRDk
> A4cAoI6NQb7xVB6Qeh+MZ1QURZmSGIaP
> =cJZv
> -----END PGP SIGNATURE-----
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 



More information about the Qt-interest-old mailing list