summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-05-12 11:16:12 +0400
committerkonstantin@mysql.com <>2005-05-12 11:16:12 +0400
commitd0e24153b9b0d6da57823b16f2575070839e0f71 (patch)
tree554b6292888722f7406c34e5af18657d1bab8645 /include
parent3c81444476cebbf34ea99dae567077ca2f1648dc (diff)
downloadmariadb-git-d0e24153b9b0d6da57823b16f2575070839e0f71.tar.gz
A fix and test case for Bug#9478 "mysql_stmt_attr_set mysql_stmt_execute"
(crash on attempt to re-execute a statement with an open cursor) + post-review fixes.
Diffstat (limited to 'include')
-rw-r--r--include/errmsg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/errmsg.h b/include/errmsg.h
index ae3b04b4f3a..fd3da392df4 100644
--- a/include/errmsg.h
+++ b/include/errmsg.h
@@ -95,6 +95,7 @@ extern const char *client_errors[]; /* Error messages */
#define CR_FETCH_CANCELED 2050
#define CR_NO_DATA 2051
#define CR_NO_STMT_METADATA 2052
-#define CR_ERROR_LAST /*Copy last error nr:*/ 2052
+#define CR_NO_RESULT_SET 2053
+#define CR_ERROR_LAST /*Copy last error nr:*/ 2053
/* Add error numbers before CR_ERROR_LAST and change it accordingly. */