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
d0ce263f
Commit
d0ce263f
authored
Mar 27, 2007
by
mats@romeo.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminating some compiler warnings.
parent
c9a7855f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
sql/log_event.cc
sql/log_event.cc
+1
-0
sql/slave.cc
sql/slave.cc
+2
-2
No files found.
sql/log_event.cc
View file @
d0ce263f
...
@@ -3683,6 +3683,7 @@ Rotate_log_event::do_shall_skip(RELAY_LOG_INFO *rli)
...
@@ -3683,6 +3683,7 @@ Rotate_log_event::do_shall_skip(RELAY_LOG_INFO *rli)
return
Log_event
::
EVENT_SKIP_IGNORE
;
return
Log_event
::
EVENT_SKIP_IGNORE
;
}
}
DBUG_ASSERT
(
0
);
DBUG_ASSERT
(
0
);
return
Log_event
::
EVENT_SKIP_NOT
;
// To keep compiler happy
}
}
#endif
#endif
...
...
sql/slave.cc
View file @
d0ce263f
...
@@ -1722,7 +1722,7 @@ static int exec_relay_log_event(THD* thd, RELAY_LOG_INFO* rli)
...
@@ -1722,7 +1722,7 @@ static int exec_relay_log_event(THD* thd, RELAY_LOG_INFO* rli)
}
}
if
(
ev
)
if
(
ev
)
{
{
int
type_code
=
ev
->
get_type_code
();
int
const
type_code
=
ev
->
get_type_code
();
int
exec_res
=
0
;
int
exec_res
=
0
;
/*
/*
...
@@ -1828,7 +1828,7 @@ static int exec_relay_log_event(THD* thd, RELAY_LOG_INFO* rli)
...
@@ -1828,7 +1828,7 @@ static int exec_relay_log_event(THD* thd, RELAY_LOG_INFO* rli)
used to read info about the relay log's format; it will be deleted when
used to read info about the relay log's format; it will be deleted when
the SQL thread does not need it, i.e. when this thread terminates.
the SQL thread does not need it, i.e. when this thread terminates.
*/
*/
if
(
ev
->
get_type_code
()
!=
FORMAT_DESCRIPTION_EVENT
)
if
(
type_code
!=
FORMAT_DESCRIPTION_EVENT
)
{
{
DBUG_PRINT
(
"info"
,
(
"Deleting the event after it has been executed"
));
DBUG_PRINT
(
"info"
,
(
"Deleting the event after it has been executed"
));
delete
ev
;
delete
ev
;
...
...
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