~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Monty Taylor
  • Date: 2009-04-07 18:28:34 UTC
  • mto: (992.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 978.
  • Revision ID: mordred@inaugust.com-20090407182834-jkbtk43t4xv909v5
Slurp around strings rather than char* for storage engine name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2377
2377
  if (type == OPT_GLOBAL)
2378
2378
    plugin= plugin_lock(&(global_system_variables.*offset));
2379
2379
  engine= plugin_data(plugin, StorageEngine*);
2380
 
  engine_name= engine->get_name();
 
2380
  engine_name= engine->getName();
2381
2381
  result= (unsigned char *) session->strmake(engine_name.c_str(),
2382
2382
                                             engine_name.size());
2383
2383
  return result;