summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-12-04 19:28:38 +0100
committermsvensson@neptunus.(none) <>2006-12-04 19:28:38 +0100
commit128b73fc36c858e457bf29ed44cb08f16677a9b5 (patch)
tree4709d201720e18f147c369d52ae2cde47bec6b24 /extra
parent544d0c909bd634c73e04cb018617c8cc9099147c (diff)
parentd253588c699ef2e589fb2d38aff7f78c8e25063c (diff)
downloadmariadb-git-128b73fc36c858e457bf29ed44cb08f16677a9b5.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
Diffstat (limited to 'extra')
-rw-r--r--extra/replace.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/replace.c b/extra/replace.c
index 9acf1620d49..cad3589819b 100644
--- a/extra/replace.c
+++ b/extra/replace.c
@@ -1052,8 +1052,10 @@ static int convert_file(REPLACE *rep, my_string name)
{
int error;
FILE *in,*out;
- char dir_buff[FN_REFLEN], tempname[FN_REFLEN];
- char link_name[FN_REFLEN], *org_name = name;
+ char dir_buff[FN_REFLEN], tempname[FN_REFLEN], *org_name = name;
+#ifdef HAVE_READLINK
+ char link_name[FN_REFLEN];
+#endif
File temp_file;
DBUG_ENTER("convert_file");