summaryrefslogtreecommitdiff
path: root/mysys/mf_format.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-08-07 20:16:37 +0300
committermonty@mashka.mysql.fi <>2003-08-07 20:16:37 +0300
commit8f08c511ee781a99b63a74957ecb8547ac334f06 (patch)
tree0175c785de8b8892ceba2db249cf74c6362b2137 /mysys/mf_format.c
parent41865cf3a670ffee10d0cf263c33e12bd7b8c2da (diff)
downloadmariadb-git-8f08c511ee781a99b63a74957ecb8547ac334f06.tar.gz
Review of changesets since last pull.
(Mostly code cleanups)
Diffstat (limited to 'mysys/mf_format.c')
-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 */