MySQL 8.4.0
Source Code Documentation
timing_iterator.h File Reference
#include <inttypes.h>
#include <stdio.h>
#include <chrono>
#include "my_alloc.h"
#include "sql/iterators/row_iterator.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"

Go to the source code of this file.

Classes

class  IteratorProfilerImpl
 This class is used in implementing the 'EXPLAIN ANALYZE' command. More...
 
class  TimingIterator< RealIterator >
 An iterator template that wraps a RowIterator, such that all calls to Init() and Read() are timed (all others are passed through unchanged, and possibly even inlined, since all RowIterator implementations are final). More...
 

Functions

template<class RealIterator , class... Args>
unique_ptr_destroy_only< RowIteratorNewIterator (THD *thd, MEM_ROOT *mem_root, Args &&... args)
 

Function Documentation

◆ NewIterator()

template<class RealIterator , class... Args>
unique_ptr_destroy_only< RowIterator > NewIterator ( THD thd,
MEM_ROOT mem_root,
Args &&...  args 
)