summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2002-04-19 11:38:58 +0300
committermonty@tik.mysql.fi <>2002-04-19 11:38:58 +0300
commitf98bf0a06514fbdefa4f4fe9a8cd98aefb83f266 (patch)
tree1e065b7fbdf7cec94c3a43a15aa1c44cf4840eb4
parentbaa297b7895d611f267f26969e1dd325193af7bd (diff)
downloadmariadb-git-f98bf0a06514fbdefa4f4fe9a8cd98aefb83f266.tar.gz
Fixed bug in @@unknown_variable
-rw-r--r--sql/item_func.cc2
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(&current_thd->net, ER_UNKNOWN_SYSTEM_VARIABLE, name);
+ net_printf(&current_thd->net, ER_UNKNOWN_SYSTEM_VARIABLE, name.str);
return 0;
}