2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[960-mysql-connection-pool] Post rebase fixes

This commit is contained in:
Francis Dupont
2019-11-04 17:26:27 +01:00
parent 571e19af4b
commit 30dbe89d50

View File

@@ -2223,7 +2223,12 @@ MySqlLeaseMgr::getLeases4(const string& hostname) const {
// ... and get the data
Lease4Collection result;
getLeaseCollection(GET_LEASE4_HOSTNAME, inbind, result);
// Get a context
MySqlLeaseContextAlloc get_context(*this);
MySqlLeaseContextPtr ctx = get_context.ctx_;
getLeaseCollection(ctx, GET_LEASE4_HOSTNAME, inbind, result);
return (result);
}
@@ -2520,7 +2525,12 @@ MySqlLeaseMgr::getLeases6(const string& hostname) const {
// ... and get the data
Lease6Collection result;
getLeaseCollection(GET_LEASE6_HOSTNAME, inbind, result);
// Get a context
MySqlLeaseContextAlloc get_context(*this);
MySqlLeaseContextPtr ctx = get_context.ctx_;
getLeaseCollection(ctx, GET_LEASE6_HOSTNAME, inbind, result);
return (result);
}