~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.cc

  • Committer: Brian Aker
  • Date: 2011-01-04 18:14:33 UTC
  • mto: (2054.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2055.
  • Revision ID: brian@tangent.org-20110104181433-qnrc603tjuly60wl
Cleanup error usage around identifier usage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "drizzled/error.h"
29
29
#include "drizzled/gettext.h"
30
30
 
 
31
#include "drizzled/identifier.h"
 
32
 
31
33
#include <boost/unordered_map.hpp>
32
34
#include <exception>
33
35
 
96
98
       ...      variable list
97
99
*/
98
100
 
 
101
void my_error(drizzled_error_code nr, drizzled::Identifier::const_reference ref)
 
102
{
 
103
  std::string temp;
 
104
  ref.getSQLPath(temp);
 
105
  my_error(nr, MYF(0), temp.c_str());
 
106
 
107
 
99
108
void my_error(drizzled_error_code nr)
100
109
{
101
110
  my_error(nr, MYF(0));