We're running percona's build of mysql 5.5.36-34 on centos 6.5. We have tried installing every release version of lib_mysqludf_preg, and in each case it isn't working properly. When I check the version number with lib_mysqludf_preg_info(), I get back a hash: 6c69625f6d7973716c7564665f7072656720312e31
Instead of the expected version number.
SELECT CONVERT( PREG_REPLACE( '/fox/i' , 'dog' , 'The brown fox' ) USING UTF8) as replaced; returns The brown dog which is ok.
Other queries will sometimes return hashes instead of strings, and in our production system, all spaces are stripped from our results (which has never been the case with older versions of mysql).
Is our installation incorrect? Is this a bug?