~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/catalog.cc

  • Committer: Brian Aker
  • Date: 2011-01-12 06:45:23 UTC
  • mto: (2073.1.4 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110112064523-rqhptaqbph22qmj1
RemoveĀ customĀ error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
namespace drizzled {
27
27
namespace catalog {
28
28
 
29
 
void error(error_t error, const identifier::Catalog &identifier)
30
 
{
31
 
  switch(error)
32
 
  {
33
 
  case LOCKED:
34
 
  case FOUND:
35
 
    my_error(ER_CATALOG_NO_LOCK, MYF(0), identifier.getName().c_str());
36
 
  default:
37
 
    my_error(ER_UNKNOWN_ERROR, MYF(0));
38
 
  }
39
 
}
40
 
 
41
29
} /* namespace catalog */
42
30
} /* namespace drizzled */