~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Monty Taylor
  • Date: 2008-11-06 22:10:09 UTC
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081106221009-76yap6xcnilqmh0t
Moved stuff to handlerton.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
2930
2930
  if (type == OPT_GLOBAL)
2931
2931
    plugin= my_plugin_lock(session, &(global_system_variables.*offset));
2932
2932
  hton= plugin_data(plugin, handlerton*);
2933
 
  engine_name= &hton2plugin[hton->slot]->name;
 
2933
  engine_name= ha_storage_engine_name(hton);
2934
2934
  result= (unsigned char *) session->strmake(engine_name->str, engine_name->length);
2935
2935
  if (type == OPT_GLOBAL)
2936
2936
    plugin_unlock(session, plugin);