|
KiCad PCB EDA Suite
|
#include "sqlite_backend.h"#include "db_backend_support.h"#include <algorithm>#include <cctype>#include <cstdint>#include <filesystem>#include <fstream>#include <iterator>#include <mutex>#include <thread>#include <sqlite3.h>#include <wx/intl.h>#include <wx/log.h>#include <wx/string.h>#include <sys/stat.h>Go to the source code of this file.
Classes | |
| struct | SQLITE_DB |
| Owns one connection, which a worker thread opens and uses. More... | |
Functions | |
| static std::string | describeFailure (const std::string &aPath, const CALL_RESULT &aResult) |
| 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 984 of file sqlite_backend.cpp.
References _, FILE_IN_USE, FILE_NOT_FOUND, NETWORK_WAL, path, UNREACHABLE, and utf8().
|
static |
A failure after which the connection can no longer be trusted.
Definition at line 1014 of file sqlite_backend.cpp.
References FILE_NOT_FOUND, NETWORK_WAL, and UNREACHABLE.