~patrick-crews/drizzle/dbqp_server_setup

« back to all changes in this revision

Viewing changes to drizzled/error.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 14:35:15 UTC
  • mto: (2247.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323143515-p4tn90h1ipnr7rgx
Refactor Identifier::getSQLPath()

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  // mapping, an error is logged, but the function continues.
62
62
  void add(error_t error_num, const std::string &error_name, const std::string &message);
63
63
 
64
 
  // If there is no error mapping for the error_num, ErrorStringNotFound is raised.
65
 
  const std::string &find(error_t error_num) const;
 
64
  const std::string* find(error_t error_num) const;
66
65
 
67
66
  static const ErrorMessageMap& get_error_message_map();
68
67
private: