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

Method collect_data

sql/sql_explain.cc:3088–3105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3086}
3087
3088void Explain_range_checked_fer::collect_data(QUICK_SELECT_I *quick)
3089{
3090 if (quick)
3091 {
3092 if (quick->index == MAX_KEY)
3093 index_merge++;
3094 else
3095 {
3096 DBUG_ASSERT(quick->index < keys);
3097 DBUG_ASSERT(keys_stat);
3098 DBUG_ASSERT(keys_stat_names);
3099 DBUG_ASSERT(keys_stat_names[ quick->index]);
3100 keys_stat[quick->index]++;
3101 }
3102 }
3103 else
3104 full_scan++;
3105}
3106
3107
3108void Explain_range_checked_fer::print_json(Json_writer *writer,

Callers 1

test_if_quick_selectFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_if_quick_selectFunction · 0.64