~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Monty Taylor
  • Date: 2008-10-04 18:42:30 UTC
  • Revision ID: monty@inaugust.com-20081004184230-j2j1uottu2d0yl0m
Removed NullS. bu-bye.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
static DYNAMIC_ARRAY fixed_show_vars;
61
61
static HASH system_variable_hash;
62
62
 
63
 
const char *bool_type_names[]= { "OFF", "ON", NullS };
 
63
const char *bool_type_names[]= { "OFF", "ON", NULL };
64
64
TYPELIB bool_typelib=
65
65
{
66
66
  array_elements(bool_type_names)-1, "", bool_type_names, NULL
67
67
};
68
68
 
69
 
const char *delay_key_write_type_names[]= { "OFF", "ON", "ALL", NullS };
 
69
const char *delay_key_write_type_names[]= { "OFF", "ON", "ALL", NULL };
70
70
TYPELIB delay_key_write_typelib=
71
71
{
72
72
  array_elements(delay_key_write_type_names)-1, "",
74
74
};
75
75
 
76
76
const char *slave_exec_mode_names[]=
77
 
{ "STRICT", "IDEMPOTENT", NullS };
 
77
{ "STRICT", "IDEMPOTENT", NULL };
78
78
static const unsigned int slave_exec_mode_names_len[]=
79
79
{ sizeof("STRICT") - 1, sizeof("IDEMPOTENT") - 1, 0 };
80
80
TYPELIB slave_exec_mode_typelib=
295
295
static sys_var_thd_ulong        sys_optimizer_search_depth(&vars, "optimizer_search_depth",
296
296
                                                   &SV::optimizer_search_depth);
297
297
 
298
 
const char *optimizer_use_mrr_names[] = {"auto", "force", "disable", NullS};
 
298
const char *optimizer_use_mrr_names[] = {"auto", "force", "disable", NULL};
299
299
TYPELIB optimizer_use_mrr_typelib= {
300
300
  array_elements(optimizer_use_mrr_names) - 1, "",
301
301
  optimizer_use_mrr_names, NULL