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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    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?

      Attachments

        1. LPexportBug330611.xml
          5 kB
          Rasmus Johansson
        2. LPexportBug330611_maria_part_patch.dat
          0.3 kB
          Rasmus Johansson

        Activity

          People

            monty Michael Widenius
            pcrews patrick crews (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.