~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_open.c

  • Committer: Monty Taylor
  • Date: 2009-01-23 07:27:09 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 816.
  • Revision ID: mordred@inaugust.com-20090123072709-x3glaj1pd0b8xk7u
More cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1046
1046
exist a dup()-like call that would give us two different file descriptors.
1047
1047
*************************************************************************/
1048
1048
 
1049
 
int mi_open_datafile(MI_INFO *info, MYISAM_SHARE *share,
1050
 
                     File file_to_dup __attribute__((unused)))
 
1049
int mi_open_datafile(MI_INFO *info, MYISAM_SHARE *share, File file_to_dup)
1051
1050
{
1052
 
    info->dfile=my_open(share->data_file_name, share->mode,
1053
 
                        MYF(MY_WME));
 
1051
  (void)file_to_dup; 
 
1052
  info->dfile=my_open(share->data_file_name, share->mode,
 
1053
                      MYF(MY_WME));
1054
1054
  return info->dfile >= 0 ? 0 : 1;
1055
1055
}
1056
1056