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

Method empty

sql/sql_profile.h:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 void empty()
80 {
81 struct queue_item *i, *after_i;
82 for (i= first; i != NULL; i= after_i)
83 {
84 after_i= i->next;
85 my_free(i);
86 }
87 elements= 0;
88 }
89
90 ulong elements; /* The count of items in the Queue */
91

Callers 15

partition_infoMethod · 0.45
get_join_conditionMethod · 0.45
merge_sortFunction · 0.45
set_argumentsMethod · 0.45
initMethod · 0.45
new_nested_joinMethod · 0.45
Warning_infoMethod · 0.45
clearMethod · 0.45
reset_lexMethod · 0.45
select_dumpvarMethod · 0.45

Calls 1

my_freeFunction · 0.85

Tested by

no test coverage detected