diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-04-02 22:08:40 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-04-02 22:08:40 +0200 |
commit | 9560ff99c95f680b4c58595bc6b1aeb631128815 (patch) | |
tree | d2660276caff451a5962c76eeefd5080fbf94f79 /sql/sql_acl.cc | |
parent | d979dd6f81394f115a2ae744b207d134db5b8241 (diff) | |
download | mariadb-git-9560ff99c95f680b4c58595bc6b1aeb631128815.tar.gz |
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
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r-- | sql/sql_acl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |