Fix minor defect in get_canonical
The backslash was added instead of assigned. Since the value stored at that position is always a null byte, assignment and addition would result in the same outcome.
This commit is contained in:
@ -1447,7 +1447,7 @@ std::string get_canonical(GWBUF* querybuf)
|
|||||||
else if (*it == '\\')
|
else if (*it == '\\')
|
||||||
{
|
{
|
||||||
// Jump over any escaped values
|
// Jump over any escaped values
|
||||||
rval[i++] += *it++;
|
rval[i++] = *it++;
|
||||||
|
|
||||||
if (it != buf.end())
|
if (it != buf.end())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user