MySQL 9.1.0
Source Code Documentation
delete_rows_iterator.h File Reference
#include <assert.h>
#include "my_alloc.h"
#include "my_base.h"
#include "my_table_map.h"
#include "sql/iterators/row_iterator.h"
#include "sql/mem_root_array.h"
#include "sql/uniques.h"

Go to the source code of this file.

Classes

class  DeleteRowsIterator
 An iterator that deletes all rows returned by its child iterator. More...
 

Functions

void SetUpTablesForDelete (THD *thd, JOIN *join)
 Sets various flags in the TABLE and handler objects associated with the target tables of a DELETE statement, in order to make them ready to be deleted from. More...
 

Function Documentation

◆ SetUpTablesForDelete()

void SetUpTablesForDelete ( THD thd,
JOIN join 
)

Sets various flags in the TABLE and handler objects associated with the target tables of a DELETE statement, in order to make them ready to be deleted from.

Parameters
thdThe session object.
joinThe top-level JOIN object of the DELETE operation.