Commit 7b2d7bea authored by Sergey Glukhov's avatar Sergey Glukhov

compilation(embedded server) failure fix

parent 43f129eb
...@@ -2925,18 +2925,16 @@ pthread_handler_t handle_shutdown(void *arg) ...@@ -2925,18 +2925,16 @@ pthread_handler_t handle_shutdown(void *arg)
} }
#endif #endif
#if !defined(EMBEDDED_LIBRARY)
const char *load_default_groups[]= { const char *load_default_groups[]= {
#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE #ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
"mysql_cluster", "mysql_cluster",
#endif #endif
"mysqld","server", MYSQL_BASE_VERSION, 0, 0}; "mysqld","server", MYSQL_BASE_VERSION, 0, 0};
#if defined(__WIN__) #if defined(__WIN__) && !defined(EMBEDDED_LIBRARY)
static const int load_default_groups_sz= static const int load_default_groups_sz=
sizeof(load_default_groups)/sizeof(load_default_groups[0]); sizeof(load_default_groups)/sizeof(load_default_groups[0]);
#endif #endif
#endif /*!EMBEDDED_LIBRARY*/
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment