[csw-devel] Patch for MySQL 5.5 method
Laurent Blume
laurent at elanor.org
Fri Nov 2 13:54:42 CET 2012
Hello all,
The architecture selection bit for the MySQL method that I proposed
appears to work well, except in one case:
if "basedir = /opt/csw" has been explicitly specified in my.cnf, the
script will pick that up after the architecture was detected, and
concatenate /bin, /sbin, /libexec to it before starting the daemon.
So that keeps starting the 32 bit version, even if the 64 one has been
explicitly chosen in csw.conf.
I'm attaching a small patch to the method script that fixes that. It's
straightforward and should be safe in all cases.
Laurent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07_method_use_basedir.patch
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20121102/e36c81cd/attachment.bin>
More information about the devel
mailing list