1. Kirill Korinsky
  2. riak-old

Commits

Bryan Fink  committed 763a139

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

  • Participants
  • Parent commits 0e71331
  • Branches default

Comments (0)

Files changed (1)

File src/riak_mapreduce_fsm.erl

View file
  • Ignore whitespace
         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;