~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_open.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:
20
20
#include "hp_static.c"                  /* Stupid vms-linker */
21
21
#endif
22
22
 
23
 
#include <mysys/my_sys.h>
 
23
#include "my_sys.h"
24
24
 
25
25
/*
26
26
  Open heap table based on HP_SHARE structure
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
}