<span class="gmail_quote">2006/10/13, Timo Sirainen <<a href="mailto:tss@iki.fi">tss@iki.fi</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
On Fri, 2006-10-13 at 22:42 +0200, Chaos Engine wrote:<br>> On my Gentoo box until today I<br>> had dovecot-1.0_rc7 and used following entry in /etc/dovecot/dovecot-sql.conf<br>><br>> password_query = call Authorize('%u', '%n', '%d')
<br>><br>> Simply put dovecot is calling my mysql stored routine which handles<br>> authorization. Until today, when I updated dovecot to dovecot-1.0_rc8<br>> it worked flawlessly. With this version executing stored proc dies
<br>> with:<br>><br>> Password query failed: PROCEDURE mailsql.Authorize can't return a<br>> result set in the given context<br>><br>> Replacing stored proc call with select .... statement does the thing,
<br>> but it's stored procedures are ... generally better to do things on DB<br>> imvho :-)<br>> Downgrading to dovetot-1.0_rc7 fixes the problem immediately. Of<br>> course /etc/dovecot/dovecot.conf remains the same in either case.
<br>> Is this a bug or change made on purpose?<br><br>Are you sure the difference is between the changes in Dovecot and not in<br>some gentoo compile/link flags? Such as a different mysql library.</blockquote><div><br>
I'm pretty sure. I haven't changed my previous compile flags (Gentoo USE flags). To tell the truth I haven't found any word of using stored procedures in mysql authorization; but it worked. I haven't touched MySQL or its libs, only upgraded dovecot.
</div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
I don't think I've changed anything related to that between rc7 and rc8.<br><br></blockquote><br>-- <br>Chaos greets U