~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_write.c

  • Committer: Brian Aker
  • Date: 2008-08-11 04:35:13 UTC
  • Revision ID: brian@tangent.org-20080811043513-hs4fkhbsnehlhr2c
First pass in removing ulong from MyISAM

Show diffs side-by-side

added added

removed removed

Lines of Context:
785
785
}
786
786
 
787
787
 
788
 
int mi_init_bulk_insert(MI_INFO *info, ulong cache_size, ha_rows rows)
 
788
int mi_init_bulk_insert(MI_INFO *info, uint32_t cache_size, ha_rows rows)
789
789
{
790
790
  MYISAM_SHARE *share=info->s;
791
791
  MI_KEYDEF *key=share->keyinfo;
813
813
    return(0);
814
814
 
815
815
  if (rows && rows*total_keylength < cache_size)
816
 
    cache_size= (ulong)rows;
 
816
    cache_size= (uint32_t)rows;
817
817
  else
818
818
    cache_size/=total_keylength*16;
819
819