Menu

#6 bi-gram mysql 5.7

v1.0 (example)
open
nobody
None
5
2013-12-17
2013-12-17
KHauser
No

I tried this plugin with mysql 5.7 because they noted that FTS parser plugins could also be applied to InnoDB-Tables, which is very interesting for us. But I first failed by compiling the plugin because of changed my_alloc.c and my_realloc.c-Files. Seems to be that their constructors now needs a further attribute ("PSI_memory_key key"). I was looking through other files using these functions and found a propper (for me and my poor knowledge ;)) parameter "key_memory_max_alloca" from my_sys.h.

After including this para I was running into another failure message while installing the plugin:
* mysql> INSTALL PLUGIN bigram SONAME 'libftbigram.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib64/mysql/plugin/libftbigram.so' (errno: 2 /usr/lib64/mysql/plugin/libftbigram.so: undefined symbol: mysql_malloc_se
rvice)

Any clues about how to fix this error?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.