| 10127 | */ |
| 10128 | |
| 10129 | static TABLE_LIST* get_emb_subq(JOIN_TAB *tab) |
| 10130 | { |
| 10131 | TABLE_LIST *tlist= tab->table->pos_in_table_list; |
| 10132 | if (tlist->jtbm_subselect) |
| 10133 | return tlist; |
| 10134 | TABLE_LIST *embedding= tlist->embedding; |
| 10135 | if (!embedding || !embedding->sj_subq_pred) |
| 10136 | return NULL; |
| 10137 | return embedding; |
| 10138 | } |
| 10139 | |
| 10140 | |
| 10141 | /* |
no outgoing calls
no test coverage detected