[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Akonadi and Plasma Active
From:       Wolfgang Rohdewald <wolfgang () rohdewald ! de>
Date:       2013-01-24 15:13:44
Message-ID: 25199784.A74FNVjFXH () i5
[Download RAW message or body]

On Thursday 24 January 2013 16:04:20 Marco Martin wrote:
> quite interesting finding:
> in querybuilder.cpp, always there
> 
>  if ( QueryCache::contains( statement ) ) {
>     mQuery = QueryCache::query( statement );
>   } else {
>     mQuery.prepare( statement );
>     QueryCache::insert( statement, mQuery );
>   }
> 
> if i make the else branch to always execute (ie never using the cache) it's 
> still broken.
> but, if i disable also QueryCache::insert( statement, mQuery );
> so never inserting anything in the cache, all starts to work normally again.
> ie even just saving those prepared queries somewhere makes it fail.
> 
> another interesting behavior: when is giving those problems, even akonadictl 
> stop won't work, leaving all processes hang (will be necessary to kill them 
> manually)
> 
> disabling the cache completely, it stops everything correctly.

sounds like the destructor does something necessary which 
does not happen as long as the statement has a reference in cache

-- 
Wolfgang
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic