~stewart/drizzle/embedded-innodb-rnd-read

« back to all changes in this revision

Viewing changes to extra/my_print_defaults.cc

  • Committer: Stewart Smith
  • Date: 2010-04-06 07:37:28 UTC
  • mfrom: (1310.1.44)
  • Revision ID: stewart@flamingspork.com-20100406073728-ml0gfkm3n3yq3lj3
Merged embedded-innodb-write-row into embedded-innodb-rnd-read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "config.h"
24
24
#include "drizzled/internal/my_sys.h"
25
25
#include "drizzled/internal/m_string.h"
26
 
#include "drizzled/my_getopt.h"
 
26
#include "drizzled/option.h"
27
27
 
28
28
#include <stdio.h>
29
29
 
32
32
const char *config_file="drizzle";              /* Default config file */
33
33
uint32_t verbose= 0, opt_defaults_file_used= 0;
34
34
 
35
 
static struct my_option my_long_options[] =
 
35
static struct option my_long_options[] =
36
36
{
37
37
  /*
38
38
    NB: --config-file is troublesome, because get_defaults_options() doesn't
92
92
  printf("\nExample usage:\n%s --defaults-file=example.cnf client mysql\n", internal::my_progname);
93
93
}
94
94
 
95
 
static int get_one_option(int optid, const struct my_option *, char *)
 
95
static int get_one_option(int optid, const struct option *, char *)
96
96
{
97
97
  switch (optid) {
98
98
    case 'c':