mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix: fix dchecks (#1681)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
parent
b9e8a2c0da
commit
663c1f9e1b
2 changed files with 1 additions and 4 deletions
|
@ -879,7 +879,7 @@ void Connection::SendMonitorMessageAsync(string msg) {
|
||||||
void Connection::SendAsync(MessageHandle msg) {
|
void Connection::SendAsync(MessageHandle msg) {
|
||||||
DCHECK(cc_);
|
DCHECK(cc_);
|
||||||
DCHECK(owner());
|
DCHECK(owner());
|
||||||
DCHECK_EQ(ProactorBase::me(), owner()->socket()->proactor());
|
DCHECK_EQ(ProactorBase::me(), socket_->proactor());
|
||||||
|
|
||||||
if (cc_->conn_closing)
|
if (cc_->conn_closing)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -66,9 +66,6 @@ Transaction::~Transaction() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Transaction::InitBase(DbIndex dbid, CmdArgList args) {
|
void Transaction::InitBase(DbIndex dbid, CmdArgList args) {
|
||||||
// Switching db index is only possible for non-atomic execution
|
|
||||||
DCHECK(!multi_ || (db_index_ == dbid || multi_->mode == NON_ATOMIC));
|
|
||||||
|
|
||||||
global_ = false;
|
global_ = false;
|
||||||
db_index_ = dbid;
|
db_index_ = dbid;
|
||||||
full_args_ = args;
|
full_args_ = args;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue