~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.h

  • Committer: Monty Taylor
  • Date: 2009-08-30 00:36:06 UTC
  • mto: (1130.3.4 memory-file-moves)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20090830003606-koknw4io41hkbkfh
Removed the silly my_ptrdiff_t typedef.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
      memcpy(ptr,length,packlength);
155
155
      memcpy(ptr+packlength,&data,sizeof(char*));
156
156
    }
157
 
  void set_ptr_offset(my_ptrdiff_t ptr_diff, uint32_t length, unsigned char *data)
 
157
  void set_ptr_offset(ptrdiff_t ptr_diff, uint32_t length, unsigned char *data)
158
158
    {
159
159
      unsigned char *ptr_ofs= ADD_TO_PTR(ptr,ptr_diff,unsigned char*);
160
160
      store_length(ptr_ofs, packlength, length);