~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2008-06-29 20:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: brian@tangent.org-20080629201028-923bdzz0qcjmd6cm
Cleaned up show status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
  sql_command_flags[SQLCOM_SHOW_WARNS]= CF_STATUS_COMMAND;
216
216
  sql_command_flags[SQLCOM_SHOW_ERRORS]= CF_STATUS_COMMAND;
217
217
  sql_command_flags[SQLCOM_SHOW_ENGINE_STATUS]= CF_STATUS_COMMAND;
218
 
  sql_command_flags[SQLCOM_SHOW_ENGINE_MUTEX]= CF_STATUS_COMMAND;
219
 
  sql_command_flags[SQLCOM_SHOW_ENGINE_LOGS]= CF_STATUS_COMMAND;
220
218
  sql_command_flags[SQLCOM_SHOW_PROCESSLIST]= CF_STATUS_COMMAND;
221
219
  sql_command_flags[SQLCOM_SHOW_CREATE_DB]=  CF_STATUS_COMMAND;
222
220
  sql_command_flags[SQLCOM_SHOW_CREATE]=  CF_STATUS_COMMAND;
1660
1658
      res = ha_show_status(thd, lex->create_info.db_type, HA_ENGINE_STATUS);
1661
1659
      break;
1662
1660
    }
1663
 
  case SQLCOM_SHOW_ENGINE_MUTEX:
1664
 
    {
1665
 
      res = ha_show_status(thd, lex->create_info.db_type, HA_ENGINE_MUTEX);
1666
 
      break;
1667
 
    }
1668
1661
  case SQLCOM_CREATE_TABLE:
1669
1662
  {
1670
1663
    /* If CREATE TABLE of non-temporary table, do implicit commit */