← Back to team overview

ourdelta-developers team mailing list archive

[Bug 378879] Re: sphinxsearch/sphinx_engine/sphinx.5.0.77.patch test failure

 

** Changed in: ourdelta
       Status: Confirmed => Fix Committed

-- 
sphinxsearch/sphinx_engine/sphinx.5.0.77.patch test failure
https://bugs.launchpad.net/bugs/378879
You received this bug notification because you are a member of OurDelta-
developers, which is the registrant for OurDelta.

Status in OurDelta - Builds for MySQL: Fix Committed

Bug description:

ourdelta 5.0.77-d8 patch set fails the internal test suite when configured with the --with-debug=full
option.

The failure is an assertion error in sql/handler.cc:

This line appears in mysql-test/var/log/master.err:

mysqld: handler.cc:503: int ha_init(): Assertion `total_ha < 14' failed.

The underlying reason is the MAX_HA variable was not changed when the sphynx_engine was
added to the sys_table_types array in sql/handler.cc.

I'm not sure whether this error is benign or not.  I think it may not be, because there are tables defined
to be of MAX_HA size that may not be null terminated any more.

The fix is to redefine MAX_HA from 14 to 15 as part of the patch.  I'll push a branch to launchpad
with an updated patch with the fix.



References