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

LP:330611 - test maria.maria fails if server built without '--with-partition'

    Details

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

      Description

      Running the test maria.maria on a server built without the '--with-partition' configuration will result in a test failure:
      maria.maria [ fail ]
      Test ended at 2009-02-17 11:40:14

      CURRENT_TEST: maria.maria
      mysqltest: At line 1848: query 'alter table t1 partition by list (s1) (partition p1 values in (2))' failed with wrong errno 1289: 'The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working', instead of 1526...

      These results were a result of a BUILD/compile-pentium-debug build.

      This is a simple fix and we can just add a --source include/have_partition.inc to have a graceful 'skip' in such a case (rather than a meaningless failure).

      Also, do we want to alter BUILD files to include partitioning?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            patrickcrews Patrick Crews added a comment -

            Patch for maria.maria to fix no-partition failure
            LPexportBug330611_maria_part_patch.dat

            Show
            patrickcrews Patrick Crews added a comment - Patch for maria.maria to fix no-partition failure LPexportBug330611_maria_part_patch.dat
            Hide
            patrickcrews Patrick Crews added a comment -

            Re: test maria.maria fails if server built without '--with-partition'

            Show
            patrickcrews Patrick Crews added a comment - Re: test maria.maria fails if server built without '--with-partition'
            Hide
            monty Michael Widenius added a comment -

            Re: test maria.maria fails if server built without '--with-partition'
            Applied proposed fix

            Show
            monty Michael Widenius added a comment - Re: test maria.maria fails if server built without '--with-partition' Applied proposed fix
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 330611

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

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                pcrews patrick crews
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: