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