~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Stewart Smith
  • Date: 2010-02-04 04:41:33 UTC
  • mto: (1286.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1287.
  • Revision ID: stewart@flamingspork.com-20100204044133-sapcarwrod9yhzag
if error reading table proto in DROP TABLE code path, do a simple error out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
710
710
                                                         identifier,
711
711
                                                         &src_proto);
712
712
 
 
713
  if (error_proto)
 
714
  {
 
715
    my_error(ER_CORRUPT_TABLE_DEFINITION, MYF(0),
 
716
             src_proto.InitializationErrorString().c_str());
 
717
    return ER_CORRUPT_TABLE_DEFINITION;
 
718
  }
 
719
 
713
720
  engine= plugin::StorageEngine::findByName(session,
714
721
                                            src_proto.engine().name());
715
722