Re: [Dovecot] dovecot 1.2: dict no longer really support DICT_ITERATE_FLAG_RECURSE

2008-10-16 Thread Timo Sirainen
On Mon, 2008-10-13 at 18:25 +0200, Bernhard Herzog wrote: > On 12.10.2008, Timo Sirainen wrote: > > I did several fixes to dict iteration. Now it should work as I intended > > (which is also hopefully how you want to use it): > > http://hg.dovecot.org/dovecot-1.2/rev/72b7277aefb3 > > Thanks. The

Re: [Dovecot] dovecot 1.2: dict no longer really support DICT_ITERATE_FLAG_RECURSE

2008-10-12 Thread Timo Sirainen
I did several fixes to dict iteration. Now it should work as I intended (which is also hopefully how you want to use it): http://hg.dovecot.org/dovecot-1.2/rev/72b7277aefb3 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] dovecot 1.2: dict no longer really support DICT_ITERATE_FLAG_RECURSE

2008-10-09 Thread Bernhard Herzog
On 09.10.2008, Timo Sirainen wrote: > On Oct 9, 2008, at 6:15 PM, Bernhard Herzog wrote: > > This probably has to do with the pattern matching for dict keys in > > the config > > file. It would be enough for my purposes at the moment -- i.e. > > getting the > > metadata plugin to work with dovecot

Re: [Dovecot] dovecot 1.2: dict no longer really support DICT_ITERATE_FLAG_RECURSE

2008-10-09 Thread Timo Sirainen
On Oct 9, 2008, at 6:15 PM, Bernhard Herzog wrote: This probably has to do with the pattern matching for dict keys in the config file. It would be enough for my purposes at the moment -- i.e. getting the metadata plugin to work with dovecot 1.2 -- if recursion were only possible for the l

[Dovecot] dovecot 1.2: dict no longer really support DICT_ITERATE_FLAG_RECURSE

2008-10-09 Thread Bernhard Herzog
Hi, In dovecot 1.1, I could use DICT_ITERATE_FLAG_RECURSE when iterating over a dict to retrieve all entries that start with a given prefix. This doesn't seem to work anymore in the new dict implementation in dovecot 1.2. Looking at the SQL queries actually generated, it seems as if dovecot 1