Not consisent result about mysql_stmt_execute and mysql_stmt_errno.
Posted by: hello okay
Date: June 29, 2022 04:54AM

Mysql version: 8.0.18

What's the reason of the result of mysql_stmt_execute not equal zero, but mysql_stmt_errno return zero?

According to doc, https://dev.mysql.com/doc/c-api/8.0/en/mysql-stmt-errno.html,
An error code value. Zero if no error occurred.

If result of mysql_stmt_execute not equal zero, it means fail to call mysql_stmt_execute, but mysql_stmt_errno return zero, this conflicts.

Options: ReplyQuote


Subject
Views
Written By
Posted
Not consisent result about mysql_stmt_execute and mysql_stmt_errno.
470
June 29, 2022 04:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.