[Akonadi] [Bug 391783] Akonadi is causing thousands of QSqlDatabase warnings

Albert Astals Cid bugzilla_noreply at kde.org
Thu Mar 15 16:39:39 GMT 2018


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/ako
                   |                            |nadi/02445c3022c96c4cf87340
                   |                            |34ec49c0cb9b05d1ea
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Albert Astals Cid <aacid at kde.org> ---
Git commit 02445c3022c96c4cf8734034ec49c0cb9b05d1ea by Albert Astals Cid, on
behalf of Allan Sandfeld Jensen.
Committed on 15/03/2018 at 16:39.
Pushed by aacid into branch 'master'.

Fix QSqlQuery warnings

Summary:
A default constructed QSqlQuery is not a passive null-value but a
query prepared for the default database which may not be allowed
in the current thread. Instead try connecting to the akonadi default
database.

Reviewers: mlaurent, dvratil

Reviewed By: dvratil

Subscribers: dvratil, ngraham, #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D11273

M  +4    -4    src/server/handler/fetchhelper.cpp
M  +2    -2    src/server/handler/list.cpp
M  +2    -1    src/server/storage/querybuilder.cpp

https://commits.kde.org/akonadi/02445c3022c96c4cf8734034ec49c0cb9b05d1ea

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list