| 1198 | */ |
| 1199 | |
| 1200 | void 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 | |
| 1220 | void lex_start(THD *thd) |
| 1221 | { |
no test coverage detected