MCPcopy Create free account
hub / github.com/MariaDB/server / lex_start

Method lex_start

sql/sql_lex.cc:1200–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1198*/
1199
1200void SELECT_LEX::lex_start(LEX *plex)
1201{
1202 SELECT_LEX_UNIT *unit= &plex->unit;
1203 /* 'parent_lex' is used in init_query() so it must be before it. */
1204 parent_lex= plex;
1205 init_query();
1206 master= unit;
1207 prev= &unit->slave;
1208 link_next= slave= next= 0;
1209 link_prev= (st_select_lex_node**)&(plex->all_selects_list);
1210 DBUG_ASSERT(!group_list_ptrs);
1211 select_number= 1;
1212 in_sum_expr=0;
1213 ftfunc_list_alloc.empty();
1214 ftfunc_list= &ftfunc_list_alloc;
1215 group_list.empty();
1216 order_list.empty();
1217 gorder_list.empty();
1218}
1219
1220void lex_start(THD *thd)
1221{

Callers 2

binlog_create_tableFunction · 0.45
startMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected