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

Bug #933009 reported by Baron Schwartz on 2012-02-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to
Won't Fix

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:

This issue has been moved to

Changed in percona-toolkit:
status: Confirmed → Won't Fix

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers