1mysql_stmt_errno(3)           MariaDB Connector/C          mysql_stmt_errno(3)
2
3
4
5   Name
6       mysql_stmt_errno - Returns error code for the last statement error
7
8   Synopsis
9              #include <mysql.h>
10
11              unsigned int mysql_stmt_errno(MYSQL_STMT * stmt);
12
13   Description
14       Returns the error code for the most recently invoked statement function
15       that can succeed or fail.
16
17   Parameter
18       • stmt  -  a  statement  handle,  which  was  previously  allocated  by
19         mysql_stmt_init(3).
20
21   Return value
22       Returns error code.  A zero value means that no error occurred.
23
24   Notes
25       • Client  error messages are listed in errmsg.h header file, server er‐
26         ror messages are listed in mysqld_error.h header file of  the  server
27         source distribution.
28
29   See Also
30mysql_stmt_error(3),
31
32mysql_stmt_sqlstate(3)
33
34
35
36Version 3.2.2                                              mysql_stmt_errno(3)
Impressum