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
53758bb9
Commit
53758bb9
authored
May 02, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
parents
a8125f35
1675d6f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
sql/log.cc
sql/log.cc
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-1
No files found.
sql/log.cc
View file @
53758bb9
...
...
@@ -3891,7 +3891,7 @@ void MYSQL_BIN_LOG::rotate_and_purge(uint flags)
#ifdef HAVE_REPLICATION
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
)
purge_logs_before_date
(
purge_time
);
}
...
...
sql/mysqld.cc
View file @
53758bb9
...
...
@@ -3485,7 +3485,7 @@ server.");
#ifdef HAVE_REPLICATION
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
)
mysql_bin_log
.
purge_logs_before_date
(
purge_time
);
}
...
...
@@ -6866,6 +6866,7 @@ SHOW_VAR status_vars[]= {
{
"Com_analyze"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_ANALYZE
]),
SHOW_LONG_STATUS
},
{
"Com_backup_table"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_BACKUP_TABLE
]),
SHOW_LONG_STATUS
},
{
"Com_begin"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_BEGIN
]),
SHOW_LONG_STATUS
},
{
"Com_call_procedure"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_CALL
]),
SHOW_LONG_STATUS
},
{
"Com_change_db"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_CHANGE_DB
]),
SHOW_LONG_STATUS
},
{
"Com_change_master"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_CHANGE_MASTER
]),
SHOW_LONG_STATUS
},
{
"Com_check"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_CHECK
]),
SHOW_LONG_STATUS
},
...
...
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