From 7d7aa13638692897c72196bfc89d3ca57825d82c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 13 May 2008 04:29:54 +0000 Subject: [PATCH] INNER JOIN --- includes/api/ApiQueryRecentChanges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 2a5c83a395..d8bcb3e95c 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -166,7 +166,7 @@ class ApiQueryRecentChanges extends ApiQueryBase { if($this->fld_redirect || isset($show['redirect']) || isset($show['!redirect'])) { $this->addTables('page'); - $this->addJoinConds(array('page' => array('RIGHT JOIN', array('page_namespace=rc_namespace', 'page_title=rc_title')))); + $this->addJoinConds(array('page' => array('INNER JOIN', array('page_namespace=rc_namespace', 'page_title=rc_title')))); $this->addFields('page_is_redirect'); } } -- 2.20.1