50 if ((user_ctx.username() ==
"root")
51 || schema.compare(
"data_dictionary")
52 || schema.compare(
"information_schema"))
57 std::string username(user_ctx.username());
60 found=username.find_first_of(
'.');
61 while (found!=std::string::npos)
63 username.replace(found, 1, remap_dot_to);
64 found=username.find_first_of(
'.',found+1);
67 return not schema.compare(username);