~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_result.h

  • Committer: Lee Bieber
  • Date: 2011-03-18 04:10:25 UTC
  • mfrom: (2241.1.2 build)
  • Revision ID: kalebral@gmail.com-20110318041025-1xoj1azy6zobhnbm
Merge Stewart - refactoring of default values
Merge Olaf - more refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
 
21
 
#ifndef DRIZZLED_SELECT_RESULT_H
22
 
#define DRIZZLED_SELECT_RESULT_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/current_session.h>
25
24
 
27
26
{
28
27
 
29
28
class Join;
 
29
class Select_Lex_Unit;
30
30
 
31
31
class select_result :public memory::SqlAlloc {
32
32
protected:
51
51
    there is a result set) apart from sending columns metadata.
52
52
  */
53
53
  virtual uint32_t field_count(List<Item> &fields) const
54
 
  { return fields.elements; }
 
54
  { return fields.size(); }
55
55
  virtual bool send_fields(List<Item> &list)=0;
56
56
  virtual bool send_data(List<Item> &items)=0;
57
57
  virtual bool initialize_tables (Join *)
80
80
 
81
81
} /* namespace drizzled */
82
82
 
83
 
#endif /* DRIZZLED_SELECT_RESULT_H */