~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_result.h

  • Committer: Brian Aker
  • Date: 2009-12-03 01:17:53 UTC
  • mto: (1237.3.2 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: brian@gaz-20091203011753-159h2no5m5c5dt9b
Small cleanups, did in MERGE table only engine flag.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_SELECT_RESULT_H
22
22
#define DRIZZLED_SELECT_RESULT_H
23
23
 
24
 
namespace drizzled
25
 
{
26
 
 
27
24
class JOIN;
28
25
 
29
 
class select_result :public memory::SqlAlloc {
 
26
class select_result :public Sql_alloc {
30
27
protected:
31
28
  Session *session;
32
29
  Select_Lex_Unit *unit;
62
59
   ** Functions to provide a interface to select results
63
60
   *****************************************************************************/
64
61
 
65
 
  virtual void send_error(uint32_t errcode, const char *err);
 
62
  virtual void send_error(uint32_t errcode, const char *err)
 
63
  {
 
64
    my_message(errcode, err, MYF(0));
 
65
  }
66
66
 
67
67
  /*
68
68
    Cleanup instance of this class for next execution of a prepared
75
75
 
76
76
};
77
77
 
78
 
} /* namespace drizzled */
79
 
 
80
78
#endif /* DRIZZLED_SELECT_RESULT_H */