From cc228db337e98ecc212f6c5aad9485be8d71e572 Mon Sep 17 00:00:00 2001 From: HAMANO Tsukasa Date: Wed, 4 Jun 2014 18:53:37 +0900 Subject: [PATCH] e_clause error at node_hometree_odbc:get_items/3 --- src/node_hometree_odbc.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node_hometree_odbc.erl b/src/node_hometree_odbc.erl index dfb9886f2..9a4a3b2e7 100644 --- a/src/node_hometree_odbc.erl +++ b/src/node_hometree_odbc.erl @@ -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}}