~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2011-02-20 10:35:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2187.
  • Revision ID: brian@tangent.org-20110220103517-wh0xtize2pbyjgrh
Create CONST on additional Field methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
  virtual uint32_t size_of() const =0;
365
365
 
366
366
  bool is_null(ptrdiff_t row_offset= 0) const;
367
 
  bool is_real_null(ptrdiff_t row_offset= 0);
368
 
  bool is_null_in_record(const unsigned char *record);
369
 
  bool is_null_in_record_with_offset(ptrdiff_t offset);
 
367
  bool is_real_null(ptrdiff_t row_offset= 0) const;
 
368
  bool is_null_in_record(const unsigned char *record) const;
 
369
  bool is_null_in_record_with_offset(ptrdiff_t offset) const;
370
370
  void set_null(ptrdiff_t row_offset= 0);
371
371
  void set_notnull(ptrdiff_t row_offset= 0);
372
 
  bool maybe_null(void);
373
 
  bool real_maybe_null(void);
 
372
  bool maybe_null(void) const;
 
373
  bool real_maybe_null(void) const;
374
374
 
375
375
  virtual void make_field(SendField *);
376
376
  virtual void sort_string(unsigned char *buff,uint32_t length)=0;
738
738
  }
739
739
 
740
740
  /* Hash value */
741
 
  virtual void hash(uint32_t *nr, uint32_t *nr2);
 
741
  virtual void hash(uint32_t *nr, uint32_t *nr2) const;
742
742
  friend bool reopen_table(Session *,Table *,bool);
743
743
 
744
744
  friend class CopyField;