~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/schema.cc

  • Committer: Lee Bieber
  • Date: 2011-01-05 01:41:02 UTC
  • mfrom: (2054.1.2 clean)
  • Revision ID: kalebral@gmail.com-20110105014102-e1sfrth1cesuwyf7
Merge Brian - Rename of the Loooongggggg   error type over to simply drizzled::error_t
Merge Brian - Cleanup of error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
void SchemaIdentifier::getSQLPath(std::string &arg) const
87
87
{
88
 
  arg.append(getSchemaName());
 
88
  arg= db;
89
89
}
90
90
 
91
91
const std::string &SchemaIdentifier::getPath() const
149
149
 
150
150
  if (error)
151
151
  {
152
 
    std::string name;
153
 
 
154
 
    getSQLPath(name);
155
 
    my_error(ER_WRONG_DB_NAME, MYF(0), name.c_str());
 
152
    my_error(ER_WRONG_DB_NAME, *this);
156
153
 
157
154
    return false;
158
155
  }