summaryrefslogtreecommitdiff
path: root/include/errmsg.h
diff options
context:
space:
mode:
authormonty@mysql.com/narttu.mysql.fi <>2007-04-13 01:56:22 +0300
committermonty@mysql.com/narttu.mysql.fi <>2007-04-13 01:56:22 +0300
commit6e8b72a6bbc0bcb8a373141eb57fe82a17e59a32 (patch)
tree2eec82067ee6e913dcb025424b04b00c7e81c1cf /include/errmsg.h
parent4a065f5f60aa4dc2738c59c0e06878d738dda017 (diff)
downloadmariadb-git-6e8b72a6bbc0bcb8a373141eb57fe82a17e59a32.tar.gz
Added more descriptive error message of why statement was automaticly dropped
Print information if net_clear() skipped bytes (As this otherwise hides critical timeing bugs) Added DBUG_ASSERT if we get packets out of order mysql_change_user() could on error send multiple packets, which caused mysql_client_test to randomly fail
Diffstat (limited to 'include/errmsg.h')
-rw-r--r--include/errmsg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/errmsg.h b/include/errmsg.h
index e4d20b061a5..e7b59ca8bd7 100644
--- a/include/errmsg.h
+++ b/include/errmsg.h
@@ -95,6 +95,7 @@ extern const char *client_errors[]; /* Error messages */
#define CR_NO_RESULT_SET 2053
#define CR_NOT_IMPLEMENTED 2054
#define CR_SERVER_LOST_EXTENDED 2055
-#define CR_ERROR_LAST /*Copy last error nr:*/ 2055
+#define CR_STMT_CLOSED 2056
+#define CR_ERROR_LAST /*Copy last error nr:*/ 2056
/* Add error numbers before CR_ERROR_LAST and change it accordingly. */