~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Monty Taylor
  • Date: 2010-11-08 18:26:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1931.
  • Revision ID: mordred@inaugust.com-20101108182608-lci86acl7r53sbi3
Replaced auto_ptr with scoped_ptr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include "drizzled/plugin/daemon.h"
37
37
 
38
38
#include <boost/algorithm/string.hpp>
 
39
#include <boost/scoped_ptr.hpp>
39
40
 
40
41
#include <string>
41
42
#include <sstream>
904
905
  else if (mode == HA_KEY_SWITCH_NONUNIQ_SAVE)
905
906
  {
906
907
    Session *session= getTable()->in_use;
907
 
    auto_ptr<MI_CHECK> param_ap(new MI_CHECK);
 
908
    boost::scoped_ptr<MI_CHECK> param_ap(new MI_CHECK);
908
909
    MI_CHECK &param= *param_ap.get();
909
910
    const char *save_proc_info= session->get_proc_info();
910
911
    session->set_proc_info("Creating index");