From 9560ff99c95f680b4c58595bc6b1aeb631128815 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 2 Apr 2010 22:08:40 +0200 Subject: embedded builds used to refer to undefined functions inside if(0) { } gcc optimized this dead code away, and does not notice that functions were undefined. Other compilers are more picky --- sql/sql_acl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 63c95015efe..b95b2103c08 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -6849,6 +6849,7 @@ bool check_routine_level_acl(THD *thd, const char *db, const char *name, #define initialized 0 #define decrease_user_connections(X) /* nothing */ #define check_for_max_user_connections(X,Y) 0 +#define get_or_create_user_conn(A,B,C,D) 0 #endif #endif #ifndef HAVE_OPENSSL -- cgit v1.2.1