mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-25 11:10:49 +00:00
Update TableFunctionSQLite.cpp
This commit is contained in:
parent
d80bcf0bd3
commit
8672346f5b
@ -79,7 +79,7 @@ void TableFunctionSQLite::parseArguments(const ASTPtr & ast_function, ContextPtr
|
||||
|
||||
std::error_code err;
|
||||
String canonical_path = fs::canonical(database_path, err);
|
||||
/// The path existance is also checked here.
|
||||
/// The path existence is also checked.
|
||||
if (err)
|
||||
throw Exception(ErrorCodes::PATH_ACCESS_DENIED, "SQLite database path '{}' is invalid. Error: {}", database_path, err.message());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user