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
43ab88f0
Commit
43ab88f0
authored
Apr 20, 2018
by
Sachin Setiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Buildbot fixes
1 Added typecast 2 Included have_debug.inc
parent
615ad709
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
mysql-test/main/invisible_partition.test
mysql-test/main/invisible_partition.test
+1
-0
sql/log_event.cc
sql/log_event.cc
+6
-3
No files found.
mysql-test/main/invisible_partition.test
View file @
43ab88f0
--
source
include
/
have_partition
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_debug
.
inc
CREATE
TABLE
t1
(
a
INT
NOT
NULL
,
KEY
(
a
))
ENGINE
=
MEMORY
PARTITION
BY
KEY
(
a
)
PARTITIONS
4
;
INSERT
INTO
t1
VALUES
(
1
),(
2
);
...
...
sql/log_event.cc
View file @
43ab88f0
...
...
@@ -7979,13 +7979,16 @@ Gtid_log_event::do_apply_event(rpl_group_info *rgi)
switch
(
flags2
&
(
FL_DDL
|
FL_TRANSACTIONAL
))
{
case
FL_TRANSACTIONAL
:
my_atomic_add64_explicit
(
&
mi
->
total_trans_groups
,
1
,
MY_MEMORY_ORDER_RELAXED
);
my_atomic_add64_explicit
((
volatile
int64
*
)
&
mi
->
total_trans_groups
,
1
,
MY_MEMORY_ORDER_RELAXED
);
break
;
case
FL_DDL
:
my_atomic_add64_explicit
(
&
mi
->
total_ddl_groups
,
1
,
MY_MEMORY_ORDER_RELAXED
);
my_atomic_add64_explicit
((
volatile
int64
*
)
&
mi
->
total_ddl_groups
,
1
,
MY_MEMORY_ORDER_RELAXED
);
break
;
default:
my_atomic_add64_explicit
(
&
mi
->
total_non_trans_groups
,
1
,
MY_MEMORY_ORDER_RELAXED
);
my_atomic_add64_explicit
((
volatile
int64
*
)
&
mi
->
total_non_trans_groups
,
1
,
MY_MEMORY_ORDER_RELAXED
);
}
if
(
flags2
&
FL_STANDALONE
)
...
...
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