diff options
author | Monty <monty@mariadb.org> | 2019-07-18 15:32:22 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-07-18 15:32:22 +0300 |
commit | 47334649752e109360c9e22b8f8019a0df51fe93 (patch) | |
tree | 343a69f76e7aee854ed7c8c399b94fd0a05a9465 /client | |
parent | 5a95a33e309d0b2c6bc0f938ad925e3f74b0f921 (diff) | |
download | mariadb-git-47334649752e109360c9e22b8f8019a0df51fe93.tar.gz |
Fixed that mariadb-# binaries reads their corresponding entry from my.cnf
- Added mariadb-# to load_default_groups to all mariadb-# scripts and
mariadb-binaries.
- Added mariadbd and mariadbd-"version" to load_default_groups for the
mysqld/mariadb server
- Added mariadb-client to load_default_groups for the mysql/mariadb client
Other things
- Ignored mysql-test/lib/My/SafeProcess/wsrep_check_version
- mysql_install_db will now automatically detect if run from srcdir
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 2 | ||||
-rw-r--r-- | client/mysql_upgrade.c | 1 | ||||
-rw-r--r-- | client/mysqladmin.cc | 3 | ||||
-rw-r--r-- | client/mysqlbinlog.cc | 3 | ||||
-rw-r--r-- | client/mysqlcheck.c | 3 | ||||
-rw-r--r-- | client/mysqldump.c | 3 | ||||
-rw-r--r-- | client/mysqlimport.c | 3 | ||||
-rw-r--r-- | client/mysqlshow.c | 3 | ||||
-rw-r--r-- | client/mysqlslap.c | 3 | ||||
-rw-r--r-- | client/mysqltest.cc | 3 |
10 files changed, 18 insertions, 9 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 47ab7644a50..d3d273c3a72 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1034,7 +1034,7 @@ static COMMANDS commands[] = { }; static const char *load_default_groups[]= -{ "mysql", "client", "client-server", "client-mariadb", 0 }; +{ "mysql", "mariadb-client", "client", "client-server", "client-mariadb", 0 }; static int embedded_server_arg_count= 0; static char *embedded_server_args[MAX_SERVER_ARGS]; diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index 59ec622ad8c..39fe715bdff 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -173,6 +173,7 @@ static const char *load_default_groups[]= { "client", /* Read settings how to connect to server */ "mysql_upgrade", /* Read special settings for mysql_upgrade */ + "mariadb-upgrade", /* Read special settings for mysql_upgrade */ "client-server", /* Reads settings common between client & server */ "client-mariadb", /* Read mariadb unique client settings */ 0 diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index baffe98abb7..32096fef996 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -237,7 +237,8 @@ static struct my_option my_long_options[] = static const char *load_default_groups[]= -{ "mysqladmin", "client", "client-server", "client-mariadb", 0 }; +{ "mysqladmin", "mariadb-admin", "client", "client-server", "client-mariadb", + 0 }; my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index d28de8aeda6..f11019d707b 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -94,7 +94,8 @@ static const char *default_dbug_option = "d:t:o,/tmp/mysqlbinlog.trace"; const char *current_dbug_option= default_dbug_option; #endif static const char *load_groups[]= -{ "mysqlbinlog", "client", "client-server", "client-mariadb", 0 }; +{ "mysqlbinlog", "mariadb-binlog", "client", "client-server", "client-mariadb", + 0 }; static void error(const char *format, ...) ATTRIBUTE_FORMAT(printf, 1, 2); static void warning(const char *format, ...) ATTRIBUTE_FORMAT(printf, 1, 2); diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 7e9546e0dc2..c1859440446 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -222,7 +222,8 @@ static struct my_option my_long_options[] = }; static const char *load_default_groups[]= -{ "mysqlcheck", "client", "client-server", "client-mariadb", 0 }; +{ "mysqlcheck", "mariadb-check", "client", "client-server", "client-mariadb", + 0 }; static void print_version(void); diff --git a/client/mysqldump.c b/client/mysqldump.c index 578bb0a067c..c8df04603f0 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -555,7 +555,8 @@ static struct my_option my_long_options[] = }; static const char *load_default_groups[]= -{ "mysqldump", "client", "client-server", "client-mariadb", 0 }; +{ "mysqldump", "mariadb-dump", "client", "client-server", "client-mariadb", + 0 }; static void maybe_exit(int error); static void die(int error, const char* reason, ...); diff --git a/client/mysqlimport.c b/client/mysqlimport.c index cfdb183414a..67dc11d7117 100644 --- a/client/mysqlimport.c +++ b/client/mysqlimport.c @@ -187,7 +187,8 @@ static struct my_option my_long_options[] = static const char *load_default_groups[]= -{ "mysqlimport","client", "client-server", "client-mariadb", 0 }; +{ "mysqlimport", "mariadb-import", "client", "client-server", "client-mariadb", + 0 }; static void print_version(void) diff --git a/client/mysqlshow.c b/client/mysqlshow.c index 4e2f9e83340..db5c2bbbbe6 100644 --- a/client/mysqlshow.c +++ b/client/mysqlshow.c @@ -56,7 +56,8 @@ static void print_res_top(MYSQL_RES *result); static void print_res_row(MYSQL_RES *result,MYSQL_ROW cur); static const char *load_default_groups[]= -{ "mysqlshow","client", "client-server", "client-mariadb", 0 }; +{ "mysqlshow", "mariadb-show", "client", "client-server", "client-mariadb", + 0 }; static char * opt_mysql_unix_port=0; int main(int argc, char **argv) diff --git a/client/mysqlslap.c b/client/mysqlslap.c index 3339acce314..473bb12dc11 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -177,7 +177,8 @@ static int get_options(int *argc,char ***argv); static uint opt_mysql_port= 0; static const char *load_default_groups[]= -{ "mysqlslap", "client", "client-server", "client-mariadb", 0 }; +{ "mysqlslap", "mariadb-slap", "client", "client-server", "client-mariadb", + 0 }; typedef struct statement statement; diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 139377d3889..3c9b26d0412 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -136,7 +136,8 @@ static my_bool server_initialized= 0; static my_bool is_windows= 0; static char **default_argv; static const char *load_default_groups[]= -{ "mysqltest", "client", "client-server", "client-mariadb", 0 }; +{ "mysqltest", "mariadb-test", "client", "client-server", "client-mariadb", + 0 }; static char line_buffer[MAX_DELIMITER_LENGTH], *line_buffer_pos= line_buffer; /* Info on properties that can be set with --enable_X and --disable_X */ |