21 #ifndef DBALLE_DB_MYSQL_DRIVER_H 22 #define DBALLE_DB_MYSQL_DRIVER_H 28 struct MySQLConnection;
49 void explain(
const std::string& query)
override;
std::unique_ptr< sql::Repinfo > create_repinfov6() override
Precompiled queries to manipulate the repinfo table.
std::unique_ptr< sql::DataV6 > create_datav6() override
Precompiled queries to manipulate the data table.
void create_tables_v6() override
Create all missing tables for V6 databases.
Database connection.
Definition: mysql/internals.h:145
void vacuum_v6() override
Perform database cleanup/maintenance on v6 databases.
Attribute table management used by the db module.
std::unique_ptr< sql::Station > create_stationv6() override
Precompiled queries to manipulate the station table.
void explain(const std::string &query) override
Outputs to stderr an explanation of the given query.
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
Query results from SQL output.
Definition: sql/driver.h:56
void exec_no_data(const std::string &query) override
Run a SQL query that is expected to return no data.
void delete_tables_v6() override
Delete all existing tables for V6 databases.
Definition: sql/driver.h:84
Definition: mysql/driver.h:32
std::unique_ptr< sql::AttrV6 > create_attrv6() override
Precompiled queries to manipulate the attr table.
std::unique_ptr< sql::LevTr > create_levtrv6() override
Precompiled queries to manipulate the levtr table.
Build SQL queries for V6 databases.
Definition: qbuilder.h:15