~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ref.h

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_ITEM_REF_H
21
 
#define DRIZZLED_ITEM_REF_H
22
 
 
23
 
#include "drizzled/item/ident.h"
24
 
 
25
 
namespace drizzled
26
 
{
 
20
#pragma once
 
21
 
 
22
#include <drizzled/item/ident.h>
 
23
 
 
24
namespace drizzled {
27
25
 
28
26
class Item_ref :public Item_ident
29
27
{
77
75
  String *str_result(String* tmp);
78
76
  type::Decimal *val_decimal_result(type::Decimal *);
79
77
  bool val_bool_result();
80
 
  bool send(plugin::Client *client, String *tmp);
 
78
  void send(plugin::Client *client, String *tmp);
81
79
  void make_field(SendField *field);
82
80
  bool fix_fields(Session *, Item **);
83
81
  void fix_after_pullout(Select_Lex *new_parent, Item **ref);
114
112
  }
115
113
  bool walk(Item_processor processor, bool walk_subquery, unsigned char *arg)
116
114
  { return (*ref)->walk(processor, walk_subquery, arg); }
117
 
  virtual void print(String *str, enum_query_type query_type);
 
115
  virtual void print(String *str);
118
116
  bool result_as_int64_t()
119
117
  {
120
118
    return (*ref)->result_as_int64_t();
157
155
 
158
156
} /* namespace drizzled */
159
157
 
160
 
#endif /* DRIZZLED_ITEM_REF_H */