~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink2.cc

MergedĀ up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
 
129
129
int my_rename_with_symlink(const char *from, const char *to, myf MyFlags)
130
130
{
131
 
#ifndef HAVE_READLINK
132
 
  return my_rename(from, to, MyFlags);
133
 
#else
134
131
  char link_name[FN_REFLEN], tmp_name[FN_REFLEN];
135
132
  int sym_link_size= -1;
136
133
  int was_symlink= (!my_disable_symlinks &&
189
186
    result= 1;
190
187
  }
191
188
  return(result);
192
 
#endif /* HAVE_READLINK */
193
189
}