Commits

Ben Hood committed 6496393

Added content type to rpc call

  • Participants
  • Parent commits ff24a53
  • Branches bug21906

Comments (0)

Files changed (1)

File src/bql_dump.erl

     ok.
 
 execute_block(Contents, Formatter) ->
-    case rpc:call(localnode(rabbit), bql_server, send_command, [<<"guest">>, <<"guest">>, Contents]) of	
+    case rpc:call(localnode(rabbit), bql_server, send_command, [<<"guest">>,
+<<"guest">>, <<"text/bql">>, Contents]) of	
         {ok, Result}    -> format(Result, Formatter);
         {error, Reason} -> io:format("BQL execution failed:~n  ~s~n", [Reason])
     end.