D17877: Handle query prepare errors in QueryBuilder::exec

Modestas Vainius noreply at phabricator.kde.org
Sun Dec 30 18:32:57 GMT 2018


modax created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
modax requested review of this revision.

REVISION SUMMARY
  It is way better to handle these errors here as early as possible. It
  means seeing error descriptions which actually make sense (in e.g. SQLite
  case, when SQLite limits or syntax errors are hit) and probably it should
  help to avoid nasty crashes later on in exec() phase.

REPOSITORY
  R165 Akonadi

BRANCH
  bug/querybuilder-exec-prepare-errorhandling

REVISION DETAIL
  https://phabricator.kde.org/D17877

AFFECTED FILES
  src/server/storage/querybuilder.cpp

To: modax
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181230/55f30a0d/attachment.html>


More information about the kde-pim mailing list