|
@@ 2086-2091 (lines=6) @@
|
| 2083 |
|
list( $joinType, $conds ) = $join_conds[$alias]; |
| 2084 |
|
$tableClause = $joinType; |
| 2085 |
|
$tableClause .= ' ' . $this->tableNameWithAlias( $table, $alias ); |
| 2086 |
|
if ( isset( $use_index[$alias] ) ) { // has USE INDEX? |
| 2087 |
|
$use = $this->useIndexClause( implode( ',', (array)$use_index[$alias] ) ); |
| 2088 |
|
if ( $use != '' ) { |
| 2089 |
|
$tableClause .= ' ' . $use; |
| 2090 |
|
} |
| 2091 |
|
} |
| 2092 |
|
if ( isset( $ignore_index[$alias] ) ) { // has IGNORE INDEX? |
| 2093 |
|
$ignore = $this->ignoreIndexClause( implode( ',', (array)$ignore_index[$alias] ) ); |
| 2094 |
|
if ( $ignore != '' ) { |
|
@@ 2092-2097 (lines=6) @@
|
| 2089 |
|
$tableClause .= ' ' . $use; |
| 2090 |
|
} |
| 2091 |
|
} |
| 2092 |
|
if ( isset( $ignore_index[$alias] ) ) { // has IGNORE INDEX? |
| 2093 |
|
$ignore = $this->ignoreIndexClause( implode( ',', (array)$ignore_index[$alias] ) ); |
| 2094 |
|
if ( $ignore != '' ) { |
| 2095 |
|
$tableClause .= ' ' . $ignore; |
| 2096 |
|
} |
| 2097 |
|
} |
| 2098 |
|
$on = $this->makeList( (array)$conds, LIST_AND ); |
| 2099 |
|
if ( $on != '' ) { |
| 2100 |
|
$tableClause .= ' ON (' . $on . ')'; |