Commit 43ab88f0 authored by Sachin Setiya's avatar Sachin Setiya

Buildbot fixes

1 Added typecast
2 Included have_debug.inc
parent 615ad709
--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);
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment