1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-30032: EXPLAIN FORMAT=JSON output: part #2: print 'loops'.

This commit is contained in:
Sergei Petrunia
2022-11-21 18:17:14 +03:00
parent ffe0beca25
commit 6c4076fac4
51 changed files with 1641 additions and 4 deletions

View File

@@ -758,6 +758,8 @@ public:
Explain_table_access(MEM_ROOT *root, bool timed) :
derived_select_number(0),
non_merged_sjm_number(0),
cost(0.0),
loops(0.0),
extra_tags(root),
range_checked_fer(NULL),
full_scan_on_null_key(false),
@@ -829,6 +831,7 @@ public:
/* Total cost incurred during one execution of this select */
double cost;
double loops;
/*
Contents of the 'Extra' column. Some are converted into strings, some have
parameters, values for which are stored below.