MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Daniel Fischer Date:December 12 2006 2:47pm
Subject:bk commit into 5.0 tree (df:1.2328) BUG#24896
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of df. When df 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@stripped, 2006-12-12 15:47:02+01:00, df@stripped +1 -0
  BUG#24896 magnus' suggestion

  client/mysql_upgrade.c@stripped, 2006-12-12 15:47:01+01:00, df@stripped +2 -2
    BUG#24896 magnus' suggestion

# 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:	df
# Host:	kahlann.erinye.com
# Root:	/home/df/mysql/build/mysql-5.0-build-24896

--- 1.12/client/mysql_upgrade.c	2006-12-08 10:23:01 +01:00
+++ 1.13/client/mysql_upgrade.c	2006-12-12 15:47:01 +01:00
@@ -322,8 +322,8 @@ static int create_defaults_file(const ch
   dynstr_set(&buf, "\n[client]");
   if (opt_password) 
   {
-    if (dynstr_append_mem(&buf, "\npassword=", 10)
-       || dynstr_append_mem(&buf, opt_password, strlen(opt_password)))
+    if (dynstr_append(&buf, "\npassword=")
+       || dynstr_append(&buf, opt_password))
     {
       ret = 1;
       goto error;
Thread
bk commit into 5.0 tree (df:1.2328) BUG#24896Daniel Fischer12 Dec