summaryrefslogtreecommitdiff
path: root/sql/hash_filo.h
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 /sql/hash_filo.h
parent7af733a5a2cb7f79ffb5ff0129cad6db6f3cc359 (diff)
downloadmariadb-git-c1c5222caed889169fab01612b335ef8b5f56ba5.tar.gz
cleanup: PSI key is *always* the first argument
Diffstat (limited to 'sql/hash_filo.h')
-rw-r--r--sql/hash_filo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hash_filo.h b/sql/hash_filo.h
index 864e91594b2..ac84e5ccb7b 100644
--- a/sql/hash_filo.h
+++ b/sql/hash_filo.h
@@ -94,8 +94,8 @@ public:
first_link= NULL;
last_link= NULL;
(void) my_hash_free(&cache);
- (void) my_hash_init(&cache,hash_charset,m_size,key_offset,
- key_length, get_key, free_element, 0, m_psi_key);
+ (void) my_hash_init(m_psi_key, &cache,hash_charset,m_size,key_offset,
+ key_length, get_key, free_element, 0);
if (!locked)
mysql_mutex_unlock(&lock);
}