diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-12 01:05:29 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-12 01:05:29 +0200 |
commit | 4494c804b8e5d33ae95223bcdd24c7c138901221 (patch) | |
tree | 4b7457c19f0d020e316a0992aefd761c3241e2fd /sql/table.cc | |
parent | ce926c90accc6ca36c62f0b954e651d89db66da8 (diff) | |
download | mariadb-git-4494c804b8e5d33ae95223bcdd24c7c138901221.tar.gz |
complier warnings. hide the redundant condition under #ifdef
(because only there it makes any sense)
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/table.cc b/sql/table.cc index c92a096be90..77e251729c7 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -3537,9 +3537,9 @@ bool check_column_name(const char *name) } #else last_char_is_space= *name==' '; -#endif - if (*name == NAMES_SEP_CHAR) + if (*name == '\377') return 1; +#endif name++; name_length++; } |