~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_update.c

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
  uint i;
25
25
  uchar old_key[MI_MAX_KEY_BUFF],*new_key;
26
26
  my_bool auto_key_changed=0;
27
 
  ulonglong changed;
 
27
  uint64_t changed;
28
28
  MYISAM_SHARE *share= info->s;
29
29
  ha_checksum old_checksum= 0;
30
30
  DBUG_ENTER("mi_update");
96
96
        {
97
97
          if ((int) i == info->lastinx)
98
98
            key_changed|=HA_STATE_WRITTEN;      /* Mark that keyfile changed */
99
 
          changed|=((ulonglong) 1 << i);
 
99
          changed|=((uint64_t) 1 << i);
100
100
          share->keyinfo[i].version++;
101
101
          if (share->keyinfo[i].ck_delete(info,i,old_key,old_length)) goto err;
102
102
          if (share->keyinfo[i].ck_insert(info,i,new_key,new_length)) goto err;
179
179
    flag=0;
180
180
    do
181
181
    {
182
 
      if (((ulonglong) 1 << i) & changed)
 
182
      if (((uint64_t) 1 << i) & changed)
183
183
      {
184
184
        {
185
185
          uint new_length=_mi_make_key(info,i,new_key,newrec,pos);