Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
abfb2c7c
Commit
abfb2c7c
authored
May 25, 2016
by
Marcin Siodelski
Browse files
[4281] Moved MySQL host data source statements to impl class.
parent
0e9d93b9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/mysql_host_data_source.cc
View file @
abfb2c7c
This diff is collapsed.
Click to expand it.
src/lib/dhcpsrv/mysql_host_data_source.h
View file @
abfb2c7c
...
@@ -251,24 +251,6 @@ public:
...
@@ -251,24 +251,6 @@ public:
/// Rolls back all pending database operations.
/// Rolls back all pending database operations.
virtual
void
rollback
();
virtual
void
rollback
();
/// @brief Statement Tags
///
/// The contents of the enum are indexes into the list of SQL statements
enum
StatementIndex
{
INSERT_HOST
,
// Insert new host to collection
INSERT_V6_RESRV
,
// Insert v6 reservation
INSERT_V4_OPTION
,
// Insert DHCPv4 option
INSERT_V6_OPTION
,
// Insert DHCPv6 option
GET_HOST_DHCPID
,
// Gets hosts by host identifier
GET_HOST_ADDR
,
// Gets hosts by IPv4 address
GET_HOST_SUBID4_DHCPID
,
// Gets host by IPv4 SubnetID, HW address/DUID
GET_HOST_SUBID6_DHCPID
,
// Gets host by IPv6 SubnetID, HW address/DUID
GET_HOST_SUBID_ADDR
,
// Gets host by IPv4 SubnetID and IPv4 address
GET_HOST_PREFIX
,
// Gets host by IPv6 prefix
GET_VERSION
,
// Obtain version number
NUM_STATEMENTS
// Number of statements
};
private:
private:
/// @brief Pointer to the implementation of the @ref MySqlHostDataSource.
/// @brief Pointer to the implementation of the @ref MySqlHostDataSource.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment