~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/num_op.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_FUNCTION_NUM_OP_H
21
 
#define DRIZZLED_FUNCTION_NUM_OP_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/function/numhybrid.h>
24
23
 
33
32
  Item_num_op(Item *a,Item *b) :Item_func_numhybrid(a, b) {}
34
33
  virtual void result_precision()= 0;
35
34
 
36
 
  virtual inline void print(String *str, enum_query_type query_type)
 
35
  virtual inline void print(String *str)
37
36
  {
38
 
    print_op(str, query_type);
 
37
    print_op(str);
39
38
  }
40
39
 
41
40
  void find_num_type();
45
44
 
46
45
} /* namespace drizzled */
47
46
 
48
 
#endif /* DRIZZLED_FUNCTION_NUM_OP_H */