~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_symlink2.cc

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
  {
65
65
    if (!access(filename,F_OK))
66
66
    {
67
 
      errno= EEXIST;
 
67
      errno= errno= EEXIST;
68
68
      my_error(EE_CANTCREATEFILE, MYF(0), filename, EEXIST);
69
69
      return(-1);
70
70
    }
71
71
    if (create_link && !access(linkname,F_OK))
72
72
    {
73
 
      errno= EEXIST;
 
73
      errno= errno= EEXIST;
74
74
      my_error(EE_CANTCREATEFILE, MYF(0), linkname, EEXIST);
75
75
      return(-1);
76
76
    }