diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index a05b98e85ba..a5d83c2951d 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -176,6 +176,7 @@ end: } +#ifndef EMBEDDED_LIBRARY /* Check if user exist and password supplied is correct. @@ -351,6 +352,9 @@ static int check_user(THD *thd, enum enum_server_command command, DBUG_RETURN(-1); } +#endif // EMBEDDED_LIBRARY + + /* Check for maximum allowable user connections, if the mysqld server is started with corresponding variable that is greater then 0.