~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

A number of dead code removal patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
790
790
  /* Check for legal operations against the Engine using the proto (if used) */
791
791
  if (proto_used)
792
792
  {
793
 
    if (table_proto.type() == message::Table::TEMPORARY && 
 
793
    if (table_proto.type() == message::Table::TEMPORARY &&
794
794
        share.storage_engine->check_flag(HTON_BIT_TEMPORARY_NOT_SUPPORTED) == true)
795
795
    {
796
796
      error= HA_ERR_UNSUPPORTED;
797
797
      goto err2;
798
798
    }
799
 
    else if (table_proto.type() != message::Table::TEMPORARY && 
 
799
    else if (table_proto.type() != message::Table::TEMPORARY &&
800
800
             share.storage_engine->check_flag(HTON_BIT_TEMPORARY_ONLY) == true)
801
801
    {
802
802
      error= HA_ERR_UNSUPPORTED;
819
819
 
820
820
    share.storage_engine->setTransactionReadWrite(session);
821
821
 
822
 
    error= share.storage_engine->doCreateTable(&session, 
 
822
    error= share.storage_engine->doCreateTable(&session,
823
823
                                               table_name_arg,
824
824
                                               table,
825
825
                                               table_proto);