Bug #33306 Several tests fail if partition support is not built
Submitted: 18 Dec 2007 0:31 Modified: 16 Mar 2008 10:56
Reporter: Antony Curtis Email Updates:
Status: Closed
Category:Server: Falcon Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Hakan Küçükyılmaz Target Version:
Triage: D4 (Minor) / R1 (None/Negligible) / E2 (Low)

[18 Dec 2007 0:31] Antony Curtis
Description:
The following tests fail if partition was not enabled when configuring the source:

falcon.falcon_bug_22178
falcon.falcon_bug_22939
falcon.falcon_bug_26827
falcon.falcon_bug_26828
falcon.falcon_bug_28026
falcon.falcon_bug_28042
falcon.falcon_bug_29332
falcon.falcon_bug_30826
falcon.falcon_bug_32833
falcon.falcon_bugs

How to repeat:
Build from tree enabling Falcon but not enabling partition. Example:

CC="ccache gcc" CFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wunused-parameter  -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS  -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized" CXX="ccache gcc" CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti  -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS  -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized" CXXLDFLAGS="" ./configure --prefix=/usr/local/mysql --enable-assembler  --with-extra-charsets=complex  --enable-thread-safe-client  --with-big-tables --with-readline --with-debug  --enable-local-infile --with-falcon

Suggested fix:
Afflicted tests should detect that partition is not available and skip accordingly,
[18 Dec 2007 18:58] Miguel Solorzano
Thank you for the bug report.
[19 Dec 2007 18:58] 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/40226

ChangeSet@1.2764, 2007-12-19 19:55:35+01:00, hakank@lu0011.(none) +10 -0
  Fixed Bug#33306 Several tests fail if partition support is not built.
[12 Mar 2008 23:03] Bugs System
Pushed into 6.0.4-alpha
[16 Mar 2008 10:56] MC Brown
Test failure only - no changelog entry required.