summaryrefslogtreecommitdiff
path: root/myisam/myisamlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/myisamlog.c')
-rw-r--r--myisam/myisamlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/myisamlog.c b/myisam/myisamlog.c
index 87f09f984f7..ca2c4f27a74 100644
--- a/myisam/myisamlog.c
+++ b/myisam/myisamlog.c
@@ -393,7 +393,7 @@ static int examine_log(my_string file_name, char **table_names)
char *pos,*to;
/* Fix if old DOS files to new format */
- for (pos=file_info.name; pos=strchr(pos,'\\') ; pos++)
+ for (pos=file_info.name; (pos=strchr(pos,'\\')) ; pos++)
*pos= '/';
pos=file_info.name;