~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/catalog.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:11:45 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051145-xiputq4lvmtct377
storage engine docs. add bit about some temp table only engines.

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
 
29
41
} /* namespace catalog */
30
42
} /* namespace drizzled */