提交 3502d36d 编写于 作者: A Alexey Milovidov

Fixed build [#CLICKHOUSE-2].

上级 e4af7014
......@@ -27,6 +27,7 @@ namespace DB
namespace ErrorCodes
{
extern const int TOO_LARGE_ARRAY_SIZE;
extern const int LOGICAL_ERROR;
}
......
......@@ -23,6 +23,7 @@ namespace ErrorCodes
extern const int TOO_MUCH_ARGUMENTS_FOR_FUNCTION;
extern const int SYNTAX_ERROR;
extern const int BAD_ARGUMENTS;
extern const int LOGICAL_ERROR;
}
/// helper type for comparing `std::pair`s using solely the .first member
......@@ -460,14 +461,12 @@ protected:
else
throw Exception{
"Unknown PatternActionType",
ErrorCodes::LOGICAL_ERROR
};
ErrorCodes::LOGICAL_ERROR};
if (++i > sequence_match_max_iterations)
throw Exception{
"Pattern application proves too difficult, exceeding max iterations (" + toString(sequence_match_max_iterations) + ")",
ErrorCodes::TOO_SLOW
};
ErrorCodes::TOO_SLOW};
}
/// if there are some actions remaining
......
......@@ -27,6 +27,7 @@ namespace ErrorCodes
extern const int BAD_ARGUMENTS;
extern const int PARAMETER_OUT_OF_BOUND;
extern const int SIZES_OF_COLUMNS_DOESNT_MATCH;
extern const int LOGICAL_ERROR;
}
......
......@@ -34,6 +34,7 @@ namespace ErrorCodes
extern const int ZERO_ARRAY_OR_TUPLE_INDEX;
extern const int SIZES_OF_ARRAYS_DOESNT_MATCH;
extern const int PARAMETERS_TO_AGGREGATE_FUNCTIONS_MUST_BE_LITERALS;
extern const int LOGICAL_ERROR;
}
......
......@@ -35,7 +35,7 @@
#include <Storages/StorageTinyLog.h>
#include <Poco/DirectoryIterator.h>
#define DBMS_STORAGE_LOG_DATA_FILE_EXTENSION ".bin"
#define DBMS_STORAGE_LOG_DATA_FILE_EXTENSION ".bin"
#define DBMS_STORAGE_LOG_DATA_BINARY_NULL_MAP_EXTENSION ".null.bin"
......@@ -48,6 +48,7 @@ namespace ErrorCodes
extern const int CANNOT_CREATE_DIRECTORY;
extern const int CANNOT_READ_ALL_DATA;
extern const int DUPLICATE_COLUMN;
extern const int LOGICAL_ERROR;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册