~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_log.c

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  int old_errno;
67
67
  ulong pid=(ulong) GETPID();
68
68
  old_errno=my_errno;
69
 
  bzero(buff,sizeof(buff));
 
69
  memset(buff, 0, sizeof(buff));
70
70
  buff[0]=(char) command;
71
71
  mi_int2store(buff+1,info->dfile);
72
72
  mi_int4store(buff+3,pid);
131
131
         blob != end ;
132
132
         blob++)
133
133
    {
134
 
      memcpy_fixed((uchar*) &pos, record+blob->offset+blob->pack_length,
135
 
                   sizeof(char*));
 
134
      memcpy((uchar*) &pos, record+blob->offset+blob->pack_length, sizeof(char*));
136
135
      VOID(my_write(myisam_log_file,pos,blob->length,MYF(0)));
137
136
    }
138
137
  }