~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_dspace.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:
16
16
 
17
17
/* Implements various base dataspace-related functions - allocate, free, clear */
18
18
 
19
 
#include "heap_priv.h"
20
 
 
21
 
#include <cassert>
 
19
#include "heapdef.h"
22
20
 
23
21
 
24
22
/*
331
329
  if (!info->is_variable_size)
332
330
  {
333
331
    /* Update should never change chunk_count in fixed-size mode */
334
 
    errno=HA_ERR_WRONG_COMMAND;
335
 
    return errno;
 
332
    my_errno=HA_ERR_WRONG_COMMAND;
 
333
    return my_errno;
336
334
  }
337
335
 
338
336
  /* Reallocate never moves the first chunk */
339
337
  if (!hp_allocate_variable_chunkset(info, chunk_count, pos))
340
 
    return(errno);
 
338
    return(my_errno);
341
339
 
342
340
  return(0);
343
341
}