~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_update.c

  • Committer: Monty Taylor
  • Date: 2008-09-15 17:24:04 UTC
  • Revision ID: monty@inaugust.com-20080915172404-ygh6hiyu0q7qpa9x
Removed strndup calls.

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;
 
23
  uchar *pos;
24
24
  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;