pt-query-advisor doesn't catch UPDATE/SET bug

Reported by Baron Schwartz on 2012-02-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
Undecided
Unassigned

Bug Description

This query is an error:

UPDATE tbl SET c1=4 AND c2=5 WHERE id = 1

This becomes equivalent to:

UPDATE tbl SET c1=IF(c2=5, 1, 0) WHERE id = 1

tags: added: query-rule
Changed in percona-toolkit:
status: New → Confirmed
Daniel Nichter (daniel-nichter) wrote :

pt-query-advisor was removed in 2.2. Use pt-query-advisor 2.1 or the online tool: https://tools.percona.com/query-advisor.

This issue has been moved to https://github.com/percona/query-advisor/issues/6.

Changed in percona-toolkit:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers