diff options
-rwxr-xr-x | src/bin/mydbgen | 4 | ||||
-rw-r--r-- | version.log | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/mydbgen b/src/bin/mydbgen index a251b9512..d19042f56 100755 --- a/src/bin/mydbgen +++ b/src/bin/mydbgen @@ -65,12 +65,14 @@ echo "What is your MySQL password?" echo $n "-> $c" stty -echo echonl read cc +SQLPASS_PREFIX="" if [ ! -z "$cc" ] ; then + SQLPASS_PREFIX="-p" SQLPASS=$cc fi stty $OLD_TTY -mysqlshow -h$SQLHOST -u$SQLUSER >/dev/null 2>&1 +mysqlshow -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS >/dev/null 2>&1 if test "$?" = "1" ; then echo "Error: Unable to login, verify your login/password and hostname" exit diff --git a/version.log b/version.log index 48c0d7dc0..4c53e9c37 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="8" -VERSION_BUILD="658" +VERSION_BUILD="659" # $Log$ # +# BUILD : 1.7.8 (659) +# BUGS : N/A +# NOTES : dbgen script will now accept a blank sql pass if you tell it too... +# # BUILD : 1.7.8 (658) # BUGS : 658 # NOTES : Applied qa patch for bug 658 |