diff options
Diffstat (limited to 'myisam/myisamlog.c')
-rw-r--r-- | myisam/myisamlog.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/myisam/myisamlog.c b/myisam/myisamlog.c index fb199c22765..2d4c7570956 100644 --- a/myisam/myisamlog.c +++ b/myisam/myisamlog.c @@ -404,11 +404,7 @@ static int examine_log(my_string file_name, char **table_names) } to=isam_file_name; if (filepath) - { - strmov(isam_file_name,filepath); - convert_dirname(isam_file_name); - to=strend(isam_file_name); - } + to=convert_dirname(isam_file_name,filepath,NullS); strmov(to,pos); fn_ext(isam_file_name)[0]=0; /* Remove extension */ } |