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
a552a07c
Commit
a552a07c
authored
Mar 23, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport from 5.1, limit SHOW VARIABLES to "log_bin%"
parent
da9fa2cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
16 deletions
+4
-16
mysql-test/r/flush2.result
mysql-test/r/flush2.result
+2
-14
mysql-test/t/flush2.test
mysql-test/t/flush2.test
+2
-2
No files found.
mysql-test/r/flush2.result
View file @
a552a07c
flush logs;
set global expire_logs_days = 3;
show variables like 'log%';
show variables like 'log
_bin
%';
Variable_name Value
log ON
log_bin OFF
log_bin_trust_function_creators ON
log_error
log_queries_not_using_indexes OFF
log_slave_updates OFF
log_slow_queries OFF
log_warnings 1
flush logs;
show variables like 'log%';
show variables like 'log
_bin
%';
Variable_name Value
log ON
log_bin OFF
log_bin_trust_function_creators ON
log_error
log_queries_not_using_indexes OFF
log_slave_updates OFF
log_slow_queries OFF
log_warnings 1
set global expire_logs_days = 0;
mysql-test/t/flush2.test
View file @
a552a07c
...
...
@@ -3,7 +3,7 @@
#
flush
logs
;
set
global
expire_logs_days
=
3
;
show
variables
like
'log%'
;
show
variables
like
'log
_bin
%'
;
flush
logs
;
show
variables
like
'log%'
;
show
variables
like
'log
_bin
%'
;
set
global
expire_logs_days
=
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