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

Function prepare_for_positional_update

sql/sql_insert.cc:1754–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1752*/
1753
1754static void prepare_for_positional_update(TABLE *table, TABLE_LIST *tables)
1755{
1756 if (table)
1757 {
1758 if(table->reginfo.lock_type != TL_WRITE_DELAYED)
1759 table->prepare_for_position();
1760 return;
1761 }
1762
1763 DBUG_ASSERT(tables->view);
1764 List_iterator<TABLE_LIST> it(*tables->view_tables);
1765 TABLE_LIST *tbl;
1766 while ((tbl= it++))
1767 prepare_for_positional_update(tbl->table, tbl);
1768
1769 return;
1770}
1771
1772
1773/*

Callers 1

mysql_prepare_insertFunction · 0.85

Calls 1

prepare_for_positionMethod · 0.80

Tested by

no test coverage detected