MDEV-6662: possible bug in cassandra_se.cc
Fix the trivial problem: we were modifying function's arguments, not member variables. There is no testcase as this can't be easily checked from MTR.
This commit is contained in:
parent
50160216ea
commit
7bf7fea706
@ -231,8 +231,8 @@ bool Cassandra_se_impl::reconnect()
|
||||
void Cassandra_se_impl::set_consistency_levels(unsigned long read_cons_level,
|
||||
unsigned long write_cons_level)
|
||||
{
|
||||
write_cons_level= (ConsistencyLevel::type)(write_cons_level + 1);
|
||||
read_cons_level= (ConsistencyLevel::type)(read_cons_level + 1);
|
||||
write_consistency= (ConsistencyLevel::type)(write_cons_level + 1);
|
||||
read_consistency= (ConsistencyLevel::type)(read_cons_level + 1);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user