[MDEV-3457] LP:509795 - main.udf fails on Mac OS X 10.6 (Intel) Created: 2010-01-19  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Hakan Küçükyılmaz (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug509795.xml    

 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



 Comments   
Comment by Michael Widenius [ 2010-01-19 ]

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

Comment by Hakan Küçükyılmaz (Inactive) [ 2010-01-22 ]

Re: main.udf fails on Mac OS X 10.6 (Intel)
I committed the proposed fix into lp:maria.

Comment by Michael Widenius [ 2010-01-26 ]

[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

Comment by Rasmus Johansson (Inactive) [ 2010-02-11 ]

Launchpad bug id: 509795

Generated at Thu Feb 08 06:48:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.