← Back to team overview

maria-developers team mailing list archive

Rev 2802: Fix for https://bugs.launchpad.net/maria/+bug/509795 in file:///Users/hakan/work/monty_program/maria/

 

At file:///Users/hakan/work/monty_program/maria/

------------------------------------------------------------
revno: 2802
revision-id: hakan@xxxxxxxxxxxx-20100122211921-e177xzarwy7l8j5y
parent: knielsen@xxxxxxxxxxxxxxx-20100118125610-s55p0dsjofl9eclf
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 file 'mysql-test/r/udf.result'
--- a/mysql-test/r/udf.result	2010-01-11 13:15:28 +0000
+++ b/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'
--- a/mysql-test/t/udf.test	2010-01-11 13:15:28 +0000
+++ b/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