~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.cc

update

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
                   const std::string &error_name,
272
272
                   const std::string &message)
273
273
{
274
 
  if (mapping_.find(error_num) == mapping_.end())
 
274
  if (not mapping_.count(error_num))
275
275
  {
276
276
    // Log the error.
277
277
    mapping_[error_num]= ErrorMap::value_type(error_name, message);