~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/hp_dspace.cc

Merge Monty

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
}