Skip to content

Commit cde53ae

Browse files
committed
Fix ClientBase::sendCancel()
1 parent bfde58f commit cde53ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client/ClientBase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,8 +2120,8 @@ void ClientBase::sendCancel(std::exception_ptr exception_ptr)
21202120
}
21212121
error_stream << '\n';
21222122
}
2123-
2124-
connection->sendCancel();
2123+
else
2124+
connection->sendCancel();
21252125
}
21262126

21272127
void ClientBase::cancelQuery()

0 commit comments

Comments
 (0)