Update tsqueryresp to {ok, {_, _}} and increase r_s cluster size

This commit is contained in:
Brett Hazen 2016-04-16 14:55:04 -06:00
parent e8203e55c7
commit f4f6db79d4
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
%% -------------------------------------------------------------------
-module(riak_shell_test_util).
-define(CLUSTERSIZE, 2).
-define(CLUSTERSIZE, 3).
-define(EMPTYCONFIG, []).
-export([

View File

@ -112,7 +112,7 @@ query(Conn, SQL) ->
case riakc_ts:query(Conn, SQL) of
{error, {ErrNo, Binary}} ->
io_lib:format("Error (~p): ~s", [ErrNo, Binary]);
{Header, Rows} ->
{ok, {Header, Rows}} ->
Hdr = [binary_to_list(X) || X <- Header],
Rs = [begin
Row = tuple_to_list(RowTuple),