summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-03-16 20:55:51 +0200
committerbell@sanja.is.com.ua <>2004-03-16 20:55:51 +0200
commit8a1675c8692919d08c9e763158046b63a3e5cba1 (patch)
tree10aea622fc428d7cfeda240ba3e5762a21c45aa5 /sql/item_func.cc
parent293bb8fee7017d2f25abc6a470c09a42bf90da8a (diff)
parent574b6acb0cec4708b9141915372781e143d4b5ac (diff)
downloadmariadb-git-8a1675c8692919d08c9e763158046b63a3e5cba1.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-rand-4.1
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index ae7a53951b1..99fa85b4870 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -2973,12 +2973,6 @@ Item *get_system_var(THD *thd, enum_var_type var_type, LEX_STRING name,
(uint) strlen(server_version),
system_charset_info);
- if (name.str && component.str && check_reserved_words(&name))
- {
- net_printf(thd, ER_SYNTAX_ERROR);
- return 0;
- }
-
Item *item;
sys_var *var;
char buff[MAX_SYS_VAR_LENGTH*2+4+8], *pos;