Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3457

LP:509795 - main.udf fails on Mac OS X 10.6 (Intel)

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            monty Michael Widenius added a comment -

            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

            Show
            monty Michael Widenius added a comment - 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
            Hide
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment -

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

            Show
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment - Re: main.udf fails on Mac OS X 10.6 (Intel) I committed the proposed fix into lp:maria.
            Hide
            monty Michael Widenius added a comment -

            [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

            Show
            monty Michael Widenius added a comment - [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
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 509795

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 509795

              People

              • Assignee:
                Unassigned
                Reporter:
                hakanküçükyılmaz Hakan Küçükyılmaz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: