~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/hp_dspace.cc

  • Committer: Monty Taylor
  • Date: 2009-12-23 08:01:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1253.
  • Revision ID: mordred@inaugust.com-20091223080121-iveugdrewkp7iqyi
Oy. Bigger change than I normally like - but this stuff is all intertwined.
Moved a bunch of things to public drizzled/ area. Split some files. Made some
convenience libs. EVENTUALLY, some of this will be able to be re-factored, but
for now I'm ok with erring on the side of too many files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
  if (!info->is_variable_size)
332
332
  {
333
333
    /* Update should never change chunk_count in fixed-size mode */
334
 
    my_errno=HA_ERR_WRONG_COMMAND;
335
 
    return my_errno;
 
334
    errno=HA_ERR_WRONG_COMMAND;
 
335
    return errno;
336
336
  }
337
337
 
338
338
  /* Reallocate never moves the first chunk */
339
339
  if (!hp_allocate_variable_chunkset(info, chunk_count, pos))
340
 
    return(my_errno);
 
340
    return(errno);
341
341
 
342
342
  return(0);
343
343
}