wrong query log multiline parsing
Bug #1080648 reported by
Vlad Lesin
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MOVED - Percona Playback |
Fix Released
|
High
|
Vlad Lesin |
Bug Description
The query_log plugin parses query log entries so that the whole entry interprets as query. And the whole query log entry(query itself + metadata) is sent to server.
The issue may be in :
bool QueryLogEntry:
{
...
if (s[0] == '#' && strncmp(s.c_str(), "# administrator", strlen("# administrator")))
{
query.
r= true;
}
...
}
The above condition interprers any string that does not begins from "# administrator" as query string.
Changed in percona-playback: | |
assignee: | nobody → Vlad Lesin (vlad-lesin) |
Changed in percona-playback: | |
importance: | Undecided → High |
Changed in percona-playback: | |
status: | New → Fix Committed |
milestone: | none → 0.6 |
Changed in percona-playback: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.