diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db.erl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ handle_call({get_by_index_sorted, {Start, End}}, _From, State) -> select_index(Start, End) -> F = fun() -> - MatchHead = #plop{index = '$1', mtl = '$2', _ = '_'}, + MatchHead = {plop, '$1', '_', '$2', '_'}, Guard = [{'>=', '$1', Start}, {'=<', '$1', End}], Result = ['$$'], mnesia:select(plop, [{MatchHead, Guard, Result}]) |