Commit a1e9531d authored by ted@ted.mysql.internal's avatar ted@ted.mysql.internal

Merge ted.mysql.internal:/home/ted/src/mysql/mysql-5.0-5.1-gca

into  ted.mysql.internal:/home/ted/src/mysql/mysql-5.1-new-maint
parents 2c67b7ce cb08c534
...@@ -200,7 +200,7 @@ retry_open: ...@@ -200,7 +200,7 @@ retry_open:
} }
buffer_end= strnmov(buffer, "\n[client]", sizeof(buffer)); buffer_end= strnmov(buffer, "\n[client]", sizeof(buffer));
if (opt_password) if (opt_password)
buffer_end= strxnmov(buffer, sizeof(buffer), buffer_end= strxnmov(buffer_end, sizeof(buffer),
"\npassword=", opt_password, NullS); "\npassword=", opt_password, NullS);
error= my_write(defaults_file, buffer, (int) (buffer_end - buffer), error= my_write(defaults_file, buffer, (int) (buffer_end - buffer),
MYF(MY_WME | MY_FNABP)); MYF(MY_WME | MY_FNABP));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment