diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-01-29 13:50:26 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-03-10 19:24:22 +0100 |
commit | 7c58e97bf6f80a251046c5b3e7bce826fe058bd6 (patch) | |
tree | 7d32d26b320cf83296ee0ede2ea164ad116c4de8 /client/mysqladmin.cc | |
parent | 2ac3121af2767186c489054db5d4871d04b8eef4 (diff) | |
download | mariadb-git-7c58e97bf6f80a251046c5b3e7bce826fe058bd6.tar.gz |
perfschema memory related instrumentation changes
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index bc1403b283a..1a128e61533 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -254,7 +254,7 @@ get_one_option(const struct my_option *opt, char *argument, const char *) { char *start=argument; my_free(opt_password); - opt_password=my_strdup(argument,MYF(MY_FAE)); + opt_password=my_strdup(PSI_NOT_INSTRUMENTED, argument,MYF(MY_FAE)); while (*argument) *argument++= 'x'; /* Destroy argument */ if (*start) start[1]=0; /* Cut length of argument */ @@ -1357,11 +1357,11 @@ static char **mask_password(int argc, char ***argv) if (!argc) return NULL; - temp_argv= (char **)(my_malloc(sizeof(char *) * argc, MYF(MY_WME))); + temp_argv= (char **)(my_malloc(PSI_NOT_INSTRUMENTED, sizeof(char *) * argc, MYF(MY_WME))); argc--; while (argc > 0) { - temp_argv[argc]= my_strdup((*argv)[argc], MYF(MY_FAE)); + temp_argv[argc]= my_strdup(PSI_NOT_INSTRUMENTED, (*argv)[argc], MYF(MY_FAE)); if (find_type((*argv)[argc - 1],&command_typelib, FIND_TYPE_BASIC) == ADMIN_PASSWORD || find_type((*argv)[argc - 1],&command_typelib, FIND_TYPE_BASIC) == ADMIN_OLD_PASSWORD) { @@ -1374,7 +1374,7 @@ static char **mask_password(int argc, char ***argv) } argc--; } - temp_argv[argc]= my_strdup((*argv)[argc], MYF(MY_FAE)); + temp_argv[argc]= my_strdup(PSI_NOT_INSTRUMENTED, (*argv)[argc], MYF(MY_FAE)); return(temp_argv); } |