~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Brian Aker
  • Date: 2009-10-15 18:32:22 UTC
  • mfrom: (1130.3.47 memory-file-moves)
  • Revision ID: brian@gaz-20091015183222-n79fjde41epz9u6g
Merge memory

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
#include <drizzled/item/float.h>
60
60
#include <drizzled/plugin.h>
61
61
 
62
 
#include "drizzled/registry.h"
 
62
#include "drizzled/name_map.h"
63
63
#include <map>
64
64
#include <algorithm>
65
65
 
71
71
 
72
72
class sys_var_pluginvar;
73
73
static DYNAMIC_ARRAY fixed_show_vars;
74
 
static drizzled::Registry<sys_var *> system_variable_hash;
 
74
static NameMap<sys_var *> system_variable_hash;
75
75
extern char *opt_drizzle_tmpdir;
76
76
 
77
77
const char *bool_type_names[]= { "OFF", "ON", NULL };
1779
1779
    SHOW_VAR *show= result + fixed_count;
1780
1780
    memcpy(result, fixed_show_vars.buffer, fixed_count * sizeof(SHOW_VAR));
1781
1781
 
1782
 
    drizzled::Registry<sys_var *>::const_iterator iter;
 
1782
    NameMap<sys_var *>::const_iterator iter;
1783
1783
    for(iter= system_variable_hash.begin();
1784
1784
        iter != system_variable_hash.end();
1785
1785
        iter++)