Commit: 894363ba722b872eb26a6e5c1bfbe1de9a2fdf45
Parent: d57b8fa99ddb090fb5cc07f85ff3b4a906eb6d28
Author: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:31
Tree: 267f0d59fa10b9fb168f74187bd8f51ac0224042

obexd: Optimize tracker queries for PBAP Now data from tracker is fetched without redundand fields. Also determining which type has phone, address and email (work or home) is done in backend code - no tracker sub-query is used for that case. Now queries are about 6 times faster for any amount of data( call history queries, which were heavy loaded with OPTIONAL sub-queries are even 10 times faster than before)

Diffstat

M obexd/plugins/phonebook-tracker.c | 514 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 166 insertions(+), 348 deletions(-)

View Full Diff | Patch