mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Merge pull request #231 from hamano/case_clause_error_at_node_hometree_odbc
case_clause_error_at_node_hometree_odbc
This commit is contained in:
commit
e66899e68e
@ -1317,6 +1317,7 @@ get_items(NodeId, _From,
|
|||||||
first = <<"modification@", F/binary>>,
|
first = <<"modification@", F/binary>>,
|
||||||
last = <<"modification@", (jlib:i2l(L))/binary>>},
|
last = <<"modification@", (jlib:i2l(L))/binary>>},
|
||||||
{result, {[raw_to_item(NodeId, RItem) || RItem <- RItems], RsmOut}};
|
{result, {[raw_to_item(NodeId, RItem) || RItem <- RItems], RsmOut}};
|
||||||
|
[] -> {result, {[], #rsm_out{count = Count}}};
|
||||||
0 -> {result, {[], #rsm_out{count = Count}}}
|
0 -> {result, {[], #rsm_out{count = Count}}}
|
||||||
end;
|
end;
|
||||||
_ -> {result, {[], none}}
|
_ -> {result, {[], none}}
|
||||||
|
Loading…
Reference in New Issue
Block a user