| 1562 | */ |
| 1563 | |
| 1564 | bool st_select_lex::init_nested_join(THD *thd) |
| 1565 | { |
| 1566 | DBUG_ENTER("init_nested_join"); |
| 1567 | |
| 1568 | TABLE_LIST *const ptr= |
| 1569 | TABLE_LIST::new_nested_join(thd->mem_root, "(nested_join)", |
| 1570 | embedding, join_list, this); |
| 1571 | if (ptr == NULL) |
| 1572 | DBUG_RETURN(true); |
| 1573 | |
| 1574 | join_list->push_front(ptr); |
| 1575 | embedding= ptr; |
| 1576 | join_list= &ptr->nested_join->join_list; |
| 1577 | |
| 1578 | DBUG_RETURN(false); |
| 1579 | } |
| 1580 | |
| 1581 | |
| 1582 | /** |
nothing calls this directly
no test coverage detected