template <typename Exchange, typename LeaseCollection>
void
-MySqlLeaseMgr::getLeaseCollection(MySqlLeaseContextPtr ctx,
+MySqlLeaseMgr::getLeaseCollection(MySqlLeaseContextPtr& ctx,
StatementIndex stindex,
MYSQL_BIND* bind,
Exchange& exchange,
}
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
}
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