~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:16:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1021.
  • Revision ID: brian@gaz-20090515071635-chkog3hw0ht2f8mw
A number of random cleanups.

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
}