~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/field/int32.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  enum_field_types type() const { return DRIZZLE_TYPE_LONG;}
58
58
  enum ha_base_keytype key_type() const
59
59
  { return unsigned_flag ? HA_KEYTYPE_ULONG_INT : HA_KEYTYPE_LONG_INT; }
60
 
  int store(const char *to,uint32_t length, const CHARSET_INFO * const charset);
 
60
  int store(const char *to,uint32_t length, const charset_info_st * const charset);
61
61
  int store(double nr);
62
62
  int store(int64_t nr, bool unsigned_val);
63
63
  int reset(void) { ptr[0]=ptr[1]=ptr[2]=ptr[3]=0; return 0; }
67
67
  int cmp(const unsigned char *,const unsigned char *);
68
68
  void sort_string(unsigned char *buff,uint32_t length);
69
69
  uint32_t pack_length() const { return 4; }
70
 
  void sql_type(String &str) const;
71
70
  uint32_t max_display_length() { return MY_INT32_NUM_DECIMAL_DIGITS; }
72
71
  virtual unsigned char *pack(unsigned char* to, const unsigned char *from,
73
72
                              uint32_t max_length,