~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2010-12-22 16:10:11 UTC
  • mfrom: (2017.1.2 clean)
  • Revision ID: brian@tangent.org-20101222161011-dwdhckv8ptmo471c
Rollup of build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
  utype unireg_check;
142
142
  uint32_t field_length; /**< Length of this field in bytes */
143
143
  uint32_t flags;
 
144
 
 
145
  bool isUnsigned() const
 
146
  {
 
147
    return flags & UNSIGNED_FLAG;
 
148
  }
 
149
 
144
150
private:
145
151
  uint16_t field_index; /**< Index of this Field in Table::fields array */
146
152
 
739
745
  bool isWriteSet();
740
746
  void setReadSet(bool arg= true);
741
747
  void setWriteSet(bool arg= true);
 
748
 
 
749
protected:
 
750
 
 
751
  void pack_num(uint64_t arg, unsigned char *destination= NULL);
 
752
  uint64_t unpack_num(uint64_t &destination, const unsigned char *arg= NULL) const;
742
753
};
743
754
 
744
755
std::ostream& operator<<(std::ostream& output, const Field &field);