Re: [Dovecot] Bug in driver-mysql.c + fix

2010-03-10 Thread Timo Sirainen
Sorry, been busy + also this mail somehow got marked as read. On Fri, 2010-03-05 at 23:44 +, Alain Williams wrote: I tried to use MySQL stored procedures from dovecot: password_query = CALL user_pass_check('%n', '%d', '%w') user_query = CALL user_info('%n', '%d') This

Re: [Dovecot] Bug in driver-mysql.c + fix

2010-03-10 Thread Alain Williams
On Wed, Mar 10, 2010 at 04:23:23PM +0200, Timo Sirainen wrote: On Wed, 2010-03-10 at 16:18 +0200, Timo Sirainen wrote: password_query = CALL user_pass_check('%n', '%d', '%w') user_query = CALL user_info('%n', '%d') This failed with the message: User query failed:

Re: [Dovecot] Bug in driver-mysql.c + fix

2010-03-10 Thread Alain Williams
On Wed, Mar 10, 2010 at 04:18:19PM +0200, Timo Sirainen wrote: On Fri, 2010-03-05 at 23:44 +, Alain Williams wrote: ... This failed with the message: User query failed: PROCEDURE imap.user_info can't return a result set in the given context I thought it was possible to avoid

[Dovecot] Bug in driver-mysql.c + fix

2010-03-05 Thread Alain Williams
I tried to use MySQL stored procedures from dovecot: password_query = CALL user_pass_check('%n', '%d', '%w') user_query = CALL user_info('%n', '%d') This failed with the message: User query failed: PROCEDURE imap.user_info can't return a result set in the given context