diff options
author | John H. Embretsen <john.embretsen@sun.com> | 2010-03-18 11:26:27 +0100 |
---|---|---|
committer | John H. Embretsen <john.embretsen@sun.com> | 2010-03-18 11:26:27 +0100 |
commit | 3d89b6698ceefa6c04c82d77289d2cfe92320ff8 (patch) | |
tree | bea2bec7c2280340c6bbd419a6c29a7881ae85e8 /mysql-test/t | |
parent | 0d608d5b11e621e604e67bfe460a36452ccbbf35 (diff) | |
download | mariadb-git-3d89b6698ceefa6c04c82d77289d2cfe92320ff8.tar.gz |
Bug#52060 - test udf fails on Snow Leopard
reverse DNS lookup of "localhost" returns "broadcasthost" on Snow Leopard, and NULL on most others.
Simply ignore the output, as this is not an essential part of UDF testing.
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/udf.test | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/t/udf.test b/mysql-test/t/udf.test index 7bf252040e5..9295969c05f 100644 --- a/mysql-test/t/udf.test +++ b/mysql-test/t/udf.test @@ -51,14 +51,17 @@ select lookup("localhost"); --error ER_CANT_INITIALIZE_UDF 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 --disable_result_log 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"); +--enable_result_log + --error ER_CANT_INITIALIZE_UDF select avgcost(); --error ER_CANT_INITIALIZE_UDF |