includes/db/DatabaseOracle.php 1 location
|
@@ 1372-1376 (lines=5) @@
|
| 1369 |
|
$startOpts .= 'DISTINCT'; |
| 1370 |
|
} |
| 1371 |
|
|
| 1372 |
|
if ( isset( $options['USE INDEX'] ) && !is_array( $options['USE INDEX'] ) ) { |
| 1373 |
|
$useIndex = $this->useIndexClause( $options['USE INDEX'] ); |
| 1374 |
|
} else { |
| 1375 |
|
$useIndex = ''; |
| 1376 |
|
} |
| 1377 |
|
|
| 1378 |
|
return [ $startOpts, $useIndex, $preLimitTail, $postLimitTail ]; |
| 1379 |
|
} |
includes/db/Database.php 1 location
|
@@ 1177-1181 (lines=5) @@
|
| 1174 |
|
$startOpts .= ' SQL_NO_CACHE'; |
| 1175 |
|
} |
| 1176 |
|
|
| 1177 |
|
if ( isset( $options['USE INDEX'] ) && is_string( $options['USE INDEX'] ) ) { |
| 1178 |
|
$useIndex = $this->useIndexClause( $options['USE INDEX'] ); |
| 1179 |
|
} else { |
| 1180 |
|
$useIndex = ''; |
| 1181 |
|
} |
| 1182 |
|
|
| 1183 |
|
return [ $startOpts, $useIndex, $preLimitTail, $postLimitTail ]; |
| 1184 |
|
} |