diff options
author | unknown <konstantin@mysql.com> | 2004-12-15 01:37:22 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-12-15 01:37:22 +0300 |
commit | 83fce55a3ae79c0033e372cb7ec48a3248307d6e (patch) | |
tree | f6691f78f66d284205393bb523fdc5586ae82c81 /include | |
parent | d9b62f824b15803a1474e29314967b5118481b5f (diff) | |
download | mariadb-git-83fce55a3ae79c0033e372cb7ec48a3248307d6e.tar.gz |
A fix of return value of mysql_stmt_bind_result() and cleanup.
include/errmsg.h:
New libmysql error status code CR_NO_STMT_METADATA
libmysql/errmsg.c:
Error message for CR_STMT_NO_METADATA.
Adding an empty line to shorten further diffs when new error
messages are added (as suggested by Monty).
libmysql/libmysql.c:
Return error from mysql_stmt_bind_result() if the statement contains
no metadata.
A few comments fixed.
tests/client_test.c:
Tests fixed: mysql_stmt_bind_result now returns error if there is no
metadata.
Diffstat (limited to 'include')
-rw-r--r-- | include/errmsg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/errmsg.h b/include/errmsg.h index 6115b24a3d8..96977227666 100644 --- a/include/errmsg.h +++ b/include/errmsg.h @@ -90,3 +90,4 @@ extern const char *client_errors[]; /* Error messages */ #define CR_SECURE_AUTH 2049 #define CR_FETCH_CANCELED 2050 #define CR_NO_DATA 2051 +#define CR_NO_STMT_METADATA 2052 |