summaryrefslogtreecommitdiff
path: root/sql/log_slow.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2014-07-09 12:32:00 +0400
committerSergey Petrunya <psergey@askmonty.org>2014-07-09 12:32:00 +0400
commit16779f6069fbd7d4016e9b148174c48b72f1ac70 (patch)
tree924031b72d3000e232d01facc9a7d43589ec4e92 /sql/log_slow.h
parent653bf17716d7ae59436590545344678b0997c7fb (diff)
downloadmariadb-git-16779f6069fbd7d4016e9b148174c48b72f1ac70.tar.gz
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).
Diffstat (limited to 'sql/log_slow.h')
-rw-r--r--sql/log_slow.h2
1 files changed, 2 insertions, 0 deletions
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 */