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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f6edc2c0
Commit
f6edc2c0
authored
May 02, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
parents
dc9b20a6
1febcfdc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/log.cc
sql/log.cc
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
sql/log.cc
View file @
f6edc2c0
...
@@ -1784,7 +1784,7 @@ void MYSQL_LOG::rotate_and_purge(uint flags)
...
@@ -1784,7 +1784,7 @@ void MYSQL_LOG::rotate_and_purge(uint flags)
#ifdef HAVE_REPLICATION
#ifdef HAVE_REPLICATION
if
(
expire_logs_days
)
if
(
expire_logs_days
)
{
{
long
purge_time
=
(
long
)
(
time
(
0
)
-
expire_logs_days
*
24
*
60
*
60
)
;
time_t
purge_time
=
time
(
0
)
-
expire_logs_days
*
24
*
60
*
60
;
if
(
purge_time
>=
0
)
if
(
purge_time
>=
0
)
purge_logs_before_date
(
purge_time
);
purge_logs_before_date
(
purge_time
);
}
}
...
...
sql/mysqld.cc
View file @
f6edc2c0
...
@@ -3271,7 +3271,7 @@ server.");
...
@@ -3271,7 +3271,7 @@ server.");
#ifdef HAVE_REPLICATION
#ifdef HAVE_REPLICATION
if
(
opt_bin_log
&&
expire_logs_days
)
if
(
opt_bin_log
&&
expire_logs_days
)
{
{
long
purge_time
=
(
long
)
(
time
(
0
)
-
expire_logs_days
*
24
*
60
*
60
)
;
time_t
purge_time
=
time
(
0
)
-
expire_logs_days
*
24
*
60
*
60
;
if
(
purge_time
>=
0
)
if
(
purge_time
>=
0
)
mysql_bin_log
.
purge_logs_before_date
(
purge_time
);
mysql_bin_log
.
purge_logs_before_date
(
purge_time
);
}
}
...
...
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