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
e240e8d0
Commit
e240e8d0
authored
Jun 02, 2022
by
Monty
Committed by
Sergei Petrunia
Jun 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some compiler warnings
parent
9e6fd299
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/partition_info.cc
sql/partition_info.cc
+1
-1
sql/slave.cc
sql/slave.cc
+1
-1
No files found.
sql/partition_info.cc
View file @
e240e8d0
...
...
@@ -890,7 +890,7 @@ void partition_info::vers_check_limit(THD *thd)
#ifndef DBUG_OFF
const
uint32
sub_factor
=
num_subparts
?
num_subparts
:
1
;
uint32
part_id
=
vers_info
->
hist_part
->
id
*
sub_factor
;
const
uint32
part_id_end
=
part_id
+
sub_factor
;
const
uint32
part_id_end
__attribute__
((
unused
))
=
part_id
+
sub_factor
;
DBUG_ASSERT
(
part_id_end
<=
num_parts
*
sub_factor
);
#endif
...
...
sql/slave.cc
View file @
e240e8d0
...
...
@@ -6718,7 +6718,7 @@ static int queue_event(Master_info* mi, const uchar *buf, ulong event_len)
can be satisfied only with the strict mode that ensures
against "genuine" gtid duplicates.
*/
rpl_gtid
*
gtid_in_slave_state
=
rpl_gtid
*
gtid_in_slave_state
__attribute__
((
unused
))
=
mi
->
gtid_current_pos
.
find
(
mi
->
last_queued_gtid
.
domain_id
);
// Slave gtid state must not have updated yet to the last received gtid.
...
...
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