← Back to team overview

maria-developers team mailing list archive

[Branch ~maria-captains/maria/5.1] Rev 2802: Fix for https://bugs.launchpad.net/maria/+bug/509795

 

------------------------------------------------------------
revno: 2802
committer: Hakan Kuecuekyilmaz <hakan@xxxxxxxxxxxx>
branch nick: maria
timestamp: Fri 2010-01-22 22:19:21 +0100
message:
  Fix for https://bugs.launchpad.net/maria/+bug/509795
  
  Result of reverse_lookup("localhost") is system depended.
  Therefore we disable the result of it.
modified:
  mysql-test/r/udf.result
  mysql-test/t/udf.test


--
lp:maria
https://code.launchpad.net/~maria-captains/maria/5.1

Your team Maria developers is subscribed to branch lp:maria.
To unsubscribe from this branch go to https://code.launchpad.net/~maria-captains/maria/5.1/+edit-subscription.
=== modified file 'mysql-test/r/udf.result'
--- mysql-test/r/udf.result	2010-01-11 13:15:28 +0000
+++ mysql-test/r/udf.result	2010-01-22 21:19:21 +0000
@@ -38,8 +38,6 @@
 select reverse_lookup("127.0.0.1");
 select reverse_lookup(127,0,0,1);
 select reverse_lookup("localhost");
-reverse_lookup("localhost")
-NULL
 select avgcost();
 ERROR HY000: Can't initialize function 'avgcost'; wrong number of arguments: AVGCOST() requires two arguments
 select avgcost(100,23.76);

=== modified file 'mysql-test/t/udf.test'
--- mysql-test/t/udf.test	2010-01-11 13:15:28 +0000
+++ mysql-test/t/udf.test	2010-01-22 21:19:21 +0000
@@ -56,9 +56,9 @@
 --disable_result_log
 select reverse_lookup("127.0.0.1");
 select reverse_lookup(127,0,0,1);
+select reverse_lookup("localhost");
 --enable_result_log
 
-select reverse_lookup("localhost");
 --error ER_CANT_INITIALIZE_UDF
 select avgcost();
 --error ER_CANT_INITIALIZE_UDF