~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Brian Aker
  • Date: 2009-05-15 07:40:30 UTC
  • mfrom: (1019.1.7 merge)
  • Revision ID: brian@gaz-20090515074030-che1sh7nqadhyj45
Code / Style cleanup merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2089
2089
  for (opt= p->plugin->system_vars; opt && *opt; opt++, count+= 2) {};
2090
2090
 
2091
2091
  if (!(opts= (my_option*) alloc_root(mem_root, sizeof(my_option) * count)))
2092
 
    return(NULL);
 
2092
    return NULL;
2093
2093
 
2094
2094
  memset(opts, 0, sizeof(my_option) * count);
2095
2095
 
2102
2102
 
2103
2103
 
2104
2104
  if (construct_options(mem_root, p, opts, can_disable))
2105
 
    return(NULL);
 
2105
    return NULL;
2106
2106
 
2107
2107
  return(opts);
2108
2108
}