summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2014-07-09 13:09:41 +0400
committerSergey Petrunya <psergey@askmonty.org>2014-07-09 13:09:41 +0400
commitc16c3b9e47d805821ff0a6b3c317c379b5d25c4d (patch)
tree47fed1facc90880a75abc9c109a34025941fdf18 /sql/sql_class.h
parent16779f6069fbd7d4016e9b148174c48b72f1ac70 (diff)
downloadmariadb-git-c16c3b9e47d805821ff0a6b3c317c379b5d25c4d.tar.gz
MDEV-6430: It is impossible to see if "filesort with small limit" optimization was used
- Add a Sort_priority_queue_sorts status variable.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 5898d9e2cf8..cc0c6d3c93f 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -704,6 +704,7 @@ typedef struct system_status_var
ulong filesort_range_count_;
ulong filesort_rows_;
ulong filesort_scan_count_;
+ ulong filesort_pq_sorts_;
/* Prepared statements and binary protocol */
ulong com_stmt_prepare;
ulong com_stmt_reprepare;