25
1
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:
Evgeny Khramtsov 2014-06-09 23:50:43 +04:00
commit e66899e68e

View File

@ -1317,6 +1317,7 @@ get_items(NodeId, _From,
first = <<"modification@", F/binary>>,
last = <<"modification@", (jlib:i2l(L))/binary>>},
{result, {[raw_to_item(NodeId, RItem) || RItem <- RItems], RsmOut}};
[] -> {result, {[], #rsm_out{count = Count}}};
0 -> {result, {[], #rsm_out{count = Count}}}
end;
_ -> {result, {[], none}}