[Bug 311542] New: Same SQL queries performed multiple times when fetching one email

Alex Richardson arichardson.kde at googlemail.com
Tue Dec 11 20:06:44 GMT 2012


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

            Bug ID: 311542
          Severity: normal
           Version: 4.10
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: Same SQL queries performed multiple times when
                    fetching one email
    Classification: Unclassified
                OS: Linux
          Reporter: arichardson.kde at googlemail.com
          Hardware: openSUSE RPMs
            Status: NEW
         Component: general
           Product: Akonadi

I enabled logging SQL queries for MySQL and saw that whenever I click on an
email in kontact lots of SQL queries are being performed. After looking at the
log I saw that they were also very similar/identical.
There is only one unique SELECT, the others are being performed at least twice.
Also atime ist updated three times (Also why is this stored anyway? I don't see
any reason for it, but I may be wrong)

The attached files contain the log for opening one email

Reproducible: Always

Steps to Reproduce:
1. Open an email in kontact
2. View MySQL log file
Actual Results:  
Duplicate queries

Expected Results:  
Every query should only be performed once

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



More information about the Kdepim-bugs mailing list