~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_open.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:
42
42
  share->open_count++; 
43
43
  thr_lock_data_init(&share->lock,&info->lock,NULL);
44
44
  info->s= share;
45
 
  info->lastkey= (unsigned char*) (info + 1);
46
 
  info->recbuf= (unsigned char*) (info->lastkey + share->max_key_length);
 
45
  info->lastkey= (uchar*) (info + 1);
 
46
  info->recbuf= (uchar*) (info->lastkey + share->max_key_length);
47
47
  info->mode= mode;
48
 
  info->current_record= UINT32_MAX;             /* No current record */
 
48
  info->current_record= (ulong) ~0L;            /* No current record */
49
49
  info->lastinx= info->errkey= -1;
50
50
  return(info);
51
51
}