diff options
| author | Sergei Petrunia <sergey@mariadb.com> | 2022-11-21 18:17:14 +0300 |
|---|---|---|
| committer | Sergei Petrunia <sergey@mariadb.com> | 2023-02-03 11:22:17 +0300 |
| commit | 6c4076fac4ade864eda7f09bd9770de3c640feb0 (patch) | |
| tree | b89d6af0ac8f26c9d96cbf14654023d9f7da7429 /sql/sql_select.h | |
| parent | ffe0beca2557a31758f50fa53ceb9948b6cd6248 (diff) | |
| download | mariadb-git-6c4076fac4ade864eda7f09bd9770de3c640feb0.tar.gz | |
MDEV-30032: EXPLAIN FORMAT=JSON output: part #2: print 'loops'.
Diffstat (limited to 'sql/sql_select.h')
| -rw-r--r-- | sql/sql_select.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index 3956651c57b..73e8739f960 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -355,6 +355,7 @@ typedef struct st_join_table { accessing the table in course of the join execution. */ double join_read_time; + double join_loops; /* The selectivity of the conditions that can be pushed to the table */ double cond_selectivity; @@ -1018,6 +1019,8 @@ public: */ double read_time; + double loops; + double prefix_record_count; /* Cost for the join prefix */ |
