~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_result_interceptor.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
Remove unused Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
 
21
 
#ifndef DRIZZLED_SELECT_RESULT_INTERCEPTOR_H
22
 
#define DRIZZLED_SELECT_RESULT_INTERCEPTOR_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/select_result.h>
25
24
 
32
31
  sending of result set metadata should be suppressed as well.
33
32
*/
34
33
 
35
 
class select_result_interceptor: public select_result
 
34
class select_result_interceptor : public select_result
36
35
{
37
36
public:
38
 
  select_result_interceptor() {}              /* Remove gcc warning */
39
 
  uint32_t field_count(List<Item> &) const
 
37
  uint32_t field_count(List<Item>&) const
40
38
  { return 0; }
41
 
  bool send_fields(List<Item> &)
42
 
  { return false; }
 
39
  void send_fields(List<Item>&)
 
40
  { }
43
41
};
44
42
 
45
43
 
46
44
} /* namespace drizzled */
47
45
 
48
 
#endif /* DRIZZLED_SELECT_RESULT_INTERCEPTOR_H */