-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unable to commit transaction" when running a CALL in Sendmail.conf #639
Milestone
Comments
And the fix: Because of nature of the CALL statement, there is residual return data that needs to be consumed before another query can be made. See https://bugs.mysql.com/bug.php?id=71044 My fix was to add the line:
after
(line 158 of The change works regardless of the type of query (SELECT or CALL). |
quanah
added a commit
to quanah/cyrus-sasl
that referenced
this issue
Oct 12, 2021
Signed-off-by: Quanah Gibson-Mount <[email protected]>
quanah
added a commit
to quanah/cyrus-sasl
that referenced
this issue
Oct 12, 2021
Signed-off-by: Quanah Gibson-Mount <[email protected]>
quanah
added a commit
to quanah/cyrus-sasl
that referenced
this issue
Oct 12, 2021
Signed-off-by: Quanah Gibson-Mount <[email protected]>
quanah
added a commit
to quanah/cyrus-sasl
that referenced
this issue
Oct 13, 2021
Signed-off-by: Quanah Gibson-Mount <[email protected]>
quanah
added a commit
that referenced
this issue
Oct 14, 2021
Signed-off-by: Quanah Gibson-Mount <[email protected]>
quanah
added a commit
that referenced
this issue
Oct 14, 2021
Signed-off-by: Quanah Gibson-Mount <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm bringing this over from cyrusimap/cyrus-imapd#2792 at the urging of @dilyanpalauzov.
I won't recapitulate the entire thread; here's the gist:
Hi,
I'm using cyrus-sasl-sql 2.1.27 on FreeBSD 11 and 12 and builtin sendmail.
I use Cyrus SASL to authenticate SMTP users.
My /usr/local/lib/sasl2/Sendmail.conf looks like:
When inbound SMTP users perform a LOGIN my auth.log is populated with:
Note that the query succeeds and everything works. I'm wondering if using a stored procedure and a CALL (which I do) is interacting poorly with the ./plugins/sql.c code (which I assume is normally called with an SQL SELECT statement).
I have tried two variants of the stored procedure:
AND
I think the final "settings->sql_engine->sql_commit_txn" in ./plugins/sql.c is perhaps the culprit.
The text was updated successfully, but these errors were encountered: