~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_log.c

Removing redundant use of casts in MyISAM storage for memcmp(), memcpy(), memset(), and memmove().
Removed some reliance on execution order of function parameters.
Adding some assertions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
         blob != end ;
132
132
         blob++)
133
133
    {
134
 
      memcpy((uchar*) &pos, record+blob->offset+blob->pack_length, sizeof(char*));
 
134
      memcpy(&pos, record+blob->offset+blob->pack_length, sizeof(char*));
135
135
      VOID(my_write(myisam_log_file,pos,blob->length,MYF(0)));
136
136
    }
137
137
  }