Skip to content
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

Incorrect functions called to get error info when mysql_stmt_close fails #41

Closed
smradCZ opened this issue Nov 15, 2017 · 0 comments · Fixed by #45
Closed

Incorrect functions called to get error info when mysql_stmt_close fails #41

smradCZ opened this issue Nov 15, 2017 · 0 comments · Fixed by #45

Comments

@smradCZ
Copy link
Contributor

smradCZ commented Nov 15, 2017

When mysql_stmt_close() fails the information about error should be obtained from mysql_error()/mysql_errno() calling instead of mysql_stmt_error()/mysql_stmt_errno().

The only occurrence in code base is located in include/superior_mysqlpp/low_level/dbdriver.hpp in method Statement::close().

See https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-close.html for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant