mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
Update tsqueryresp to {ok, {_, _}} and increase r_s cluster size
This commit is contained in:
parent
e8203e55c7
commit
f4f6db79d4
@ -19,7 +19,7 @@
|
||||
%% -------------------------------------------------------------------
|
||||
-module(riak_shell_test_util).
|
||||
|
||||
-define(CLUSTERSIZE, 2).
|
||||
-define(CLUSTERSIZE, 3).
|
||||
-define(EMPTYCONFIG, []).
|
||||
|
||||
-export([
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user