~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_update.cc

  • Committer: Mark Atwood
  • Date: 2011-09-14 03:30:42 UTC
  • mfrom: (2409.2.6 refactor7)
  • Revision ID: me@mark.atwood.name-20110914033042-2u0s8foaigvf62g2
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
int mi_update(register MI_INFO *info, const unsigned char *oldrec, unsigned char *newrec)
24
24
{
25
 
  int flag,key_changed,save_errno;
 
25
  int key_changed,save_errno;
26
26
  register internal::my_off_t pos;
27
27
  uint32_t i;
28
28
  unsigned char old_key[MI_MAX_KEY_BUFF],*new_key;
167
167
      errno == HA_ERR_RECORD_FILE_FULL)
168
168
  {
169
169
    info->errkey= (int) i;
170
 
    flag=0;
 
170
    int flag=0;
171
171
    do
172
172
    {
173
173
      if (((uint64_t) 1 << i) & changed)