[MDEV-2980] LP:330611 - test maria.maria fails if server built without '--with-partition' Created: 2009-02-17  Updated: 2015-05-19  Resolved: 2012-10-04

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

Type: Bug Priority: Minor
Reporter: patrick crews (Inactive) Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug330611.xml     File LPexportBug330611_maria_part_patch.dat    

 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?



 Comments   
Comment by Patrick Crews (Inactive) [ 2009-02-17 ]

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

Comment by Patrick Crews (Inactive) [ 2009-02-17 ]

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

Comment by Michael Widenius [ 2009-02-18 ]

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

Comment by Rasmus Johansson (Inactive) [ 2009-07-15 ]

Launchpad bug id: 330611

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