[Kde-pim] Akonadi and Plasma Active
Marco Martin
notmart at gmail.com
Fri Jan 25 15:50:08 UTC 2013
On Friday 25 January 2013, Volker Krause wrote:
> I know that pretty much the same approach works fine in an other project
> which uses Sqlite and PostgreSQL, so both can - in theory - handle prepared
> queries. For PostgreSQL it also doesn't seem to be causing issues with
> Akonadi, Till is using it on Mac for example. The special thing about
> Sqlite in Akonadi is the thread safety patches we had to add on top.
>
> So, what I could imagine is an active query object causes a lock to be held
> somewhere, which would be released in the dtor. Obviously, anything like
> that breaks with the caching.
>
> Marco's patch looks good to me, definitely the safe place to add this
> check. We'd need to check where the cache is used to see what other
> options we have (keep in mind the auto-generated code!).
ok, do you think can be pushed? also, where? 1.9? master?
Cheers,
Marco Martin
More information about the Active
mailing list