mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
dbms: development.
This commit is contained in:
parent
5d34959f46
commit
3557e46c11
@ -166,13 +166,13 @@ int main(int argc, char ** argv)
|
|||||||
|
|
||||||
Poco::SharedPtr<DB::ITablePartReader> reader((*column_groups)[i].storage->read(key));
|
Poco::SharedPtr<DB::ITablePartReader> reader((*column_groups)[i].storage->read(key));
|
||||||
|
|
||||||
DB::UInt i = 0;
|
DB::UInt j = 0;
|
||||||
DB::Row row;
|
DB::Row row;
|
||||||
while (reader->fetch(row))
|
while (reader->fetch(row))
|
||||||
{
|
{
|
||||||
++i;
|
++j;
|
||||||
}
|
}
|
||||||
if (i != 1000000)
|
if (j != 1000000)
|
||||||
throw Poco::Exception("Number of rows doesn't match");
|
throw Poco::Exception("Number of rows doesn't match");
|
||||||
|
|
||||||
column_stopwatch.stop();
|
column_stopwatch.stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user