mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Code review comments
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user