Skip to content

Commit

Permalink
Bugfix: Fiexed can't compile on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
i0gan committed Apr 27, 2024
1 parent 73fc080 commit 81a567f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/db_proxy/mysql/mysql_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void MysqlModule::OnReqInsert(const socket_t sock, const int msg_id, const char
uint64_t uid;
try {
if (!session_) {
throw exception("sessions_ is nullptr");
throw exception();
}
assert(m_net_->ReceivePB(msg_id, msg, len, req, uid));
auto schema = session_->getSchema(req.database());
Expand Down Expand Up @@ -239,4 +239,4 @@ void MysqlModule::OnReqUpdate(const socket_t sock, const int msg_id, const char
m_net_->SendPBToNode(rpc::IdNAckMysqlUpdate, ack, sock);
}

} // namespace db_proxy::mysql
} // namespace db_proxy::mysql

0 comments on commit 81a567f

Please sign in to comment.