[Digikam-devel] [Bug 235928] digikam fails to open database at startup

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu May 13 14:44:47 BST 2010


https://bugs.kde.org/show_bug.cgi?id=235928





--- Comment #38 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-05-13 15:44:41 ---
SVN commit 1126274 by mwiesweg:

Fix bug where logic was reverted.
As there is no such thing as a null QSqlQuery, pass only the query text
and the last error to the error handler.

CCBUG: 235928

 M  +5 -5      digikam/databaseguierrorhandler.cpp  
 M  +2 -2      digikam/databaseguierrorhandler.h  
 M  +3 -3      libs/database/databaseerrorhandler.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1126274

--- Comment #39 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-05-13 15:44:42 ---
SVN commit 1126275 by mwiesweg:

Fix various bugs with SQL error handling:
For SQLite, there is no sense in trying to close database and reconnect. In
fact, the database
will open again, but remain locked in this case, so that all subsequent
statements fail.
Limit connection error handling to MySQL.
Restructure query error handling, reuse code.

CCBUG: 235928

 M  +62 -59    databasecorebackend.cpp  
 M  +10 -1     databasecorebackend.h  
 M  +8 -7      databasecorebackend_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1126275

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list