[Qt-interest] qsqlite open bug ?
Stephen Collyer
scollyer at netspinner.co.uk
Wed Mar 3 16:33:08 CET 2010
Qt 4.6.1 on Opensuse 11.1
I have some code that creates/opens a Sqlite DB like so:
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE", conn_name);
db.setDatabaseName(dbname);
if (! db.open())
{
<throw an exception>
}
db.open returns false consistently, regardless of whether a file exists at
the location
specified by dbname.
db.lastError() reports "Unable to fetch row".
Is this a known bug ?
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100303/582ffaf2/attachment.html
More information about the Qt-interest-old
mailing list