diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2014-07-09 12:32:00 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2014-07-09 12:32:00 +0400 |
commit | 16779f6069fbd7d4016e9b148174c48b72f1ac70 (patch) | |
tree | 924031b72d3000e232d01facc9a7d43589ec4e92 /sql/log_slow.h | |
parent | 653bf17716d7ae59436590545344678b0997c7fb (diff) | |
download | mariadb-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.h | 2 |
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 */ |