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

Function mysql_init_multi_delete

sql/sql_parse.cc:1132–1141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130
1131
1132void mysql_init_multi_delete(LEX *lex)
1133{
1134 lex->sql_command= SQLCOM_DELETE_MULTI;
1135 mysql_init_select(lex);
1136 lex->select_lex.select_limit= 0;
1137 lex->unit.select_limit_cnt= HA_POS_ERROR;
1138 lex->select_lex.table_list.save_and_clear(&lex->auxiliary_table_list);
1139 lex->query_tables= 0;
1140 lex->query_tables_last= &lex->query_tables;
1141}
1142
1143
1144/*

Callers

nothing calls this directly

Calls 2

mysql_init_selectFunction · 0.85
save_and_clearMethod · 0.80

Tested by

no test coverage detected