~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/mysqlshow.c

  • Committer: brian
  • Date: 2008-06-29 12:18:49 UTC
  • Revision ID: brian@localhost.localdomain-20080629121849-2le5txjj7tkdq54f
Fix for stat, NETWARE removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
 
159
159
static struct my_option my_long_options[] =
160
160
{
161
 
#ifdef __NETWARE__
162
 
  {"autoclose", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
163
 
   0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
164
 
#endif
165
161
  {"character-sets-dir", 'c', "Directory where character sets are.",
166
162
   (uchar**) &charsets_dir, (uchar**) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0,
167
163
   0, 0, 0, 0, 0},
204
200
   (uchar**) &opt_mysql_port,
205
201
   (uchar**) &opt_mysql_port, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0, 0, 0,
206
202
   0},
207
 
#ifdef __WIN__
208
 
  {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG,
209
 
   NO_ARG, 0, 0, 0, 0, 0, 0},
210
 
#endif
211
203
  {"protocol", OPT_MYSQL_PROTOCOL, "The protocol of connection (tcp,socket,pipe,memory).",
212
204
   0, 0, 0, GET_STR,  REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
213
205
#ifdef HAVE_SMEM
240
232
{
241
233
  printf("%s  Ver %s Distrib %s, for %s (%s)\n",my_progname,SHOW_VERSION,
242
234
         MYSQL_SERVER_VERSION,SYSTEM_TYPE,MACHINE_TYPE);
243
 
  NETWARE_SET_SCREEN_MODE(1);
244
235
}
245
236
 
246
237
 
270
261
               char *argument)
271
262
{
272
263
  switch(optid) {
273
 
#ifdef __NETWARE__
274
 
  case OPT_AUTO_CLOSE:
275
 
    setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
276
 
    break;
277
 
#endif
278
264
  case 'v':
279
265
    opt_verbose++;
280
266
    break;