Commits

Anonymous committed 763a139

change is_atom check of bucket in 'link' map/reduce syntax check to is_binary or =='_'

Comments (0)

Files changed (1)

src/riak_mapreduce_fsm.erl

         true ->
             case QTermType of
                 link ->
-                    case is_atom(QT2) of
+                    case (is_binary(QT2) orelse QT2 == '_') of
                         false -> {bad_qterm, QTerm};
                         true -> check_query_syntax(Rest)
                     end;