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
|
@@ 1342-1346 (lines=5) @@
|
| 1339 |
|
$startOpts .= ' SQL_NO_CACHE'; |
| 1340 |
|
} |
| 1341 |
|
|
| 1342 |
|
if ( isset( $options['USE INDEX'] ) && is_string( $options['USE INDEX'] ) ) { |
| 1343 |
|
$useIndex = $this->useIndexClause( $options['USE INDEX'] ); |
| 1344 |
|
} else { |
| 1345 |
|
$useIndex = ''; |
| 1346 |
|
} |
| 1347 |
|
|
| 1348 |
|
return [ $startOpts, $useIndex, $preLimitTail, $postLimitTail ]; |
| 1349 |
|
} |