From 16779f6069fbd7d4016e9b148174c48b72f1ac70 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Wed, 9 Jul 2014 12:32:00 +0400 Subject: MDEV-6430: It is impossible to see if "filesort with small limit" optimization was used - Make log_slow_verbosity print "Priority_queue: (Yes|No)" into the slow query log. (but we do not add a correspoding column to P_S.*statement* tables). --- sql/log_slow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/log_slow.h') diff --git a/sql/log_slow.h b/sql/log_slow.h index e8faf79a047..2ae07da97c3 100644 --- a/sql/log_slow.h +++ b/sql/log_slow.h @@ -31,6 +31,8 @@ #define QPLAN_QC_NO 1 << 6 #define QPLAN_TMP_DISK 1 << 7 #define QPLAN_TMP_TABLE 1 << 8 +#define QPLAN_FILESORT_PRIORITY_QUEUE 1 << 9 + /* ... */ #define QPLAN_MAX ((ulong) 1) << 31 /* reserved as placeholder */ -- cgit v1.2.1