~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Monty Taylor
  • Date: 2009-04-08 07:16:54 UTC
  • mto: (992.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 986.
  • Revision ID: mordred@inaugust.com-20090408071654-3bg2ek90us0fioc8
Store StorageEngine in system variables, rather than storage engine plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3045
3045
      {
3046
3046
        LEX_STRING engine_name= { (char*)table.engine().name().c_str(),
3047
3047
                                 strlen(table.engine().name().c_str()) };
3048
 
        st_plugin_int *plugin= ha_resolve_by_name(session, &engine_name);
3049
 
        if(plugin)
3050
 
          args.engine= static_cast<StorageEngine *>(plugin->data);
 
3048
        args.engine= ha_resolve_by_name(session, &engine_name);
3051
3049
      }
3052
3050
    }
3053
3051
  }