~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Monty Taylor
  • Date: 2008-10-10 01:32:55 UTC
  • mto: This revision was merged to the branch mainline in revision 499.
  • Revision ID: monty@inaugust.com-20081010013255-103hfya2ua78qnbw
Removed O_SHARE. I think it was only for OS/2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1374
1374
  char temp_file_path[FN_REFLEN];
1375
1375
 
1376
1376
  if ((fd= create_temp_file(temp_file_path, NULL,
1377
 
                            "tmp", O_CREAT | O_SHARE | O_RDWR,
 
1377
                            "tmp", O_CREAT | O_RDWR,
1378
1378
                            MYF(MY_WME))) < 0)
1379
1379
    die("Failed to create temporary file for ds");
1380
1380
 
2897
2897
 
2898
2898
  /* Create temporary file name */
2899
2899
  if ((fd= create_temp_file(temp_file_path, getenv("MYSQLTEST_VARDIR"),
2900
 
                            "tmp", O_CREAT | O_SHARE | O_RDWR,
 
2900
                            "tmp", O_CREAT | O_RDWR,
2901
2901
                            MYF(MY_WME))) < 0)
2902
2902
    die("Failed to create temporary file for perl command");
2903
2903
  my_close(fd, MYF(0));