includes/db/DatabaseOracle.php 1 location
|
@@ 1360-1364 (lines=5) @@
|
| 1357 |
|
$startOpts .= 'DISTINCT'; |
| 1358 |
|
} |
| 1359 |
|
|
| 1360 |
|
if ( isset( $options['USE INDEX'] ) && !is_array( $options['USE INDEX'] ) ) { |
| 1361 |
|
$useIndex = $this->useIndexClause( $options['USE INDEX'] ); |
| 1362 |
|
} else { |
| 1363 |
|
$useIndex = ''; |
| 1364 |
|
} |
| 1365 |
|
|
| 1366 |
|
return [ $startOpts, $useIndex, $preLimitTail, $postLimitTail ]; |
| 1367 |
|
} |
includes/db/Database.php 1 location
|
@@ 1174-1178 (lines=5) @@
|
| 1171 |
|
$startOpts .= ' SQL_NO_CACHE'; |
| 1172 |
|
} |
| 1173 |
|
|
| 1174 |
|
if ( isset( $options['USE INDEX'] ) && is_string( $options['USE INDEX'] ) ) { |
| 1175 |
|
$useIndex = $this->useIndexClause( $options['USE INDEX'] ); |
| 1176 |
|
} else { |
| 1177 |
|
$useIndex = ''; |
| 1178 |
|
} |
| 1179 |
|
|
| 1180 |
|
return [ $startOpts, $useIndex, $preLimitTail, $postLimitTail ]; |
| 1181 |
|
} |