~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/parameters_ms.cc

  • Committer: Lee Bieber
  • Date: 2011-04-13 21:07:45 UTC
  • mfrom: (2252.1.29 program-options)
  • mto: This revision was merged to the branch mainline in revision 2277.
  • Revision ID: kalebral@gmail.com-20110413210745-2e3tukhwa72zggcz
Merge Olaf - Refactor Program Options usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
#ifdef DRIZZLED
386
386
        my_table_match = set_match_type(my_table_list.c_str());
387
387
        const module::option_map &vm= context.getOptions();
388
 
        my_events_enabled= (vm.count("watch-disable")) ? false : true;
 
388
        my_events_enabled= not vm.count("watch-disable");
389
389
 
390
390
        context.registerVariable(new sys_var_constrained_value_readonly<in_port_t>("port",
391
391
                                                                         pbms_port_number));