Re: [Dovecot] Problem with stored procedure

2009-11-17 Thread Fcuk F
thanks for the reply Seth. I will try to change my procedure.

On Mon, Nov 16, 2009 at 10:25 PM, Seth Mattinen se...@rollernet.us wrote:

 Fcuk F wrote:

 Hi  Timo/all

 I am trying to use stored procedure for password query when it try to
 connect i get authenticated only for the first user after that for
 subsequent user it gives me this error.

 Password query failed: Commands out of sync; you can't run this command
 now


 That message is from MySQL. If your stored procedure returns more than one
 dataset you'll get that error.

 ~Seth



Re: [Dovecot] Problem with stored procedure

2009-11-16 Thread Seth Mattinen

Fcuk F wrote:

Hi  Timo/all

I am trying to use stored procedure for password query when it try to
connect i get authenticated only for the first user after that for
subsequent user it gives me this error.

Password query failed: Commands out of sync; you can't run this command now



That message is from MySQL. If your stored procedure returns more than 
one dataset you'll get that error.


~Seth