]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1073] fixed rebase
authorRazvan Becheriu <razvan@isc.org>
Tue, 21 Jan 2020 08:37:08 +0000 (10:37 +0200)
committerRazvan Becheriu <razvan@isc.org>
Mon, 27 Jan 2020 14:57:36 +0000 (16:57 +0200)
src/lib/dhcpsrv/mysql_lease_mgr.cc

index 821ff1fd82a0b3a2718ed65e11256d4077b8fdf9..4b2f5cc127d6b73ce39dffa7a3573b97363ff446 100644 (file)
@@ -1917,7 +1917,7 @@ MySqlLeaseMgr::addLease(const Lease6Ptr& lease) {
 
 template <typename Exchange, typename LeaseCollection>
 void
-MySqlLeaseMgr::getLeaseCollection(MySqlLeaseContextPtr ctx,
+MySqlLeaseMgr::getLeaseCollection(MySqlLeaseContextPtr& ctx,
                                   StatementIndex stindex,
                                   MYSQL_BIND* bind,
                                   Exchange& exchange,
@@ -1981,7 +1981,7 @@ MySqlLeaseMgr::getLeaseCollection(MySqlLeaseContextPtr ctx,
 }
 
 void
-MySqlLeaseMgr::getLease(MySqlLeaseContextPtr ctx,
+MySqlLeaseMgr::getLease(MySqlLeaseContextPtr& ctx,
                         StatementIndex stindex, MYSQL_BIND* bind,
                         Lease4Ptr& result) const {
     // Create appropriate collection object and get all leases matching
@@ -2001,7 +2001,7 @@ MySqlLeaseMgr::getLease(MySqlLeaseContextPtr ctx,
 }
 
 void
-MySqlLeaseMgr::getLease(MySqlLeaseContextPtr ctx,
+MySqlLeaseMgr::getLease(MySqlLeaseContextPtr& ctx,
                         StatementIndex stindex, MYSQL_BIND* bind,
                         Lease6Ptr& result) const {
     // Create appropriate collection object and get all leases matching