From: Jure Kajzer Date: Mon, 11 Apr 2011 13:50:21 +0000 (+0000) Subject: * fix as per brion's comment on r85669 X-Git-Tag: 1.31.0-rc.0~30937 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=6b056de74c8776d8ae995fac52282a0a3ce865f1;p=lhc%2Fweb%2Fwiklou.git * fix as per brion's comment on r85669 --- 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' ), '"' ) ) . ")" ); } /**