~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_load.cc

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:33:25 UTC
  • mfrom: (12.2.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630053325-mwrv6bjaufcpvj8n
merge my work

Show diffs side-by-side

added added

removed removed

Lines of Context:
307
307
        DBUG_RETURN(TRUE);
308
308
      }
309
309
 
310
 
      MY_STAT stat_info;
311
 
      if (!my_stat(name,&stat_info,MYF(MY_WME)))
 
310
      struct stat stat_info;
 
311
      if (stat(name,&stat_info))
312
312
        DBUG_RETURN(TRUE);
313
313
 
314
314
      // if we are not in slave thread, the file must be: