diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-03-13 14:25:50 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-03-13 14:25:50 +0400 |
commit | 7b2d7bea5e8315f25def764ba220e089ce288a52 (patch) | |
tree | d4937b7235c136db30d50e473406ac1e1dbce2cd | |
parent | 43f129ebfb4215266934739083ef6460b65e633f (diff) | |
download | mariadb-git-7b2d7bea5e8315f25def764ba220e089ce288a52.tar.gz |
compilation(embedded server) failure fix
-rw-r--r-- | sql/mysqld.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index b88e6b641dd..7fe498ae147 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -2925,18 +2925,16 @@ pthread_handler_t handle_shutdown(void *arg) } #endif -#if !defined(EMBEDDED_LIBRARY) const char *load_default_groups[]= { #ifdef WITH_NDBCLUSTER_STORAGE_ENGINE "mysql_cluster", #endif "mysqld","server", MYSQL_BASE_VERSION, 0, 0}; -#if defined(__WIN__) +#if defined(__WIN__) && !defined(EMBEDDED_LIBRARY) static const int load_default_groups_sz= sizeof(load_default_groups)/sizeof(load_default_groups[0]); #endif -#endif /*!EMBEDDED_LIBRARY*/ /** |