| 18 | static std::mutex init_sqlite_db_mutex; |
| 19 | |
| 20 | static 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 | |
| 27 | static String validateSQLiteDatabasePath(const String & path, const String & user_files_path, bool need_check, bool throw_on_error) |
| 28 | { |
no test coverage detected