summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <tsmith@quadxeon.mysql.com>2007-04-26 23:01:04 +0200
committerunknown <tsmith@quadxeon.mysql.com>2007-04-26 23:01:04 +0200
commitecbbc45742c026bd16225aa53b956b97a0b1c22a (patch)
tree3139a9c76a13cd5b9f35ff0f4f338cb58e00ed6e /scripts
parent48a9d2c3115d7dae95c6475376f18aeee2ebc79c (diff)
parente0142014166d534cbb414fd771111254389e5cad (diff)
downloadmariadb-git-ecbbc45742c026bd16225aa53b956b97a0b1c22a.tar.gz
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/b27390/50
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_install_db.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 63995eb1575..f90e99ec468 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -79,7 +79,10 @@ parse_arguments() {
then
# This sed command makes sure that any special chars are quoted,
# so the arg gets passed exactly to the server.
- args="$args "`echo "$arg" | sed -e 's,\([^a-zA-Z0-9_.-]\),\\\\\1,g'`
+ # XXX: This is broken; true fix requires using eval and proper
+ # quoting of every single arg ($basedir, $ldata, etc.)
+ #args="$args "`echo "$arg" | sed -e 's,\([^a-zA-Z0-9_.-]\),\\\\\1,g'`
+ args="$args $arg"
fi
;;
esac