Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > media > main-testing-src > by-pkgid > 91117ef1a9653edd6a912d3a095f594d > files > 17

mysql-5.0.84-0.1mdv2009.0.src.rpm

--- scripts/mysql_install_db.sh	2007-11-15 15:06:33.000000000 +0100
+++ scripts/mysql_install_db.sh.oden	2007-12-06 18:38:41.000000000 +0100
@@ -209,7 +209,9 @@
 then
   basedir="@prefix@"
   bindir="@bindir@"
-  mysqld="@libexecdir@/mysqld"
+  # Use the mysqld-max binary by default if the user doesn't specify a binary
+  if test -x "@libexecdir@/mysqld"; then mysqld="@libexecdir@/mysqld"; fi
+  if test -x "@libexecdir@/mysqld-max"; then mysqld="@libexecdir@/mysqld-max"; fi
   pkgdatadir="@pkgdatadir@"
 else
   bindir="$basedir/bin"
@@ -316,7 +334,7 @@
   if test ! -d $dir
   then
     mkdir -p $dir
-    chmod 700 $dir
+    chmod 711 $dir
   fi
   if test -w / -a ! -z "$user"
   then