diff options
author | jcole@tetra.spaceapes.com <> | 2001-03-02 05:03:18 -0600 |
---|---|---|
committer | jcole@tetra.spaceapes.com <> | 2001-03-02 05:03:18 -0600 |
commit | ab60ef6d819f86d86d69f6ebcea4f06e23c1dadd (patch) | |
tree | 0128c94cf846ba6783f7f4f487d93c030bdd0e2a /include | |
parent | f78adcc20262f421d348e89a2252de6b508553cc (diff) | |
download | mariadb-git-ab60ef6d819f86d86d69f6ebcea4f06e23c1dadd.tar.gz |
Fixed a bug that allowed:
SET @foo=bar;
This would cause a deadlock in mysqld, it now generates the error:
ER_SET_CONSTANTS_ONLY as follows:
mysql> set @foo=bar;
ERROR 1204: You may only use constant expressions with SET
Diffstat (limited to 'include')
-rw-r--r-- | include/mysqld_error.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mysqld_error.h b/include/mysqld_error.h index d322d8cb993..4f46c40ff49 100644 --- a/include/mysqld_error.h +++ b/include/mysqld_error.h @@ -204,4 +204,5 @@ #define ER_MASTER_INFO 1201 #define ER_SLAVE_THREAD 1202 #define ER_TOO_MANY_USER_CONNECTIONS 1203 -#define ER_ERROR_MESSAGES 204 +#define ER_SET_CONSTANTS_ONLY 1204 +#define ER_ERROR_MESSAGES 205 |