~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleimport.cc

Changed my.cnf to drizzle.cnf and /etc/mysql to /etc/drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
   "Password to use when connecting to server. If password is not given it's asked from the tty.",
125
125
   0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
126
126
  {"port", 'P', "Port number to use for connection or 0 for default to, in "
127
 
   "order of preference, my.cnf, $DRIZZLE_TCP_PORT, "
 
127
   "order of preference, drizzle.cnf, $DRIZZLE_TCP_PORT, "
128
128
   "built-in default (" STRINGIFY_ARG(DRIZZLE_PORT) ").",
129
129
   (char**) &opt_drizzle_port,
130
130
   (char**) &opt_drizzle_port, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0, 0, 0,
177
177
file. The SQL command 'LOAD DATA INFILE' is used to import the rows.\n");
178
178
 
179
179
  printf("\nUsage: %s [OPTIONS] database textfile...",my_progname);
180
 
  print_defaults("my",load_default_groups);
 
180
  print_defaults("drizzle",load_default_groups);
181
181
  my_print_help(my_long_options);
182
182
  my_print_variables(my_long_options);
183
183
}
519
519
  char **argv_to_free;
520
520
  MY_INIT(argv[0]);
521
521
 
522
 
  load_defaults("my",load_default_groups,&argc,&argv);
 
522
  load_defaults("drizzle",load_default_groups,&argc,&argv);
523
523
  /* argv is changed in the program */
524
524
  argv_to_free= argv;
525
525
  if (get_options(&argc, &argv))