mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue