...
 
Commits (3)
......@@ -120,17 +120,6 @@ public:
explicit MySqlConfigBackendDHCPv4Impl(const DatabaseConnection::ParameterMap&
parameters);
/// @brief Sends query to insert an audit entry.
///
/// @param in_bindings Collection of bindings representing an option.
void insertAuditEntry4(const MySqlBindingCollection& in_bindings) {
// Fetch unique identifier of the inserted option.
uint64_t id = mysql_insert_id(conn_.mysql_);
// Create bindings needed to insert association of that option with
// a server into the dhcp4_options_server table.
}
/// @brief Sends query to retrieve multiple global parameters.
///
/// @param index Index of the query to be used.
......@@ -2090,6 +2079,8 @@ public:
}
};
namespace {
/// @brief Array of tagged statements.
typedef std::array<TaggedStatement, MySqlConfigBackendDHCPv4Impl::NUM_STATEMENTS>
TaggedStatementArray;
......@@ -2479,6 +2470,8 @@ TaggedStatementArray tagged_statements = { {
}
};
}; // end anonymous namespace
MySqlConfigBackendDHCPv4Impl::
MySqlConfigBackendDHCPv4Impl(const DatabaseConnection::ParameterMap& parameters)
: MySqlConfigBackendImpl(parameters) {
......
......@@ -2132,6 +2132,8 @@ public:
bool is_readonly_;
};
namespace {
/// @brief Array of tagged statements.
typedef boost::array<TaggedStatement, MySqlHostDataSourceImpl::NUM_STATEMENTS>
TaggedStatementArray;
......@@ -2430,6 +2432,8 @@ TaggedStatementArray tagged_statements = { {
}
};
}; // anonymous namespace
MySqlHostDataSourceImpl::
MySqlHostDataSourceImpl(const MySqlConnection::ParameterMap& parameters)
: host_exchange_(new MySqlHostWithOptionsExchange(MySqlHostWithOptionsExchange::DHCP4_ONLY)),
......