Commit 4494c804 authored by Sergei Golubchik's avatar Sergei Golubchik

complier warnings. hide the redundant condition under #ifdef

(because only there it  makes any sense)
parent ce926c90
...@@ -3537,9 +3537,9 @@ bool check_column_name(const char *name) ...@@ -3537,9 +3537,9 @@ bool check_column_name(const char *name)
} }
#else #else
last_char_is_space= *name==' '; last_char_is_space= *name==' ';
#endif if (*name == '\377')
if (*name == NAMES_SEP_CHAR)
return 1; return 1;
#endif
name++; name++;
name_length++; name_length++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment