//( (default_hostgroup<0 && admin==true) || (default_hostgroup>=0 && admin==false) || strncmp(client_myds->myconn->userinfo->username,mysql_thread___monitor_username,strlen(mysql_thread___monitor_username))==0 ) // FIXME: maybe this check is not necessary
&&
((default_hostgroup<0&&admin==true)||(default_hostgroup>=0&&admin==false)||strncmp(client_myds->myconn->userinfo->username,mysql_thread___monitor_username,strlen(mysql_thread___monitor_username))==0)// Do not delete this line. See bug #492