~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_write.c

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  HP_KEYDEF *keydef, *end;
34
34
  unsigned char *pos;
35
35
  HP_SHARE *share=info->s;
36
 
  uint rec_length, chunk_count;
 
36
  uint32_t rec_length, chunk_count;
37
37
 
38
38
  if ((share->records >= share->max_records && share->max_records) ||
39
39
    (share->recordspace.total_data_length + share->index_length >= share->max_table_size))
98
98
                    unsigned char *recpos)
99
99
{
100
100
  heap_rb_param custom_arg;
101
 
  uint old_allocated;
 
101
  uint32_t old_allocated;
102
102
 
103
103
  custom_arg.keyseg= keyinfo->seg;
104
104
  custom_arg.key_length= hp_rb_make_key(keyinfo, info->recbuf, record, recpos);
343
343
static HASH_INFO *hp_find_free_hash(HP_SHARE *info,
344
344
                                     HP_BLOCK *block, uint32_t records)
345
345
{
346
 
  uint block_pos;
 
346
  uint32_t block_pos;
347
347
  size_t length;
348
348
 
349
349
  if (records < block->last_allocated)