From: Aryeh Gregor Date: Mon, 8 Dec 2008 23:10:24 +0000 (+0000) Subject: Fix MySQL-centrism in comment X-Git-Tag: 1.31.0-rc.0~44096 X-Git-Url: https://git.heureux-cyclage.org/w/index.php?a=commitdiff_plain;h=50c1e9a500a965492f614de77be2d9aa00d96966;p=lhc%2Fweb%2Fwiklou.git Fix MySQL-centrism in comment --- diff --git a/includes/Title.php b/includes/Title.php index 792f475901..9e52e5aa99 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2979,7 +2979,8 @@ class Title { */ public function pageCond() { if( $this->mArticleID > 0 ) { - return array( 'page_id' => $this->mArticleID ); // PK avoids secondary lookups + // PK avoids secondary lookups in InnoDB, shouldn't hurt other DBs + return array( 'page_id' => $this->mArticleID ); } else { return array( 'page_namespace' => $this->mNamespace, 'page_title' => $this->mDbkeyform ); }