diff options
author | unknown <arjen@bitbike.com> | 2004-02-25 09:46:43 +1000 |
---|---|---|
committer | unknown <arjen@bitbike.com> | 2004-02-25 09:46:43 +1000 |
commit | 1fbad3c0d2a31b0aef7dae60bfde893d547eb89e (patch) | |
tree | b9688ef430f6c12a3308a8d1707b61cfd3ec140a /client | |
parent | 4e8d56654c1ac1c87ab143f6e8ee7e18851291db (diff) | |
download | mariadb-git-1fbad3c0d2a31b0aef7dae60bfde893d547eb89e.tar.gz |
Inserted comment about lost root pwd procedure in Docs relying on command order in mysqladmin.
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqladmin.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/mysqladmin.c b/client/mysqladmin.c index 95bc17e880b..09e6bf98f1c 100644 --- a/client/mysqladmin.c +++ b/client/mysqladmin.c @@ -420,6 +420,14 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv) { const char *status; +/* + MySQL documentation relies on the fact that mysqladmin will + execute commands in the order specified, e.g. + mysqladmin -u root flush-privileges password "newpassword" + to reset a lost root password. + If this behaviour is ever changed, Docs should be notified. +*/ + for (; argc > 0 ; argv++,argc--) { switch (find_type(argv[0],&command_typelib,2)) { |