mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
unify client/tool version string
it should now always be /path/to/exe Ver <tool version> Distrib <server version> for <OS> (<ARCH>) in all tools and clients
This commit is contained in:
parent
314e50b464
commit
eb26bf6e09
32 changed files with 69 additions and 205 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
/* By Jani Tolonen, 2001-04-20, MySQL Development Team */
|
||||
|
||||
#define CHECK_VERSION "2.7.4-MariaDB"
|
||||
#define VER "2.8"
|
||||
|
||||
#include "client_priv.h"
|
||||
#include <m_ctype.h>
|
||||
|
|
@ -228,7 +228,6 @@ static const char *load_default_groups[]=
|
|||
0 };
|
||||
|
||||
|
||||
static void print_version(void);
|
||||
static void usage(void);
|
||||
static int get_options(int *argc, char ***argv);
|
||||
static int process_all_databases();
|
||||
|
|
@ -248,13 +247,6 @@ static char *fix_table_name(char *dest, char *src);
|
|||
int what_to_do = 0;
|
||||
|
||||
|
||||
static void print_version(void)
|
||||
{
|
||||
printf("%s Ver %s Distrib %s, for %s (%s)\n", my_progname, CHECK_VERSION,
|
||||
MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
|
||||
} /* print_version */
|
||||
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
DBUG_ENTER("usage");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue