-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114523/
-----------------------------------------------------------

Review request for Telepathy.


Repository: libkpeople


Description
-------

There is said nothing about kpeople dependency on akonadi sqlite driver. At 
same time, it's said that QMYSQL driver is strongly recommend as Akonadi 
database backend, so (imo) there is much chance that qsqlite3 driver isn't 
presented on system, even is akonadi is.
Currently this case isn't handled at all. Library is making visible that all 
works, while it didn't. E.g. it return "success" result for 
PersonManager::mergeContacts() and PersonManager::unmergeContact(), even if it 
fails to update base. It causes strange behavior in clients app.

Proposed change introduce fallback to QSQLITE, as lesser evil.

P.S.: It's hard to understand that QSQLITE3 is correct driver, provided by 
akonadi. Prefixed with Q instead of K it reject all ideas about kde-relation, 
while Qt documentation says that driver for SQLite 3 is just "QSQLITE".
If it worth it, may be someone merge changes to upstream "QSQLITE" driver?


Diffs
-----

  src/personmanager.cpp fd03ba7 

Diff: http://git.reviewboard.kde.org/r/114523/diff/


Testing
-------

All works good without QSQLITE3 driver. I can't find any issues.


Thanks,

Alexandr Akulich

_______________________________________________
KDE-Telepathy mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-telepathy

Reply via email to