Fix build

This commit is contained in:
comunodi 2019-03-31 00:42:13 +03:00
parent 09a130372e
commit 8abffd4f60
3 changed files with 5 additions and 5 deletions

View File

@ -210,7 +210,7 @@ namespace DB
while (num_rows < max_block_size)
{
if (cursor == keys.size())
if (cursor >= keys.size())
{
all_read = true;
break;

View File

@ -2,7 +2,7 @@
#include <Core/Block.h>
#include <DataStreams/IBlockInputStream.h>
#include "ExternalResultDescription.h"
#include <Core/ExternalResultDescription.h>
namespace Poco

View File

@ -122,7 +122,7 @@ namespace DB
Poco::Redis::Array keys;
for (const UInt64 id : ids)
for (UInt64 id : ids)
keys << static_cast<Int64>(id);
return std::make_shared<RedisBlockInputStream>(client, std::move(keys), sample_block, max_block_size);