mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-05 08:25:16 +00:00
[#3536] remove HAVE_MYSQL and HAVE_PGSQL
This commit is contained in:
@@ -47,17 +47,6 @@
|
||||
#include <process/config_ctl_parser.h>
|
||||
#include <util/encode/encode.h>
|
||||
#include <util/multi_threading_mgr.h>
|
||||
|
||||
#ifdef HAVE_MYSQL
|
||||
#include <hooks/dhcp/mysql_lb/mysql_lease_mgr.h>
|
||||
#include <hooks/dhcp/mysql_hb/mysql_host_data_source.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PGSQL
|
||||
#include <hooks/dhcp/pgsql_lb/pgsql_lease_mgr.h>
|
||||
#include <hooks/dhcp/pgsql_hb/pgsql_host_data_source.h>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
@@ -84,20 +73,6 @@ using namespace std;
|
||||
//
|
||||
namespace {
|
||||
|
||||
// Code will be moved to appropriate hook library.
|
||||
#ifdef HAVE_MYSQL
|
||||
// Database backend will be registered at object initialization
|
||||
MySqlLeaseMgrInit mysql_init_lease;
|
||||
MySqlHostDataSourceInit mysql_init_host;
|
||||
#endif
|
||||
|
||||
// Code will be moved to appropriate hook library.
|
||||
#ifdef HAVE_PGSQL
|
||||
// Database backend will be registered at object initialization
|
||||
PgSqlLeaseMgrInit pgsql_init_lease;
|
||||
PgSqlHostDataSourceInit pgsql_init_host;
|
||||
#endif
|
||||
|
||||
/// @brief Parser that takes care of global DHCPv4 parameters and utility
|
||||
/// functions that work on global level.
|
||||
///
|
||||
|
Reference in New Issue
Block a user