[Qt-interest] QSQLITE and Network Shares
Israel Brewster
israel at frontierflying.com
Wed Nov 11 00:36:22 CET 2009
Running Mac OS X 10.5, Qt 4.5.2. I am having a problem using
QSqlDatabase with the SQLITE driver if the database file is located on
a network share. The database opens fine, being created if it doesn't
exist (QSqlDatabase::open returns true), but as soon as I try to do
anything with the database (such as select) I get an error saying
"database is locked Unable to execute statement" - this happens even
if the database file didn't exist prior to the call to open, which
takes place immediately before the attempted SQL execution. If I use
the command line version of SQLite on the same file, it works fine.
Also, the same file, if moved to a local directory, works - the
problem only occurs when the database is on a network share.. What can
I do to fix this issue? Thanks.
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091110/e81e245e/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091110/e81e245e/attachment.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091110/e81e245e/attachment-0001.html
More information about the Qt-interest-old
mailing list