~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/fdecimal.h

  • Committer: Brian Aker
  • Date: 2008-08-07 16:29:49 UTC
  • mfrom: (264.1.20 codestyle)
  • Revision ID: brian@tangent.org-20080807162949-7o8eyjgdn8ms3n1a
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLE_SERVER_FIELD_NEW_DECIMAL
22
22
#define DRIZZLE_SERVER_FIELD_NEW_DECIMAL
23
23
 
24
 
#include <drizzled/mysql_priv.h>
25
 
 
26
24
/* New decimal/numeric field which use fixed point arithmetic */
27
25
class Field_new_decimal :public Field_num {
28
26
private:
50
48
  int  reset(void);
51
49
  bool store_value(const my_decimal *decimal_value);
52
50
  void set_value_on_overflow(my_decimal *decimal_value, bool sign);
53
 
  int  store(const char *to, uint length, CHARSET_INFO *charset);
 
51
  int  store(const char *to, uint length, const CHARSET_INFO * const charset);
54
52
  int  store(double nr);
55
53
  int  store(int64_t nr, bool unsigned_val);
56
54
  int store_time(DRIZZLE_TIME *ltime, timestamp_type t_type);