|
| ~table_error_log () override=default |
|
virtual void | reset_position (void) override |
| Reset cursor position. More...
|
|
virtual int | rnd_next () override |
| Read next row (from ring-buffer into table). More...
|
|
virtual int | rnd_pos (const void *pos) override |
| Random pos. More...
|
|
virtual int | index_next () override |
| Go to next entry in index and retrieve the matching error log event. More...
|
|
| ~cursor_by_error_log () override=default |
|
int | read_row (TABLE *table, unsigned char *buf, Field **fields) |
| Read a table row. More...
|
|
int | update_row (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields) |
| Update a table row. More...
|
|
int | delete_row (TABLE *table, const unsigned char *buf, Field **fields) |
| Delete a row from this table. More...
|
|
virtual int | rnd_init (bool scan) |
| Initialize table scan. More...
|
|
virtual int | index_read (KEY *key_infos, uint index, const uchar *key, uint key_len, enum ha_rkey_function find_flag) |
| Positions an index cursor to the index specified in the handle. More...
|
|
virtual int | index_read_last (KEY *key_infos, const uchar *key, uint key_len) |
|
virtual int | index_next_same (const uchar *key, uint key_len) |
| Reads the next row matching the given key value. More...
|
|
virtual int | index_prev () |
|
virtual int | index_first () |
|
virtual int | index_last () |
|
void | get_position (void *ref) |
| Get the position of the current row. More...
|
|
void | set_position (const void *ref) |
| Set the table cursor at a given position. More...
|
|
virtual | ~PFS_engine_table ()=default |
| Destructor. More...
|
|
|
virtual int | read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all) override |
| Fill in a row's fields from this class's buffer. More...
|
|
| table_error_log () |
|
virtual int | index_init (uint idx, bool sorted) override |
| Create an index for the column with the ordinal idx. More...
|
|
| cursor_by_error_log (const PFS_engine_table_share *share) |
|
virtual int | update_row_values (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields) |
| Update the current row values. More...
|
|
virtual int | delete_row_values (TABLE *table, const unsigned char *buf, Field **fields) |
| Delete a row. More...
|
|
| PFS_engine_table (const PFS_engine_table_share *share, void *pos) |
| Constructor. More...
|
|
Table PERFORMANCE_SCHEMA.ERROR_LOG.
int table_error_log::read_row_values |
( |
TABLE * |
table, |
|
|
unsigned char * |
buf, |
|
|
Field ** |
fields, |
|
|
bool |
read_all |
|
) |
| |
|
overrideprotectedvirtual |
Fill in a row's fields from this class's buffer.
Fill in a row's fields from internal representation (i.e.
from the private variables in the instance of table_error_log that contain the current row).
As we have previously copied the event from the ring-buffer, holding a read-lock on the ring-buffer is not necessary here.
- Return values
-
Implements PFS_engine_table.