~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Lee Bieber
  • Date: 2011-02-17 01:20:35 UTC
  • mfrom: (2173.1.4 build)
  • Revision ID: kalebral@gmail.com-20110217012035-bcy3wm3ewvwc2bra
Merge Andrew - 719892 Change docs for rpm.drizzle.org
Merge Patrick - 719445: dbqp not being included in tarballs / make distcheck
Merge Stewart - remove some unused cmd line options for drizzledump
Merge Marisa - 716062 - fix ubuntu install doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
#define EX_DRIZZLEERR 2
59
59
#define EX_EOF 5 /* ferror for output file was got */
60
60
 
61
 
bool opt_alltspcs= false;
62
 
bool opt_complete_insert= false;
63
61
bool  verbose= false;
64
62
static bool use_drizzle_protocol= false;
65
63
bool ignore_errors= false;
463
461
  commandline_options.add_options()
464
462
  ("all-databases,A", po::value<bool>(&opt_alldbs)->default_value(false)->zero_tokens(),
465
463
  _("Dump all the databases. This will be same as --databases with all databases selected."))
466
 
  ("all-tablespaces,Y", po::value<bool>(&opt_alltspcs)->default_value(false)->zero_tokens(),
467
 
  _("Dump all the tablespaces."))
468
 
  ("complete-insert,c", po::value<bool>(&opt_complete_insert)->default_value(false)->zero_tokens(),
469
 
  _("Use complete insert statements."))
470
464
  ("flush-logs,F", po::value<bool>(&flush_logs)->default_value(false)->zero_tokens(),
471
465
  _("Flush logs file in server before starting dump. Note that if you dump many databases at once (using the option --databases= or --all-databases), the logs will be flushed for each database dumped. The exception is when using --lock-all-tables in this case the logs will be flushed only once, corresponding to the moment all tables are locked. So if you want your dump and the log flush to happen at the same exact moment you should use --lock-all-tables or --flush-logs"))
472
466
  ("force,f", po::value<bool>(&ignore_errors)->default_value(false)->zero_tokens(),