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:
parent
c20c6e8406
commit
7f41bfa5f8
@ -1447,7 +1447,7 @@ std::string get_canonical(GWBUF* querybuf)
|
||||
else if (*it == '\\')
|
||||
{
|
||||
// Jump over any escaped values
|
||||
rval[i++] += *it++;
|
||||
rval[i++] = *it++;
|
||||
|
||||
if (it != buf.end())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user