| 1752 | */ |
| 1753 | |
| 1754 | static 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 | /* |
no test coverage detected