|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "DatabaseSetupRuntime.h"#include <mysql.h>#include "Common.h"#include "Log.h"#include "MySQLConnection.h"#include <algorithm>#include <cctype>#include <cstdlib>#include <cstring>#include <fstream>#include <memory>#include <sstream>#include <system_error>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | Skyfire |
| namespace | Skyfire::Database |
Functions | |
| bool | Skyfire::Database::ApplyPendingSetupUpdates (MYSQL *setupConnection, SetupOptions const &options, SetupPlan const &plan, SetupRuntimeContext const &context) |
| bool | Skyfire::Database::BaselineSetupUpdates (MYSQL *setupConnection, SetupOptions const &options, SetupPlan const &plan, SetupRuntimeContext const &context) |
| bool | Skyfire::Database::ConnectToMySQLServer (MySQLConnectionInfo const &connectionInfo, char const *databaseName, MYSQL *&handle, SetupRuntimeContext const &context) |
| bool | Skyfire::Database::EnsureDatabaseExists (MySQLConnectionInfo const &connectionInfo, SetupOptions const &options, SetupRuntimeContext const &context) |
| bool | Skyfire::Database::EnsureSetupTrackingTables (MYSQL *setupConnection, SetupRuntimeContext const &context) |
| bool | Skyfire::Database::ExecuteSqlFile (MYSQL *setupConnection, std::filesystem::path const &path, std::string &contents, SetupRuntimeContext const &context) |
| std::filesystem::path | Skyfire::Database::GetDatabaseBaseSqlPath (SetupOptions const &options) |
| std::filesystem::path | Skyfire::Database::GetDatabaseBaseSqlPath (SetupOptions const &options, std::string const &baseFileName) |
| bool | Skyfire::Database::LoadDatabaseSetupState (MYSQL *setupConnection, SetupOptions const &options, SetupState &state, SetupRuntimeContext const &context) |
| void | Skyfire::Database::LogSetupPlan (SetupPlan const &plan, std::size_t discoveredUpdateCount, bool appliesRequiredSql, SetupRuntimeContext const &context) |