~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_keycache.c

  • Committer: Patrick Galbraith
  • Date: 2008-07-24 16:57:40 UTC
  • mto: (202.2.4 rename-mysql-to-drizzle)
  • mto: This revision was merged to the branch mainline in revision 212.
  • Revision ID: patg@ishvara-20080724165740-x58yw6zs6d9o17lf
Most everything working with client rename
mysqlslap test still fails... can't connect to the server

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
  /*