~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/int.h

  • Committer: Andrew Hutchings
  • Date: 2011-02-01 10:23:22 UTC
  • mto: (2136.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2137.
  • Revision ID: andrew@linuxjedi.co.uk-20110201102322-oxztcyrjzg3c7yta
Fix counters cleanup

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
 
#pragma once
 
20
#ifndef DRIZZLED_ITEM_INT_H
 
21
#define DRIZZLED_ITEM_INT_H
21
22
 
22
23
#include <drizzled/item/num.h>
23
24
#include <drizzled/util/test.h>
68
69
 
69
70
  Item *clone_item() { return new Item_int(name,value,max_length); }
70
71
 
71
 
  virtual void print(String *str);
 
72
  virtual void print(String *str, enum_query_type query_type);
72
73
 
73
74
  Item_num *neg() { value= -value; return this; }
74
75
 
80
81
 
81
82
} /* namespace drizzled */
82
83
 
 
84
#endif /* DRIZZLED_ITEM_INT_H */