~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Brian Aker
  • Date: 2009-05-23 16:15:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1038.
  • Revision ID: brian@gaz-20090523161500-nldnoav8b7x1iz1b
Remove locks around my_open(). Open file counts are now "best effort" (not
that they were ever exact, since Innodb didn't use the calls).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1424
1424
  char temp_file_path[FN_REFLEN];
1425
1425
 
1426
1426
  if ((fd= create_temp_file(temp_file_path, NULL,
1427
 
                            "tmp", O_CREAT | O_RDWR,
1428
 
                            MYF(MY_WME))) < 0)
 
1427
                            "tmp", MYF(MY_WME))) < 0)
1429
1428
    die("Failed to create temporary file for ds");
1430
1429
 
1431
1430
  /* Write ds to temporary file and set file pos to beginning*/
2966
2965
 
2967
2966
  /* Create temporary file name */
2968
2967
  if ((fd= create_temp_file(temp_file_path, getenv("MYSQLTEST_VARDIR"),
2969
 
                            "tmp", O_CREAT | O_RDWR,
2970
 
                            MYF(MY_WME))) < 0)
 
2968
                            "tmp", MYF(MY_WME))) < 0)
2971
2969
    die("Failed to create temporary file for perl command");
2972
2970
  my_close(fd, MYF(0));
2973
2971