~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
using namespace std;
47
47
 
48
 
extern "C"
49
 
bool get_one_option(int optid, const struct my_option *, char *argument);
50
 
 
51
48
/* Exit codes */
52
49
 
53
50
#define EX_USAGE 1
147
144
 
148
145
static const CHARSET_INFO *charset_info= &my_charset_utf8_general_ci;
149
146
 
150
 
const char *compatible_mode_names[]=
 
147
static const char *compatible_mode_names[]=
151
148
{
152
149
  "MYSQL323", "MYSQL40", "POSTGRESQL", "ORACLE", "MSSQL", "DB2",
153
150
  "MAXDB", "NO_KEY_OPTIONS", "NO_TABLE_OPTIONS", "NO_FIELD_OPTIONS",
163
160
 (1<<6)  | /* MAXDB      */\
164
161
 (1<<10)   /* ANSI       */\
165
162
)
166
 
TYPELIB compatible_mode_typelib= {array_elements(compatible_mode_names) - 1,
 
163
static TYPELIB compatible_mode_typelib= {array_elements(compatible_mode_names) - 1,
167
164
                                  "", compatible_mode_names, NULL};
168
165
 
169
166
HASH ignore_table;
543
540
}
544
541
 
545
542
 
546
 
bool get_one_option(int optid, const struct my_option *, char *argument)
 
543
extern "C" bool get_one_option(int optid, const struct my_option *, char *argument);
 
544
 
 
545
extern "C" bool get_one_option(int optid, const struct my_option *, char *argument)
547
546
{
548
547
  char *endchar= NULL;
549
548
  uint64_t temp_drizzle_port= 0;