From 7efa0ee1d4ca5ec469669e2b61276e75d126f01c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 3 Sep 2003 21:52:42 +0400 Subject: [PATCH] fixed bug - check_user shall not be included into the embedded library. --- sql/sql_parse.cc | 4 ++++ 1 file changed, 4 insertions(+) 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.