fix pubsub unsubscription without SubId on odbc
This commit is contained in:
parent
60600c341e
commit
0266207e9d
|
@ -383,7 +383,7 @@ unsubscribe_node(NodeId, Sender, Subscriber, SubId) ->
|
||||||
{Affiliation, Subscriptions} =
|
{Affiliation, Subscriptions} =
|
||||||
select_affiliation_subscriptions(NodeId, SubKey),
|
select_affiliation_subscriptions(NodeId, SubKey),
|
||||||
SubIdExists = case SubId of
|
SubIdExists = case SubId of
|
||||||
[] -> false;
|
<<>> -> false;
|
||||||
List when is_binary(List) -> true;
|
List when is_binary(List) -> true;
|
||||||
_ -> false
|
_ -> false
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue