~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/num_op.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

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