~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_update.c

  • Committer: Monty Taylor
  • Date: 2008-08-09 02:24:34 UTC
  • mto: (266.1.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 279.
  • Revision ID: monty@inaugust.com-20080809022434-97na8pnugghskxip
Removed mystringslt conv lib and replaced it with a noinst lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "heapdef.h"
19
19
 
20
 
int heap_update(HP_INFO *info, const unsigned char *old_record, const unsigned char *new_record)
 
20
int heap_update(HP_INFO *info, const uchar *old_record, const uchar *new_record)
21
21
{
22
22
  HP_KEYDEF *keydef, *end, *p_lastinx;
23
 
  unsigned char *pos;
24
 
  bool auto_key_changed= 0;
 
23
  uchar *pos;
 
24
  my_bool auto_key_changed= 0;
25
25
  HP_SHARE *share= info->s;
26
 
  uint32_t old_length, new_length;
27
 
  uint32_t old_chunk_count, new_chunk_count;
 
26
  uint old_length, new_length;
 
27
  uint old_chunk_count, new_chunk_count;
28
28
 
29
29
  test_active(info);
30
30
  pos=info->current_ptr;