diff --git a/lib/ClickHouse_Authentication.cpp b/lib/ClickHouse_Authentication.cpp index e127ce72c..057ed37ba 100644 --- a/lib/ClickHouse_Authentication.cpp +++ b/lib/ClickHouse_Authentication.cpp @@ -361,9 +361,9 @@ bool ClickHouse_Authentication::exists(char * username) { myhash.Update(username,strlen(username)); myhash.Final(&hash1,&hash2); - creds_group_t &cg = creds_frontends ; + ch_creds_group_t &cg = creds_frontends ; pthread_rwlock_rdlock(&cg.lock); - std::map::iterator lookup; + std::map::iterator lookup; lookup = cg.bt_map.find(hash1); if (lookup != cg.bt_map.end()) { ret = true;