summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-09-20 04:54:10 +0300
committermonty@donna.mysql.com <>2000-09-20 04:54:10 +0300
commitdc4525636ce2912fb9a455503260760621e2eb46 (patch)
tree9809b1ec91af01ed8cc76e542fe1a102e239d9b1 /support-files
parentf2f515e5c2733dfe95471640ff740d0f936579b9 (diff)
downloadmariadb-git-dc4525636ce2912fb9a455503260760621e2eb46.tar.gz
Small bug fixes + code for DELETE QUICK
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.server.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index 7ce049f573e..2663ab36b66 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -45,8 +45,9 @@ do
# This could easily be rewritten to gather [xxxxx]-specific entries,
# but for now it looks like only the mysqld ones are needed for
# server startup scripts
+ thevar=""
eval `sed -n -e '/^$/d' -e '/^#/d' -e 's,[ ],,g' -e '/=/p' $c |\
- # awk -F= -v v=$v '{if ($1 == v) printf ("thevar=\"%s\"\n", $2)}'`
+ awk -F= -v v=$v '{if ($1 == v) printf ("thevar=\"%s\"\n", $2)}'`
# it would be easier if the my.cnf and variable values were
# all matched, but since they aren't we need to map them here.