summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-02-27 11:52:20 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:23 +0100
commitc1c5222caed889169fab01612b335ef8b5f56ba5 (patch)
tree5a51707f5e35c4bd3a8cbccc4fd08a9fd67f6914 /client/mysqldump.c
parent7af733a5a2cb7f79ffb5ff0129cad6db6f3cc359 (diff)
downloadmariadb-git-c1c5222caed889169fab01612b335ef8b5f56ba5.tar.gz
cleanup: PSI key is *always* the first argument
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 26866b6cb14..263b6ffbf38 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1001,11 +1001,11 @@ static int get_options(int *argc, char ***argv)
load_defaults_or_exit("my", load_default_groups, argc, argv);
defaults_argv= *argv;
- if (my_hash_init(&ignore_database, charset_info, 16, 0, 0,
- (my_hash_get_key) get_table_key, my_free, 0, PSI_NOT_INSTRUMENTED))
+ if (my_hash_init(PSI_NOT_INSTRUMENTED, &ignore_database, charset_info, 16, 0, 0,
+ (my_hash_get_key) get_table_key, my_free, 0))
return(EX_EOM);
- if (my_hash_init(&ignore_table, charset_info, 16, 0, 0,
- (my_hash_get_key) get_table_key, my_free, 0, PSI_NOT_INSTRUMENTED))
+ if (my_hash_init(PSI_NOT_INSTRUMENTED, &ignore_table, charset_info, 16, 0, 0,
+ (my_hash_get_key) get_table_key, my_free, 0))
return(EX_EOM);
/* Don't copy internal log tables */
if (my_hash_insert(&ignore_table, (uchar*) my_strdup(PSI_NOT_INSTRUMENTED,