From c16c3b9e47d805821ff0a6b3c317c379b5d25c4d Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Wed, 9 Jul 2014 13:09:41 +0400 Subject: MDEV-6430: It is impossible to see if "filesort with small limit" optimization was used - Add a Sort_priority_queue_sorts status variable. --- sql/sql_class.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_class.h') 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; -- cgit v1.2.1