~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2010-06-04 20:14:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: barry.leslie@primebase.com-20100604201431-5pz4c1j08tms3gph
Changed the table event observers to pass the 'Table' not the TableShare' to the observers.
Also added some usefull utility methods to the Table class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
536
536
    return max_length;
537
537
  }
538
538
 
539
 
  inline uint32_t offset(unsigned char *record)
 
539
  inline uint32_t offset(const unsigned char *record)
540
540
  {
541
541
    return (uint32_t) (ptr - record);
542
542
  }