|
KiCad PCB EDA Suite
|
#include "ace_backend.h"#include "db_backend_support.h"#include <algorithm>#include <atomic>#include <charconv>#include <chrono>#include <cstdint>#include <cstdlib>#include <cwctype>#include <future>#include <map>#include <memory>#include <mutex>#include <optional>#include <random>#include <system_error>#include <thread>#include <variant>#include <fmt/format.h>#include <wx/intl.h>#include <wx/log.h>#include <wx/string.h>#include <database/access_fast_exit.h>#include <database/database_value.h>#include <database/file_in_use_backoff.h>#include "access_engine_mutex.h"#include <windows.h>#include <objbase.h>#include <oleauto.h>#include <winnetwk.h>Go to the source code of this file.
Functions | |
| static std::string | describeFailure (const std::string &aPath, const CALL_RESULT &aResult, const std::string &aPassword) |
| Composes the message for a failed call, naming the file. | |
| static bool | invalidates (DB_FAILURE aFailure) |
| A failure after which the connection can no longer be trusted. | |
|
static |
Composes the message for a failed call, naming the file.
Definition at line 1661 of file ace_backend.cpp.
References _, AccessEngineBusyMessage(), FILE_IN_USE, FILE_NOT_FOUND, LOGIN, message, path, PROVIDER_MISSING, ACE_BACKEND::ProviderMissingMessage(), RedactDetail(), UNREACHABLE, and utf8().
Referenced by ACE_BACKEND::Connect(), SQLITE_BACKEND::Connect(), DIALOG_DATABASE_LIB_SETTINGS::connect(), ACE_BACKEND::DescribeTable(), SQLITE_BACKEND::DescribeTable(), ACE_BACKEND::freshSession(), ACE_BACKEND::ListTables(), SQLITE_BACKEND::ListTables(), DIALOG_DATABASE_LIB_SETTINGS::onConnectFinished(), ACE_BACKEND::readPass(), and SQLITE_BACKEND::ReadTable().
|
static |
A failure after which the connection can no longer be trusted.
Definition at line 1700 of file ace_backend.cpp.
References FILE_NOT_FOUND, and UNREACHABLE.
Referenced by ACE_BACKEND::failCall(), SQLITE_BACKEND::failCall(), and SQLITE_BACKEND::ReadTable().