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

Function get_table_map

sql/sql_update.cc:1454–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452*/
1453
1454static table_map get_table_map(List<Item> *items)
1455{
1456 List_iterator_fast<Item> item_it(*items);
1457 Item_field *item;
1458 table_map map= 0;
1459
1460 while ((item= (Item_field *) item_it++))
1461 map|= item->all_used_tables();
1462 DBUG_PRINT("info", ("table_map: 0x%08lx", (long) map));
1463 return map;
1464}
1465
1466/**
1467 If one row is updated through two different aliases and the first

Callers 2

handle_endMethod · 0.85
multi_updateMethod · 0.85

Calls 1

all_used_tablesMethod · 0.45

Tested by

no test coverage detected