Skip to content

Commit e2b4493

Browse files
committed
merge 5.0->5.0-security
2 parents 3e897be + bdb4df0 commit e2b4493

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

mysql-test/r/udf.result

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ ERROR HY000: Wrong number of arguments to reverse_lookup; Use the source
4040
select reverse_lookup("127.0.0.1");
4141
select reverse_lookup(127,0,0,1);
4242
select reverse_lookup("localhost");
43-
reverse_lookup("localhost")
44-
NULL
4543
select avgcost();
4644
ERROR HY000: wrong number of arguments: AVGCOST() requires two arguments
4745
select avgcost(100,23.76);

mysql-test/t/udf.test

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ select lookup("localhost");
5151
--error 0
5252
select reverse_lookup();
5353

54-
# These two functions should return "localhost", but it's
54+
# These two function calls should return "localhost", but it's
5555
# depending on configuration, so just call them and don't log the result
5656
--disable_result_log
5757
select reverse_lookup("127.0.0.1");
5858
select reverse_lookup(127,0,0,1);
59-
--enable_result_log
6059

60+
# This function call may return different results depending on platform,
61+
# so ignore results (see Bug#52060).
6162
select reverse_lookup("localhost");
63+
--enable_result_log
64+
6265
--error 0
6366
select avgcost();
6467
--error 0

0 commit comments

Comments
 (0)