1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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
This commit is contained in:
jcole@tetra.spaceapes.com
2001-03-02 05:03:18 -06:00
parent f78adcc202
commit ab60ef6d81
24 changed files with 25 additions and 2 deletions

View File

@ -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