Bug #54444 Do not run main.range test for products without partitioning feature
Submitted: 11 Jun 2010 19:37 Modified: 15 Oct 2010 10:45
Reporter: Karen Langford Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.1.48 OS:Any
Assigned to: Martin Hansson CPU Architecture:Any

[11 Jun 2010 19:37] Karen Langford
Description:
The main.range test which utilized the partitioning feature is being
attempted on "enterprise" (both GPL and commercial") and "classic". These configurations do not include partitioning, hence the test fails.

How to repeat:
Run main.range on classic product.

Suggested fix:
The test should check for the partitioning feature when it is attempted,
to protect against such cases.
[11 Jun 2010 20:58] Sveta Smirnova
Thank you for the report.

Verified as described. Before version 5.1.48 test range didn't use partitioning, therefore did not fail.
[10 Aug 2010 8:49] Bjørn Munch
I was also hit by this. IMHO a better solution is to move the added parts of range.test (added by Bug #50939) into a separate test, so that the rest of main.range can still be run.

The new test should source include/have_partition.inc
[11 Aug 2010 12:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/115484

3481 Martin Hansson	2010-08-11
      Bug#54444: Do not run main.range test for products without partitioning
      feature
      
      The test for bug no 50939 was put in range.test which isn't such a good idea
      since it requires partitioning. Fixed by moving the test case to
      partitioning_range.test.
[11 Aug 2010 15:56] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/115509

3168 Martin Hansson	2010-08-11 [merge]
      Merge of fix for Bug#54444.
[18 Aug 2010 7:21] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@sun.com-20100818071819-2lu46b0mm3cs34rf) (version source revid:alik@sun.com-20100818071732-g682fg1v0nnrrutx) (merge vers: 5.6.1-m4) (pib:20)
[18 Aug 2010 7:22] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100818071923-4ounwbhiium2met1) (version source revid:alik@sun.com-20100818071743-lrzordai06i2crty) (pib:20)
[18 Aug 2010 7:22] Bugs System
Pushed into mysql-5.5 5.5.6-m3 (revid:alik@sun.com-20100818071719-dktnkvt8zvidj0sy) (version source revid:alik@sun.com-20100818071719-dktnkvt8zvidj0sy) (merge vers: 5.5.6-m3) (pib:20)
[18 Aug 2010 14:55] Paul DuBois
Changes to test suite. No changelog entry needed.
[28 Sep 2010 8:46] Bugs System
Pushed into mysql-5.1 5.1.52 (revid:sunanda.menon@sun.com-20100928083322-wangbv97uobu7g66) (version source revid:sunanda.menon@sun.com-20100928083322-wangbv97uobu7g66) (merge vers: 5.1.52) (pib:21)
[14 Oct 2010 8:30] Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.20 (revid:martin.skold@mysql.com-20101014082627-jrmy9xbfbtrebw3c) (version source revid:martin.skold@mysql.com-20101014082627-jrmy9xbfbtrebw3c) (merge vers: 5.1.51-ndb-7.0.20) (pib:21)
[14 Oct 2010 8:46] Bugs System
Pushed into mysql-5.1-telco-6.3 5.1.51-ndb-6.3.39 (revid:martin.skold@mysql.com-20101014083757-5qo48b86d69zjvzj) (version source revid:martin.skold@mysql.com-20101014083757-5qo48b86d69zjvzj) (merge vers: 5.1.51-ndb-6.3.39) (pib:21)
[14 Oct 2010 9:00] Bugs System
Pushed into mysql-5.1-telco-6.2 5.1.51-ndb-6.2.19 (revid:martin.skold@mysql.com-20101014084420-y54ecj85j5we27oa) (version source revid:martin.skold@mysql.com-20101014084420-y54ecj85j5we27oa) (merge vers: 5.1.51-ndb-6.2.19) (pib:21)
[15 Oct 2010 10:45] Jon Stephens
Setting back to Closed; see above.