[Kde-pim] Akonadi and Plasma Active

Wolfgang Rohdewald wolfgang at rohdewald.de
Thu Jan 24 15:13:44 UTC 2013


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


More information about the Active mailing list