MySQL 9.1.0
Source Code Documentation
|
Iterator which allows to go through all used TABLE instances for the table in all table caches. More...
#include <table_cache.h>
Public Member Functions | |
Table_cache_iterator (const TABLE_SHARE *share_arg) | |
Construct iterator over all used TABLE objects for the table share. More... | |
TABLE * | operator++ (int) |
Get current used TABLE instance and move iterator to the next one. More... | |
void | rewind () |
Private Member Functions | |
void | move_to_next_table () |
Helper that moves iterator to the next used TABLE for the table share. More... | |
Private Attributes | |
const TABLE_SHARE * | share |
uint | current_cache_index |
TABLE * | current_table |
Iterator which allows to go through all used TABLE instances for the table in all table caches.
|
inline |
Construct iterator over all used TABLE objects for the table share.
|
inlineprivate |
Helper that moves iterator to the next used TABLE for the table share.
|
inline |
Get current used TABLE instance and move iterator to the next one.
|
inline |
|
private |
|
private |
|
private |