Commit 779c42dd authored by Georgi Kodinov's avatar Georgi Kodinov

merge 5.0->5.0-security

parents bc35f8cd d9a768f7
...@@ -40,8 +40,6 @@ ERROR HY000: Wrong number of arguments to reverse_lookup; Use the source ...@@ -40,8 +40,6 @@ ERROR HY000: Wrong number of arguments to reverse_lookup; Use the source
select reverse_lookup("127.0.0.1"); select reverse_lookup("127.0.0.1");
select reverse_lookup(127,0,0,1); select reverse_lookup(127,0,0,1);
select reverse_lookup("localhost"); select reverse_lookup("localhost");
reverse_lookup("localhost")
NULL
select avgcost(); select avgcost();
ERROR HY000: wrong number of arguments: AVGCOST() requires two arguments ERROR HY000: wrong number of arguments: AVGCOST() requires two arguments
select avgcost(100,23.76); select avgcost(100,23.76);
......
...@@ -51,14 +51,17 @@ select lookup("localhost"); ...@@ -51,14 +51,17 @@ select lookup("localhost");
--error 0 --error 0
select reverse_lookup(); select reverse_lookup();
# These two functions should return "localhost", but it's # These two function calls should return "localhost", but it's
# depending on configuration, so just call them and don't log the result # depending on configuration, so just call them and don't log the result
--disable_result_log --disable_result_log
select reverse_lookup("127.0.0.1"); select reverse_lookup("127.0.0.1");
select reverse_lookup(127,0,0,1); select reverse_lookup(127,0,0,1);
--enable_result_log
# This function call may return different results depending on platform,
# so ignore results (see Bug#52060).
select reverse_lookup("localhost"); select reverse_lookup("localhost");
--enable_result_log
--error 0 --error 0
select avgcost(); select avgcost();
--error 0 --error 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment