~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/ha_tina.cc

  • Committer: Brian Aker
  • Date: 2008-07-01 08:15:04 UTC
  • Revision ID: brian@tangent.org-20080701081504-qn3jzgsbb2twnchs
Large file and ftruncate() support

Show diffs side-by-side

added added

removed removed

Lines of Context:
1473
1473
      DBUG_RETURN(-1);
1474
1474
 
1475
1475
  /* Truncate the file to zero size */
1476
 
  rc= my_chsize(share->tina_write_filedes, 0, 0, MYF(MY_WME));
 
1476
  rc= ftruncate(share->tina_write_filedes, 0);
1477
1477
 
1478
1478
  stats.records=0;
1479
1479
  /* Update shared info */