summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@tik.mysql.fi>2002-04-19 11:38:58 +0300
committerunknown <monty@tik.mysql.fi>2002-04-19 11:38:58 +0300
commit8855c5c7914fd6acff1d8d041f1699f93fd07f4b (patch)
tree1e065b7fbdf7cec94c3a43a15aa1c44cf4840eb4
parentc104b350b2c4ca91ec5720f5e93c1c031b0de1a9 (diff)
downloadmariadb-git-8855c5c7914fd6acff1d8d041f1699f93fd07f4b.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;
}