Bug #75086 ndb_memcache test does not work in out of source build
Submitted: 3 Dec 2014 10:07 Modified: 4 Dec 2014 16:19
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Memcached Severity:S3 (Non-critical)
Version:7.3.8 OS:Any
Assigned to: CPU Architecture:Any

[3 Dec 2014 10:07] Magnus Blåudd
Description:
All the ndb_memcache tests are silently skipped even if ndb_engine.so have been built.

Two problems:

 1) The include/have_memcache.inc file does not find memcached_path.pl
 2) mtr.pl does not find memcache_path.pl  and decides to silently skip starting memcached

Fixing 1) causes "connect failed" because of 2).

How to repeat:
./mtr.pl ndb_memcache.type_binary
<snip>
ndb_memcache.type_binary                 [ skipped ]  Could not find NDB Memcache API

Suggested fix:
Fix thes two problems to look properly in  the "build dir" for memcached_path.pl. 

Also  make the logic which decides to silently skip depend on the existence of ndb_engine.so instead of memcached_path.pl. Thus if ndb_engine.so exists all other things should be there.
[4 Dec 2014 16:19] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

Fixed in MySQL Cluster NDB 7.3.8 and 7.4.3. Affects tests only; no user-facing changes to document.

Closed.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html