mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
Added mariadb and mariadb-version as my.conf option tags
Fixed compiler error when configuring without --lib-event include/mysql_version.h.in: Added mariadb-'version' as a my.cnf option tag for mysqld sql/mysqld.cc: Added mariadb and mariadb-version as my.conf option tags
This commit is contained in:
parent
c97f25a02f
commit
4c83c570ed
3 changed files with 7 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
#define PROTOCOL_VERSION @PROTOCOL_VERSION@
|
||||
#define MYSQL_SERVER_VERSION "@VERSION@"
|
||||
#define MYSQL_BASE_VERSION "mysqld-@MYSQL_BASE_VERSION@"
|
||||
#define MARIADB_BASE_VERSION "mariadb-@MYSQL_BASE_VERSION@"
|
||||
#define MYSQL_SERVER_SUFFIX_DEF "@MYSQL_SERVER_SUFFIX@"
|
||||
#define FRM_VER @DOT_FRM_VERSION@
|
||||
#define MYSQL_VERSION_ID @MYSQL_VERSION_ID@
|
||||
|
|
|
@ -3014,7 +3014,9 @@ static const char *load_default_groups[]= {
|
|||
#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
|
||||
"mysql_cluster",
|
||||
#endif
|
||||
"mysqld","server", MYSQL_BASE_VERSION, 0, 0};
|
||||
"mysqld", "server", MYSQL_BASE_VERSION,
|
||||
"mariadb", MARIADB_BASE_VERSION,
|
||||
0, 0};
|
||||
|
||||
#if defined(__WIN__)
|
||||
static const int load_default_groups_sz=
|
||||
|
|
|
@ -82,7 +82,9 @@ void pool_of_threads_scheduler(scheduler_functions* func);
|
|||
#else
|
||||
|
||||
#define HAVE_POOL_OF_THREADS 0 /* For easyer tests */
|
||||
#define pool_of_threads_scheduler(A) one_thread_per_connection_scheduler(A)
|
||||
#define pool_of_threads_scheduler(A) \
|
||||
one_thread_per_connection_scheduler(A, &max_connections, \
|
||||
&connection_count)
|
||||
|
||||
class thd_scheduler
|
||||
{};
|
||||
|
|
Loading…
Add table
Reference in a new issue