From 50c1e9a500a965492f614de77be2d9aa00d96966 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 8 Dec 2008 23:10:24 +0000 Subject: [PATCH] Fix MySQL-centrism in comment --- includes/Title.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.20.1