summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-12-15 01:37:22 +0300
committerunknown <konstantin@mysql.com>2004-12-15 01:37:22 +0300
commit83fce55a3ae79c0033e372cb7ec48a3248307d6e (patch)
treef6691f78f66d284205393bb523fdc5586ae82c81 /include/errmsg.h
parentd9b62f824b15803a1474e29314967b5118481b5f (diff)
downloadmariadb-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/errmsg.h')
-rw-r--r--include/errmsg.h1
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