|
@@ 1898-1903 (lines=6) @@
|
| 1895 |
|
list( $joinType, $conds ) = $join_conds[$alias]; |
| 1896 |
|
$tableClause = $joinType; |
| 1897 |
|
$tableClause .= ' ' . $this->tableNameWithAlias( $table, $alias ); |
| 1898 |
|
if ( isset( $use_index[$alias] ) ) { // has USE INDEX? |
| 1899 |
|
$use = $this->useIndexClause( implode( ',', (array)$use_index[$alias] ) ); |
| 1900 |
|
if ( $use != '' ) { |
| 1901 |
|
$tableClause .= ' ' . $use; |
| 1902 |
|
} |
| 1903 |
|
} |
| 1904 |
|
if ( isset( $ignore_index[$alias] ) ) { // has IGNORE INDEX? |
| 1905 |
|
$ignore = $this->ignoreIndexClause( |
| 1906 |
|
implode( ',', (array)$ignore_index[$alias] ) ); |
|
@@ 1904-1909 (lines=6) @@
|
| 1901 |
|
$tableClause .= ' ' . $use; |
| 1902 |
|
} |
| 1903 |
|
} |
| 1904 |
|
if ( isset( $ignore_index[$alias] ) ) { // has IGNORE INDEX? |
| 1905 |
|
$ignore = $this->ignoreIndexClause( |
| 1906 |
|
implode( ',', (array)$ignore_index[$alias] ) ); |
| 1907 |
|
if ( $ignore != '' ) { |
| 1908 |
|
$tableClause .= ' ' . $ignore; |
| 1909 |
|
} |
| 1910 |
|
} |
| 1911 |
|
$on = $this->makeList( (array)$conds, self::LIST_AND ); |
| 1912 |
|
if ( $on != '' ) { |