~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_keycache.c

  • Committer: Monty Taylor
  • Date: 2008-08-04 19:37:18 UTC
  • mto: (261.2.2 codestyle)
  • mto: This revision was merged to the branch mainline in revision 262.
  • Revision ID: monty@inaugust.com-20080804193718-f0rz13uli4429ozb
Changed gettext_noop() to N_()

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
  share->key_cache= key_cache;
102
102
 
103
103
  /* store the key cache in the global hash structure for future opens */
104
 
  if (multi_key_cache_set((unsigned char*) share->unique_file_name,
 
104
  if (multi_key_cache_set((uchar*) share->unique_file_name,
105
105
                          share->unique_name_length,
106
106
                          share->key_cache))
107
107
    error= my_errno;
145
145
    MI_INFO *info= (MI_INFO*) pos->data;
146
146
    MYISAM_SHARE *share= info->s;
147
147
    if (share->key_cache == old_key_cache)
148
 
      mi_assign_to_key_cache(info, UINT64_MAX, new_key_cache);
 
148
      mi_assign_to_key_cache(info, (uint64_t) ~0, new_key_cache);
149
149
  }
150
150
 
151
151
  /*