From 6b056de74c8776d8ae995fac52282a0a3ce865f1 Mon Sep 17 00:00:00 2001 From: Jure Kajzer Date: Mon, 11 Apr 2011 13:50:21 +0000 Subject: [PATCH] * fix as per brion's comment on r85669 --- includes/search/SearchOracle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/search/SearchOracle.php b/includes/search/SearchOracle.php index 7209d6d11c..64e93e03fc 100644 --- a/includes/search/SearchOracle.php +++ b/includes/search/SearchOracle.php @@ -254,9 +254,9 @@ class SearchOracle extends SearchEngine { // ALTER SESSION SET CURRENT_SCHEMA = ... // was used. $dbw->query( "CALL ctx_ddl.sync_index(" . - $dbw->addQuotes( $dbw->getDBname() . '.'.$wgDBprefix.'si_text_idx' ) . ")" ); + $dbw->addQuotes( $dbw->getDBname() . '.' . trim( $dbw->tableName( 'si_text_idx' ), '"' ) ) . ")" ); $dbw->query( "CALL ctx_ddl.sync_index(" . - $dbw->addQuotes( $dbw->getDBname() . '.'.$wgDBprefix.'si_title_idx' ) . ")" ); + $dbw->addQuotes( $dbw->getDBname() . '.' . trim( $dbw->tableName( 'si_title_idx' ), '"' ) ) . ")" ); } /** -- 2.20.1