mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-29284 ANALYZE doesn't work with pushed derived tables
There was no actual execution of the SQL of a pushed derived table, which caused "r_rows" to be always displayed as 0 and "r_total_time_ms" to show inaccurate numbers. This commit makes a derived table SQL to be executed by the storage engine, so the server is able to calculate the number of rows returned and measure the execution time more accurately
This commit is contained in:
@ -2545,8 +2545,6 @@ class derived_handler;
|
||||
|
||||
class Pushdown_derived: public Sql_alloc
|
||||
{
|
||||
private:
|
||||
bool is_analyze;
|
||||
public:
|
||||
TABLE_LIST *derived;
|
||||
derived_handler *handler;
|
||||
|
Reference in New Issue
Block a user