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

Function is_local_field

sql/sql_select.cc:7008–7014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7006*/
7007
7008static bool
7009is_local_field (Item *field)
7010{
7011 return field->real_item()->type() == Item::FIELD_ITEM
7012 && !(field->used_tables() & OUTER_REF_TABLE_BIT)
7013 && !((Item_field *)field->real_item())->get_depended_from();
7014}
7015
7016
7017/*

Callers 2

add_key_fieldsMethod · 0.85

Calls 4

get_depended_fromMethod · 0.80
typeMethod · 0.45
real_itemMethod · 0.45
used_tablesMethod · 0.45

Tested by

no test coverage detected