~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2011-01-04 23:23:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2055.
  • Revision ID: brian@tangent.org-20110104232325-qw5a0zs431zbtlwu
Rename of the Loooongggggg   error type over to simply drizzled::error_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
768
768
 
769
769
void StorageEngine::print_error(int error, myf errflag, Table *table)
770
770
{
771
 
  drizzled::drizzled_error_code textno= ER_GET_ERRNO;
 
771
  drizzled::error_t textno= ER_GET_ERRNO;
772
772
  switch (error) {
773
773
  case EACCES:
774
774
    textno=ER_OPEN_AS_READONLY;
846
846
    textno=ER_CRASHED_ON_USAGE;
847
847
    break;
848
848
  case HA_ERR_NOT_A_TABLE:
849
 
    textno= static_cast<drizzled::drizzled_error_code>(error);
 
849
    textno= static_cast<drizzled::error_t>(error);
850
850
    break;
851
851
  case HA_ERR_CRASHED_ON_REPAIR:
852
852
    textno=ER_CRASHED_ON_REPAIR;