~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

Extracted the SHOW ENGINE STATUS command into its own class and
implementation files. Removed the corresponding case label from the switch
statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
493
493
    res= mysql_assign_to_keycache(session, first_table, &lex->ident);
494
494
    break;
495
495
  }
496
 
  case SQLCOM_SHOW_ENGINE_STATUS:
497
 
    {
498
 
      res = ha_show_status(session, lex->show_engine, HA_ENGINE_STATUS);
499
 
      break;
500
 
    }
501
496
  case SQLCOM_CREATE_TABLE:
502
497
  {
503
498
    /* If CREATE TABLE of non-temporary table, do implicit commit */
1304
1299
  }
1305
1300
  /*
1306
1301
   * The following conditional statement is only temporary until
1307
 
   * the mongo switch statement that occurs afterwards has been
 
1302
   * the mongo switch statement that occurs above has been
1308
1303
   * fully removed. Once that switch statement is gone, every
1309
1304
   * command will have its own class and we won't need this
1310
1305
   * check.