~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/mysqld.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:
5555
5555
  int result= 0;
5556
5556
  File file;
5557
5557
  char buff[FN_REFLEN], buff2[FN_REFLEN];
5558
 
  MY_STAT stat_info;
 
5558
  struct stat stat_info;
5559
5559
  DBUG_ENTER("test_if_case_insensitive");
5560
5560
 
5561
5561
  fn_format(buff, glob_hostname, dir_name, ".lower-test",
5569
5569
    DBUG_RETURN(-1);
5570
5570
  }
5571
5571
  my_close(file, MYF(0));
5572
 
  if (my_stat(buff2, &stat_info, MYF(0)))
 
5572
  if (!stat(buff2, &stat_info))
5573
5573
    result= 1;                                  // Can access file
5574
5574
  (void) my_delete(buff, MYF(MY_WME));
5575
5575
  DBUG_PRINT("exit", ("result: %d", result));