Details
Description
From https://travis-ci.org/github/ottok/mariadb/jobs/663987331
main.udf w1 [ fail ]
|
Test ended at 2020-03-18 15:56:11
|
CURRENT_TEST: main.udf
|
--- /home/travis/build/ottok/mariadb/mysql-test/main/udf.result 2020-03-18 15:30:33.031262216 +0000
|
+++ /home/travis/build/ottok/mariadb/mysql-test/main/udf.reject 2020-03-18 15:56:11.234936942 +0000
|
@@ -32,7 +32,7 @@
|
ERROR HY000: Can't initialize function 'lookup'; Wrong arguments to lookup; Use the source
|
select lookup("localhost");
|
lookup("localhost")
|
-127.0.0.1
|
+127.0.1.1
|
select reverse_lookup();
|
ERROR HY000: Can't initialize function 'reverse_lookup'; Wrong number of arguments to reverse_lookup; Use the source
|
select reverse_lookup("127.0.0.1");
|
mysqltest: Result content mismatch
|
Seems the Travis-CI builders occasionally have 127.0.1.1 as localhost, which is a valid value. Do we want the test to allow that value as well?
I did some more testing and can confirm, that the test suite 'main' fails on Ubuntu Bionic with this error no matter if using gcc-5, 6, 7, 8 or 9. So it is not a GCC specific issue
Also clang builds on Bionic fail with this same error, e.g. https://travis-ci.org/github/ottok/mariadb/jobs/664165657
Maybe it is related to some build dependency that interacts with main.udf?