mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
accrue statistics to correct handler
This commit is contained in:
committed by
Sergei Petrunia
parent
0940a96940
commit
a11a10191a
@ -3211,7 +3211,13 @@ protected:
|
||||
|
||||
ha_rows estimation_rows_to_insert;
|
||||
handler *lookup_handler;
|
||||
/* Statistics for the query. Updated if handler_stats.in_use is set */
|
||||
/*
|
||||
Statistics for the query. Prefer to use the handler_stats pointer
|
||||
below rather than this object directly as the clone() method will
|
||||
modify how stats are accounted by adjusting the handler_stats
|
||||
pointer. Referring to active_handler_stats directly will yield
|
||||
surprising and possibly incorrect results.
|
||||
*/
|
||||
ha_handler_stats active_handler_stats;
|
||||
void set_handler_stats();
|
||||
public:
|
||||
|
Reference in New Issue
Block a user