~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 */
26
26
 
27
27
#ifdef DRIZZLED
28
 
#include "config.h"
 
28
#include <config.h>
29
29
#include <set>
30
30
#include <drizzled/common.h>
31
31
#include <drizzled/plugin.h>
32
32
#include <drizzled/session.h>
 
33
#include <drizzled/sql_lex.h>
33
34
 
34
35
 
35
36
#define my_strdup(a,b) strdup(a)
384
385
#ifdef DRIZZLED
385
386
        my_table_match = set_match_type(my_table_list.c_str());
386
387
        const module::option_map &vm= context.getOptions();
387
 
        my_events_enabled= (vm.count("watch-disable")) ? false : true;
 
388
        my_events_enabled= not vm.count("watch-disable");
388
389
 
389
390
        context.registerVariable(new sys_var_constrained_value_readonly<in_port_t>("port",
390
391
                                                                         pbms_port_number));