| 13054 | |
| 13055 | |
| 13056 | JOIN_TAB *next_explain_order_tab(JOIN* join, JOIN_TAB* tab) |
| 13057 | { |
| 13058 | /* If we're inside SJM nest and have reached its end, get out */ |
| 13059 | if (tab->last_leaf_in_bush) |
| 13060 | return tab->bush_root_tab; |
| 13061 | |
| 13062 | /* Move to next tab in the array we're traversing */ |
| 13063 | tab++; |
| 13064 | |
| 13065 | if (tab == join->join_tab + join->top_join_tab_count) |
| 13066 | return NULL; /* Outside SJM nest and reached EOF */ |
| 13067 | |
| 13068 | if (tab->bush_children) |
| 13069 | return tab->bush_children->start; |
| 13070 | |
| 13071 | return tab; |
| 13072 | } |
| 13073 | |
| 13074 | |
| 13075 |
no outgoing calls
no test coverage detected