~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_extra.c

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
  case HA_EXTRA_KEYREAD:                        /* Read only keys to record */
180
180
  case HA_EXTRA_REMEMBER_POS:
181
181
    info->opt_flag |= REMEMBER_OLD_POS;
182
 
    bmove((uchar*) info->lastkey+share->base.max_key_length*2,
183
 
          (uchar*) info->lastkey,info->lastkey_length);
 
182
    memcpy((uchar*) info->lastkey+share->base.max_key_length*2,
 
183
           (uchar*) info->lastkey,info->lastkey_length);
184
184
    info->save_update=  info->update;
185
185
    info->save_lastinx= info->lastinx;
186
186
    info->save_lastpos= info->lastpos;
196
196
  case HA_EXTRA_RESTORE_POS:
197
197
    if (info->opt_flag & REMEMBER_OLD_POS)
198
198
    {
199
 
      bmove((uchar*) info->lastkey,
200
 
            (uchar*) info->lastkey+share->base.max_key_length*2,
201
 
            info->save_lastkey_length);
 
199
      memcpy((uchar*) info->lastkey,
 
200
             (uchar*) info->lastkey+share->base.max_key_length*2,
 
201
             info->save_lastkey_length);
202
202
      info->update=     info->save_update | HA_STATE_WRITTEN;
203
203
      info->lastinx=    info->save_lastinx;
204
204
      info->lastpos=    info->save_lastpos;