MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / init_nested_join

Method init_nested_join

sql/sql_parse.cc:1564–1579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562*/
1563
1564bool 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/**

Callers

nothing calls this directly

Calls 1

push_frontMethod · 0.45

Tested by

no test coverage detected