This commit is contained in:
Alexander Kuzmenkov 2020-06-25 01:07:01 +03:00
parent c678708c0c
commit 579b13ab71

View File

@ -47,6 +47,8 @@ namespace DB
namespace ErrorCodes namespace ErrorCodes
{ {
extern const int BAD_ARGUMENTS;
extern const int LOGICAL_ERROR;
extern const int SYNTAX_ERROR; extern const int SYNTAX_ERROR;
extern const int CANNOT_LOAD_CONFIG; extern const int CANNOT_LOAD_CONFIG;
} }
@ -112,7 +114,7 @@ void LocalServer::tryInitPath()
{ {
throw Exception(ErrorCodes::BAD_ARGUMENTS, throw Exception(ErrorCodes::BAD_ARGUMENTS,
"Cannot work with emtpy storage path that is explicitly specified" "Cannot work with emtpy storage path that is explicitly specified"
" by the --path option. Please check the program options and " by the --path option. Please check the program options and"
" correct the --path."); " correct the --path.");
} }
} }