~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/table.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:
1927
1927
 
1928
1928
  int2store(fileinfo+8,names+1);
1929
1929
  int2store(fileinfo+4,n_length+length);
1930
 
  VOID(my_chsize(file, newpos, 0, MYF(MY_WME)));/* Append file with '\0' */
 
1930
  (void)ftruncate(file, newpos);/* Append file with '\0' */
1931
1931
  DBUG_RETURN(newpos);
1932
1932
} /* make_new_entry */
1933
1933