main.udf fails on Mac OS X 10.6 (Intel)

Bug #509795 reported by Hakan Küçükyılmaz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Undecided
Hakan Küçükyılmaz

Bug Description

main.udf fails on Mac OS X 10.6 (Intel 64-bit)

How to reproduce:
* branch lp:maria
* BUILD/compile-amd64-max
* run mysql-test-run.pl --force main.udf

au0013:mysql-test hakan$ ./mysql-test-run.pl --force main.udf
Logging: ./mysql-test-run.pl --force main.udf
100119 20:16:34 [Warning] Setting lower_case_table_names=2 because file system for /var/folders/Va/Vask5-tBE8KLraUj-gQrtU+++TM/-Tmp-/mReXYkKhhu/ is case insensitive
MySQL Version 5.1.42
Checking supported features...
 - SSL connections supported
Collecting tests...
vardir: /Users/hakan/work/monty_program/maria/mysql-test/var
Removing old var directory...
Creating var directory '/Users/hakan/work/monty_program/maria/mysql-test/var'...
Installing system database...
Using server port 64467

==============================================================================

TEST RESULT TIME (ms)
------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
main.udf [ fail ]
        Test ended at 2010-01-19 20:16:36

CURRENT_TEST: main.udf
--- /Users/hakan/work/monty_program/maria/mysql-test/r/udf.result 2010-01-18 20:54:36.000000000 +0300
+++ /Users/hakan/work/monty_program/maria/mysql-test/r/udf.reject 2010-01-19 22:16:36.000000000 +0300
@@ -39,7 +39,7 @@
 select reverse_lookup(127,0,0,1);
 select reverse_lookup("localhost");
 reverse_lookup("localhost")
-NULL
+broadcasthost

Revision history for this message
Michael Widenius (monty) wrote : re: [Bug 509795] [NEW] main.udf fails on Mac OS X 10.6 (Intel)

Hi!

>>>>> "Hakan" == Hakan Küçüky <Hakan> writes:

Hakan> Public bug reported:
Hakan> main.udf fails on Mac OS X 10.6 (Intel 64-bit)

<cut>

Hakan> CURRENT_TEST: main.udf
Hakan> --- /Users/hakan/work/monty_program/maria/mysql-test/r/udf.result 2010-01-18 20:54:36.000000000 +0300
Hakan> +++ /Users/hakan/work/monty_program/maria/mysql-test/r/udf.reject 2010-01-19 22:16:36.000000000 +0300
Hakan> @@ -39,7 +39,7 @@
Hakan> select reverse_lookup(127,0,0,1);
Hakan> select reverse_lookup("localhost");
Hakan> reverse_lookup("localhost")
Hakan> -NULL
Hakan> +broadcasthost

I think we should change test so that we dont' test for the return
value of reverse_lookup("localhost") as the result from
'gethostbyaddr_r()' apparently is system dependent.

This can be done by moving --enable_result_log two rows down in
udf.test and updating the result file.

Regards,
Monty

Revision history for this message
Hakan Küçükyılmaz (hakan-askmonty) wrote :

I committed the proposed fix into lp:maria.

Changed in maria:
status: New → Fix Committed
Revision history for this message
Michael Widenius (monty) wrote : [Bug 509795] Re: main.udf fails on Mac OS X 10.6 (Intel)

Hi!

>>>>> "Hakan" == Hakan Küçüky <Hakan> writes:

Hakan> I committed the proposed fix into lp:maria.
Hakan> ** Changed in: maria
Hakan> Status: New => Fix Committed

Good. I checked it and it looked ok.

Regards,
Monty

Changed in maria:
assignee: nobody → Hakan Küçükyılmaz (hakan-askmonty)
Changed in maria:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.