~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_open.c

Merged in changes from Andrey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
  share->open_count++; 
43
43
  thr_lock_data_init(&share->lock,&info->lock,NULL);
44
44
  info->s= share;
45
 
  info->lastkey= (uchar*) (info + 1);
46
 
  info->recbuf= (uchar*) (info->lastkey + share->max_key_length);
 
45
  info->lastkey= (unsigned char*) (info + 1);
 
46
  info->recbuf= (unsigned char*) (info->lastkey + share->max_key_length);
47
47
  info->mode= mode;
48
48
  info->current_record= UINT32_MAX;             /* No current record */
49
49
  info->lastinx= info->errkey= -1;