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
3d3b04e0
Commit
3d3b04e0
authored
Jul 22, 2008
by
Kristofer Pettersson
Browse files
Options
Browse Files
Download
Plain Diff
sql/log.cc: Auto merge
parents
d78158f4
6da6bbc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sql/log.cc
sql/log.cc
+4
-3
No files found.
sql/log.cc
View file @
3d3b04e0
...
...
@@ -3096,7 +3096,7 @@ int MYSQL_BIN_LOG::purge_logs(const char *to_log,
/*
It's not fatal if we can't stat a log file that does not exist;
If we could not stat, we won't delete.
*/
*/
if
(
thd
)
{
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
...
...
@@ -3235,6 +3235,7 @@ int MYSQL_BIN_LOG::purge_logs_before_date(time_t purge_time)
LOG_INFO
log_info
;
MY_STAT
stat_area
;
THD
*
thd
=
current_thd
;
DBUG_ENTER
(
"purge_logs_before_date"
);
pthread_mutex_lock
(
&
LOCK_index
);
...
...
@@ -3263,8 +3264,8 @@ int MYSQL_BIN_LOG::purge_logs_before_date(time_t purge_time)
ER_LOG_PURGE_NO_FILE
,
ER
(
ER_LOG_PURGE_NO_FILE
),
log_info
.
log_file_name
);
}
sql_print_information
(
"Failed to execute my_stat on file '%s'"
,
log_info
.
log_file_name
);
sql_print_information
(
"Failed to execute my_stat on file '%s'"
,
log_info
.
log_file_name
);
my_errno
=
0
;
}
else
...
...
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