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
f198cb35
Commit
f198cb35
authored
Sep 14, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code clean-up
sql/sql_repl.cc: code clean-up: we can use thd here.
parent
52b355e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_repl.cc
sql/sql_repl.cc
+2
-2
No files found.
sql/sql_repl.cc
View file @
f198cb35
...
@@ -293,7 +293,7 @@ int purge_master_logs(THD* thd, const char* to_log)
...
@@ -293,7 +293,7 @@ int purge_master_logs(THD* thd, const char* to_log)
char
search_file_name
[
FN_REFLEN
];
char
search_file_name
[
FN_REFLEN
];
if
(
!
mysql_bin_log
.
is_open
())
if
(
!
mysql_bin_log
.
is_open
())
{
{
send_ok
(
current_
thd
);
send_ok
(
thd
);
return
0
;
return
0
;
}
}
...
@@ -308,7 +308,7 @@ int purge_master_logs_before_date(THD* thd, time_t purge_time)
...
@@ -308,7 +308,7 @@ int purge_master_logs_before_date(THD* thd, time_t purge_time)
{
{
if
(
!
mysql_bin_log
.
is_open
())
if
(
!
mysql_bin_log
.
is_open
())
{
{
send_ok
(
current_
thd
);
send_ok
(
thd
);
return
0
;
return
0
;
}
}
return
purge_error_message
(
thd
,
return
purge_error_message
(
thd
,
...
...
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