mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
comment
This commit is contained in:
@ -460,7 +460,7 @@ static char *remove_end_comment(char *ptr)
|
|||||||
else if (quote == *ptr)
|
else if (quote == *ptr)
|
||||||
quote= 0;
|
quote= 0;
|
||||||
}
|
}
|
||||||
if (!quote && *ptr == '#') /* We are not inside a comment */
|
if (!quote && *ptr == '#') /* We are not inside a string */
|
||||||
{
|
{
|
||||||
*ptr= 0;
|
*ptr= 0;
|
||||||
return ptr;
|
return ptr;
|
||||||
|
Reference in New Issue
Block a user