~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_info.cc

  • Committer: Mark Atwood
  • Date: 2011-09-14 03:30:42 UTC
  • mfrom: (2409.2.6 refactor7)
  • Revision ID: me@mark.atwood.name-20110914033042-2u0s8foaigvf62g2
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "heap_priv.h"
19
19
 
20
 
 
21
20
unsigned char *heap_position(HP_INFO *info)
22
21
{
23
 
  return ((info->update & HA_STATE_AKTIV) ? info->current_ptr :
24
 
          (HEAP_PTR) 0);
 
22
  return (info->update & HA_STATE_AKTIV) ? info->current_ptr : NULL;
25
23
}
26
24
 
27
25
/* Note that heap_info does NOT return information about the