GitOrigin-RevId: 685e9ffa641803684f9fc98b80508adf9ded2895
This commit is contained in:
Arseny Smirnov 2019-03-17 08:50:17 +13:00
parent 52a250456a
commit bc3e312a1c

View File

@ -56,7 +56,8 @@ class SessionCallback : public Session::Callback {
}
void on_result(NetQueryPtr query) override {
if (query->id() != 0) { // not an update
if (UniqueId::extract_type(query->id()) != UniqueId::BindKey &&
query->id() != 0) { // not bind key query and not an update
send_closure(parent_, &SessionProxy::on_query_finished);
}
G()->net_query_dispatcher().dispatch(std::move(query));