From 20e4583662011e6ba1520ee855aec017018ced8e Mon Sep 17 00:00:00 2001 From: Vyacheslav Alipov Date: Fri, 17 May 2013 08:02:34 +0000 Subject: [PATCH] typo in error messages [#CONV-2807] --- dbms/src/DataStreams/IProfilingBlockInputStream.cpp | 4 ++-- dbms/src/Interpreters/Aggregator.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbms/src/DataStreams/IProfilingBlockInputStream.cpp b/dbms/src/DataStreams/IProfilingBlockInputStream.cpp index 22c3812530d..28f4c2ff838 100644 --- a/dbms/src/DataStreams/IProfilingBlockInputStream.cpp +++ b/dbms/src/DataStreams/IProfilingBlockInputStream.cpp @@ -144,7 +144,7 @@ Block IProfilingBlockInputStream::read() if (limits.read_overflow_mode == Limits::BREAK) return Block(); - throw Exception("Logical error: unkown overflow mode", ErrorCodes::LOGICAL_ERROR); + throw Exception("Logical error: unknown overflow mode", ErrorCodes::LOGICAL_ERROR); } if (limits.max_execution_time != 0 @@ -158,7 +158,7 @@ Block IProfilingBlockInputStream::read() if (limits.timeout_overflow_mode == Limits::BREAK) return Block(); - throw Exception("Logical error: unkown overflow mode", ErrorCodes::LOGICAL_ERROR); + throw Exception("Logical error: unknown overflow mode", ErrorCodes::LOGICAL_ERROR); } if (limits.min_execution_speed diff --git a/dbms/src/Interpreters/Aggregator.cpp b/dbms/src/Interpreters/Aggregator.cpp index 6897d9a7218..093614533d6 100644 --- a/dbms/src/Interpreters/Aggregator.cpp +++ b/dbms/src/Interpreters/Aggregator.cpp @@ -476,7 +476,7 @@ void Aggregator::execute(BlockInputStreamPtr stream, AggregatedDataVariants & re else if (group_by_overflow_mode == Limits::ANY) no_more_keys = true; else - throw Exception("Logical error: unkown overflow mode", ErrorCodes::LOGICAL_ERROR); + throw Exception("Logical error: unknown overflow mode", ErrorCodes::LOGICAL_ERROR); } }