Commit 5ed76763 authored by unknown's avatar unknown

Code review comments


sql/sql_lex.cc:
  Fixed parenthese typo, found during code review
parent 1e33b063
...@@ -1112,8 +1112,8 @@ Alter_info::Alter_info(const Alter_info &rhs, MEM_ROOT *mem_root) ...@@ -1112,8 +1112,8 @@ Alter_info::Alter_info(const Alter_info &rhs, MEM_ROOT *mem_root)
char *skip_rear_comments(CHARSET_INFO *cs, char *begin, char *end) char *skip_rear_comments(CHARSET_INFO *cs, char *begin, char *end)
{ {
while (begin < end && (end[-1] == '*' || while (begin < end && (end[-1] == '*' ||
end[-1] == '/' || end[-1] == ';') || end[-1] == '/' || end[-1] == ';' ||
my_isspace(cs, end[-1])) my_isspace(cs, end[-1])))
end-= 1; end-= 1;
return end; return end;
} }
......
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