Loading client/mysql_upgrade.c +1 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ static int create_defaults_file(const char *path, const char *our_defaults_path) } buffer_end= strnmov(buffer, "\n[client]", sizeof(buffer)); if (opt_password) buffer_end= strxnmov(buffer, sizeof(buffer), buffer_end= strxnmov(buffer_end, sizeof(buffer), "\npassword=", opt_password, NullS); error= my_write(defaults_file, buffer, (int) (buffer_end - buffer), MYF(MY_WME | MY_FNABP)); Loading Loading
client/mysql_upgrade.c +1 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ static int create_defaults_file(const char *path, const char *our_defaults_path) } buffer_end= strnmov(buffer, "\n[client]", sizeof(buffer)); if (opt_password) buffer_end= strxnmov(buffer, sizeof(buffer), buffer_end= strxnmov(buffer_end, sizeof(buffer), "\npassword=", opt_password, NullS); error= my_write(defaults_file, buffer, (int) (buffer_end - buffer), MYF(MY_WME | MY_FNABP)); Loading