~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Monty Taylor
  • Date: 2008-10-02 01:31:53 UTC
  • mfrom: (398.1.6 codestyle-new)
  • Revision ID: monty@inaugust.com-20081002013153-b097om921cd3j1pn
MergedĀ fromĀ stdint-includes-fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
  virtual int  store(double nr)=0;
111
111
  virtual int  store(int64_t nr, bool unsigned_val)=0;
112
112
  virtual int  store_decimal(const my_decimal *d)=0;
113
 
  virtual int store_time(DRIZZLE_TIME *ltime, timestamp_type t_type);
 
113
  virtual int store_time(DRIZZLE_TIME *ltime, enum enum_drizzle_timestamp_type t_type);
114
114
  int store(const char *to, uint length, const CHARSET_INFO * const cs,
115
115
            enum_check_fields check_level);
116
116
  virtual double val_real(void)=0;
461
461
                   int cuted_increment);
462
462
  void set_datetime_warning(DRIZZLE_ERROR::enum_warning_level, uint code, 
463
463
                            const char *str, uint str_len,
464
 
                            timestamp_type ts_type, int cuted_increment);
 
464
                            enum enum_drizzle_timestamp_type ts_type, int cuted_increment);
465
465
  void set_datetime_warning(DRIZZLE_ERROR::enum_warning_level, uint code, 
466
 
                            int64_t nr, timestamp_type ts_type,
 
466
                            int64_t nr, enum enum_drizzle_timestamp_type ts_type,
467
467
                            int cuted_increment);
468
468
  void set_datetime_warning(DRIZZLE_ERROR::enum_warning_level, const uint code, 
469
 
                            double nr, timestamp_type ts_type);
 
469
                            double nr, enum enum_drizzle_timestamp_type ts_type);
470
470
  inline bool check_overflow(int op_result)
471
471
  {
472
472
    return (op_result == E_DEC_OVERFLOW);