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

Bug #330611 reported by Patrick Crews
Affects Status Importance Assigned to Milestone
Fix Released
Michael Widenius

Bug 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?

Revision history for this message
Patrick Crews (patrick-crews) wrote :
Revision history for this message
Michael Widenius (monty) wrote :

Applied proposed fix

Changed in maria:
assignee: nobody → monty
importance: Undecided → Medium
status: New → Fix Committed
Michael Widenius (monty)
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.