add lib_keylib.ecllib in clienttools install package

Description

Email thread:

From Ananth

================================================

In MySQL, we have lib_keylib.keylib.ecl but we don’t have this in the local clientools install from

 

 http://10.240.32.242/builds/LN-Candidate-x/bin/clienttools/

 

I do see moxiekeylib.dll which has the same content as of lib_keylib.keylib.ecl but doesn’t seem to resolve the syntax issue. For now we have one prod build that failed due to this issue. Please could you let us know what do we need to do to fix this.

 

Out of curiosity, I tried renaming moxiekeylib.dll/lib to keylib.dll/lib but that didn’t work either.

 

Attribute in question: Gong_Neustar.key_cn

============================================================

From Richard:

 

Create a file called lib_keylib.ecllib with the following contents:

 

export KeyLib := SERVICE : plugin('moxiekeylib')

  string KeylibStripPunctuation(const string src) : c,pure,entrypoint='mklStripPunctuation';

  string CompName(const string src) : c,pure,entrypoint='mklCompName';

  string CompNameNoSyn(const string src) : c,pure,entrypoint='mklCompNameNoSyn';

  string GongDACname(const string src) : c,pure,entrypoint='mklGongDACname';

  string GongDAPHCname(const string src) : c,pure,entrypoint='mklGongDAPHCname';

  string GongCompName(const string src) : c,pure,entrypoint='mklGongCompName';

END;

 

And drop it in the plugins directory (alongside lib_saltlib.ecllib)

 

========================================================

Anyway we can include this in clienttools install.

 

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Fix versions

Pull Request URL

Created November 17, 2017 at 2:53 PM
Updated January 10, 2018 at 3:45 PM
Resolved January 10, 2018 at 3:45 PM