Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ac57a30b
Commit
ac57a30b
authored
Sep 27, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-13675 filsort_priority_queue
typo fixed
parent
93fb5865
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
20 deletions
+20
-20
mysql-test/r/log_slow.result
mysql-test/r/log_slow.result
+2
-2
mysql-test/r/mysqld--help.result
mysql-test/r/mysqld--help.result
+2
-2
mysql-test/r/set_statement.result
mysql-test/r/set_statement.result
+1
-1
mysql-test/suite/sys_vars/r/log_queries_not_using_indexes_basic.result
...ite/sys_vars/r/log_queries_not_using_indexes_basic.result
+4
-4
mysql-test/suite/sys_vars/r/log_slow_filter_basic.result
mysql-test/suite/sys_vars/r/log_slow_filter_basic.result
+6
-6
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
...l-test/suite/sys_vars/r/sysvars_server_notembedded.result
+4
-4
sql/sys_vars.cc
sql/sys_vars.cc
+1
-1
No files found.
mysql-test/r/log_slow.result
View file @
ac57a30b
select @@log_slow_filter;
@@log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
select @@log_slow_rate_limit;
@@log_slow_rate_limit
1
...
...
@@ -11,7 +11,7 @@ show variables like "log_slow%";
Variable_name Value
log_slow_admin_statements ON
log_slow_disabled_statements sp
log_slow_filter admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log_slow_filter admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log_slow_rate_limit 1
log_slow_slave_statements ON
log_slow_verbosity
...
...
mysql-test/r/mysqld--help.result
View file @
ac57a30b
...
...
@@ -452,7 +452,7 @@ The following options may be given as the first argument:
types are bound by slow_query_time, except
'not_using_index' which is always logged if enabled. Any
combination of: admin, filesort, filesort_on_disk,
filsort_priority_queue, full_join, full_scan,
fil
e
sort_priority_queue, full_join, full_scan,
not_using_index, query_cache, query_cache_miss, tmp_table,
tmp_table_on_disk
--log-slow-rate-limit=#
...
...
@@ -1388,7 +1388,7 @@ log-short-format FALSE
log-slave-updates FALSE
log-slow-admin-statements TRUE
log-slow-disabled-statements sp
log-slow-filter admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log-slow-filter admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log-slow-rate-limit 1
log-slow-slave-statements TRUE
log-slow-verbosity
...
...
mysql-test/r/set_statement.result
View file @
ac57a30b
...
...
@@ -1047,7 +1047,7 @@ set statement long_query_time=default for select @@long_query_time;
10.000000
set statement log_slow_filter=default for select @@log_slow_filter;
@@log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
set statement log_slow_verbosity=default for select @@log_slow_verbosity;
@@log_slow_verbosity
...
...
mysql-test/suite/sys_vars/r/log_queries_not_using_indexes_basic.result
View file @
ac57a30b
...
...
@@ -73,19 +73,19 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
SET @@SESSION.log_queries_not_using_indexes= TRUE;
select @@SESSION.log_slow_filter;
@@SESSION.log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
SET @@SESSION.log_queries_not_using_indexes= FALSE;
select @@SESSION.log_slow_filter;
@@SESSION.log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
SET @@GLOBAL.log_queries_not_using_indexes= TRUE;
select @@GLOBAL.log_slow_filter;
@@GLOBAL.log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
SET @@GLOBAL.log_queries_not_using_indexes= FALSE;
select @@GLOBAL.log_slow_filter;
@@GLOBAL.log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
SET @@SESSION.log_slow_filter="";
select @@SESSION.log_queries_not_using_indexes;
@@SESSION.log_queries_not_using_indexes
...
...
mysql-test/suite/sys_vars/r/log_slow_filter_basic.result
View file @
ac57a30b
SET @start_global_value = @@global.log_slow_filter;
select @@global.log_slow_filter;
@@global.log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
select @@session.log_slow_filter;
@@session.log_slow_filter
admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
show global variables like 'log_slow_filter';
Variable_name Value
log_slow_filter admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log_slow_filter admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
show session variables like 'log_slow_filter';
Variable_name Value
log_slow_filter admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
log_slow_filter admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
select * from information_schema.global_variables where variable_name='log_slow_filter';
VARIABLE_NAME VARIABLE_VALUE
LOG_SLOW_FILTER admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
LOG_SLOW_FILTER admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
select * from information_schema.session_variables where variable_name='log_slow_filter';
VARIABLE_NAME VARIABLE_VALUE
LOG_SLOW_FILTER admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
LOG_SLOW_FILTER admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
set global log_slow_filter=1;
select @@global.log_slow_filter;
@@global.log_slow_filter
...
...
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
View file @
ac57a30b
...
...
@@ -2027,17 +2027,17 @@ ENUM_VALUE_LIST admin,call,slave,sp
READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME LOG_SLOW_FILTER
SESSION_VALUE admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
GLOBAL_VALUE admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
SESSION_VALUE admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
GLOBAL_VALUE admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
DEFAULT_VALUE admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
VARIABLE_SCOPE SESSION
VARIABLE_TYPE SET
VARIABLE_COMMENT Log only certain types of queries to the slow log. If variable empty alll kind of queries are logged. All types are bound by slow_query_time, except 'not_using_index' which is always logged if enabled
NUMERIC_MIN_VALUE NULL
NUMERIC_MAX_VALUE NULL
NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST admin,filesort,filesort_on_disk,filsort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
ENUM_VALUE_LIST admin,filesort,filesort_on_disk,fil
e
sort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME LOG_SLOW_RATE_LIMIT
...
...
sql/sys_vars.cc
View file @
ac57a30b
...
...
@@ -5379,7 +5379,7 @@ static Sys_var_keycache Sys_key_cache_segments(
static
const
char
*
log_slow_filter_names
[]
=
{
"admin"
,
"filesort"
,
"filesort_on_disk"
,
"filsort_priority_queue"
,
"admin"
,
"filesort"
,
"filesort_on_disk"
,
"fil
e
sort_priority_queue"
,
"full_join"
,
"full_scan"
,
"not_using_index"
,
"query_cache"
,
"query_cache_miss"
,
"tmp_table"
,
"tmp_table_on_disk"
,
0
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment