From 1c6206bf9dd4389c517a1615016bf6bedd489a61 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Thu, 2 Aug 2012 10:12:34 -0300 Subject: [PATCH] Fix for 937225: OUTER JOIN advice in JOI.003 is confusing --- bin/pt-query-advisor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/pt-query-advisor b/bin/pt-query-advisor index 649e7f94..a1066a0d 100755 --- a/bin/pt-query-advisor +++ b/bin/pt-query-advisor @@ -6897,7 +6897,8 @@ severity: warn OUTER JOIN defeated. The reference to an outer table column in the WHERE clause prevents the OUTER JOIN from returning any non-matched rows, which implicitly converts the query to an INNER JOIN. This is probably a bug in the query or a -misunderstanding of how OUTER JOIN works. +misunderstanding of how OUTER JOIN works, as LEFT/RIGHT joins are a shortcut +for LEFT/RIGHT OUTER JOIN. =item JOI.004