~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rectest.c

  • Committer: Jay Pipes
  • Date: 2009-02-21 16:00:06 UTC
  • mto: (907.1.1 trunk-with-temporal)
  • mto: This revision was merged to the branch mainline in revision 908.
  • Revision ID: jpipes@serialcoder-20090221160006-vnk3wt4qbcz62eru
Removes the TIME column type and related time functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Test if a record has changed since last read */
17
17
 
18
 
#include "heap_priv.h"
 
18
#include "heapdef.h"
19
19
 
20
20
int hp_rectest(register HP_INFO *info, register const unsigned char *old_record)
21
21
{
22
22
 
23
23
  if (hp_process_record_data_to_chunkset(info->s, old_record, info->current_ptr, 1))
24
24
  {
25
 
    return((errno=HA_ERR_RECORD_CHANGED)); /* Record have changed */
 
25
    return((my_errno=HA_ERR_RECORD_CHANGED)); /* Record have changed */
26
26
  }
27
27
 
28
28
  return(0);