2
0
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:
Razvan Becheriu
2024-09-17 00:10:10 +03:00
parent ac3642cd8b
commit 14c95b4705
30 changed files with 114 additions and 286 deletions

View File

@@ -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.
///