MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / processSQLiteError

Function processSQLiteError

src/Databases/SQLite/SQLiteUtils.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18static std::mutex init_sqlite_db_mutex;
19
20static void processSQLiteError(const String & message, bool throw_on_error)
21{
22 if (throw_on_error)
23 throw Exception::createDeprecated(message, ErrorCodes::PATH_ACCESS_DENIED);
24 LOG_ERROR(getLogger("SQLiteEngine"), fmt::runtime(message));
25}
26
27static String validateSQLiteDatabasePath(const String & path, const String & user_files_path, bool need_check, bool throw_on_error)
28{

Callers 2

openSQLiteDBFunction · 0.85

Calls 1

getLoggerFunction · 0.50

Tested by

no test coverage detected