Commit e817a9c6 authored by unknown's avatar unknown

Fixed a bug in mysql.cc. Overriding password prompting

by giving password as an argument later did not work.
parent 7bc178c1
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <locale.h> #include <locale.h>
#endif #endif
const char *VER= "14.5"; const char *VER= "14.6";
/* Don't try to make a nice table if the data is too big */ /* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024 #define MAX_COLUMN_LENGTH 1024
...@@ -792,6 +792,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), ...@@ -792,6 +792,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
while (*argument) *argument++= 'x'; // Destroy argument while (*argument) *argument++= 'x'; // Destroy argument
if (*start) if (*start)
start[1]=0 ; start[1]=0 ;
tty_password= 0;
} }
else else
tty_password= 1; tty_password= 1;
......
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