List:Internals« Previous MessageNext Message »
From:serg Date:May 9 2005 7:24am
Subject:bk commit into 4.1 tree (serg:1.2250)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of serg. When serg does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2250 05/05/09 09:24:05 serg@stripped +1 -0
  don't use tmp file for such a triviality

  scripts/mysql_install_db.sh
    1.72 05/05/09 09:21:49 serg@stripped +1 -4
    don't use tmp file for such a triviality

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	serg
# Host:	sergbook.mylan
# Root:	/usr/home/serg/Abk/mysql-4.1

--- 1.71/scripts/mysql_install_db.sh	Tue Feb  1 14:20:29 2005
+++ 1.72/scripts/mysql_install_db.sh	Mon May  9 09:21:49 2005
@@ -11,7 +11,6 @@
 windows=0
 defaults=""
 user=""
-tmp_file=/tmp/mysql_install_db.$$
 
 case "$1" in
     --no-defaults|--defaults-file=*|--defaults-extra-file=*)
@@ -223,10 +222,8 @@
     then
       echo "Fill help tables"
     fi
-    echo "use mysql;" > $tmp_file
-    cat $tmp_file $fill_help_tables | eval "$mysqld_install_cmd_line"
+    (echo "use mysql;"; cat $fill_help_tables) | eval "$mysqld_install_cmd_line"
     res=$?
-    rm $tmp_file
     if test $res != 0
     then
       echo ""
Thread
bk commit into 4.1 tree (serg:1.2250)serg9 May