diff options
author | monty@tik.mysql.fi <> | 2002-04-19 11:38:58 +0300 |
---|---|---|
committer | monty@tik.mysql.fi <> | 2002-04-19 11:38:58 +0300 |
commit | f98bf0a06514fbdefa4f4fe9a8cd98aefb83f266 (patch) | |
tree | 1e065b7fbdf7cec94c3a43a15aa1c44cf4840eb4 | |
parent | baa297b7895d611f267f26969e1dd325193af7bd (diff) | |
download | mariadb-git-f98bf0a06514fbdefa4f4fe9a8cd98aefb83f266.tar.gz |
Fixed bug in @@unknown_variable
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 6579825690f..9180cccabcf 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -2167,6 +2167,6 @@ Item *get_system_var(LEX_STRING name) if (!my_strcasecmp(name.str,"VERSION")) return new Item_string("@@VERSION",server_version, (uint) strlen(server_version)); - net_printf(¤t_thd->net, ER_UNKNOWN_SYSTEM_VARIABLE, name); + net_printf(¤t_thd->net, ER_UNKNOWN_SYSTEM_VARIABLE, name.str); return 0; } |