~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/num1.h

code clean move Item_func_abs, Item_func_int_exp, Item_func_ln, Item_func_log to functions directory

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_NUM1_H
21
 
#define DRIZZLED_FUNCTION_NUM1_H
22
 
 
23
 
#include <drizzled/function/numhybrid.h>
24
 
 
25
 
namespace drizzled
26
 
{
 
20
#ifndef DRIZZLED_FUNCTIONS_NUM1_H
 
21
#define DRIZZLED_FUNCTIONS_NUM1_H
 
22
 
 
23
#include <drizzled/item.h>
 
24
#include <drizzled/functions/numhybrid.h>
27
25
 
28
26
/* function where type of result detected by first argument */
29
27
class Item_func_num1: public Item_func_numhybrid
34
32
 
35
33
  void fix_num_length_and_dec();
36
34
  void find_num_type();
37
 
  String *str_op(String *)
 
35
  String *str_op(String *str __attribute__((unused)))
38
36
  { assert(0); return 0; }
39
37
};
40
38
 
41
 
} /* namespace drizzled */
42
39
 
43
 
#endif /* DRIZZLED_FUNCTION_NUM1_H */
 
40
#endif /* DRIZZLED_FUNCTIONS_NUM1_H */