summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_format.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/mysys/mf_format.c b/mysys/mf_format.c
index 36d3908d310..937904847ee 100644
--- a/mysys/mf_format.c
+++ b/mysys/mf_format.c
@@ -111,15 +111,7 @@ my_string fn_format(my_string to, const char *name, const char *dir,
strmov(buff,to);
(void) my_readlink(to, buff, MYF(0));
}
- if ( flag & MY_QUOTE_SPACES)
- if ( strchr(to, ' '))
- {
- char tmp_buff[FN_REFLEN];
- tmp_buff[0]='"';
- strxmov(tmp_buff+1,to,"\"",NullS);
- strmov(to,tmp_buff);
- }
- DBUG_RETURN (to);
+ DBUG_RETURN(to);
} /* fn_format */