~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzlecheck.c

  • Committer: Monty Taylor
  • Date: 2008-08-06 02:14:03 UTC
  • mto: (266.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: monty@inaugust.com-20080806021403-f7eegu1nbvx10x66
Removed client insistence on version.h stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
   0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
124
124
  {"port", 'P', "Port number to use for connection or 0 for default to, in "
125
125
   "order of preference, my.cnf, $MYSQL_TCP_PORT, "
126
 
#if MYSQL_PORT_DEFAULT == 0
127
 
   "/etc/services, "
128
 
#endif
129
126
   "built-in default (" STRINGIFY_ARG(MYSQL_PORT) ").",
130
127
   (char**) &opt_mysql_port,
131
128
   (char**) &opt_mysql_port, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0, 0, 0,
186
183
static void print_version(void)
187
184
{
188
185
  printf("%s  Ver %s Distrib %s, for %s (%s)\n", my_progname, CHECK_VERSION,
189
 
   MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
 
186
   drizzle_get_client_info(), SYSTEM_TYPE, MACHINE_TYPE);
190
187
} /* print_version */
191
188
 
192
189
static void usage(void)