mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[3681_rebase] Changes after review
- Indent fixed - Missing parameter descriptions added
This commit is contained in:
@@ -90,12 +90,11 @@ public:
|
|||||||
/// @param parameters Database access parameters (output of "parse").
|
/// @param parameters Database access parameters (output of "parse").
|
||||||
///
|
///
|
||||||
/// @return Redacted database access string.
|
/// @return Redacted database access string.
|
||||||
static std::string redactedAccessString(
|
static std::string redactedAccessString(const ParameterMap& parameters);
|
||||||
const DatabaseConnection::ParameterMap& parameters);
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
/// @brief list of parameters passed in dbconfig
|
/// @brief List of parameters passed in dbconfig
|
||||||
///
|
///
|
||||||
/// That will be mostly used for storing database name, username,
|
/// That will be mostly used for storing database name, username,
|
||||||
/// password and other parameters required for DB access. It is not
|
/// password and other parameters required for DB access. It is not
|
||||||
|
@@ -173,6 +173,8 @@ public:
|
|||||||
///
|
///
|
||||||
/// Creates the prepared statements for all of the SQL statements used
|
/// Creates the prepared statements for all of the SQL statements used
|
||||||
/// by the MySQL backend.
|
/// by the MySQL backend.
|
||||||
|
/// @param tagged_statements an array of statements to be compiled
|
||||||
|
/// @param num_statements number of statements in tagged_statements
|
||||||
///
|
///
|
||||||
/// @throw isc::dhcp::DbOperationError An operation on the open database has
|
/// @throw isc::dhcp::DbOperationError An operation on the open database has
|
||||||
/// failed.
|
/// failed.
|
||||||
|
@@ -432,9 +432,6 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// @brief MySQL connection
|
|
||||||
MySqlConnection conn_;
|
|
||||||
|
|
||||||
/// @brief Add Lease Common Code
|
/// @brief Add Lease Common Code
|
||||||
///
|
///
|
||||||
/// This method performs the common actions for both flavours (V4 and V6)
|
/// This method performs the common actions for both flavours (V4 and V6)
|
||||||
@@ -611,7 +608,8 @@ private:
|
|||||||
boost::scoped_ptr<MySqlLease4Exchange> exchange4_; ///< Exchange object
|
boost::scoped_ptr<MySqlLease4Exchange> exchange4_; ///< Exchange object
|
||||||
boost::scoped_ptr<MySqlLease6Exchange> exchange6_; ///< Exchange object
|
boost::scoped_ptr<MySqlLease6Exchange> exchange6_; ///< Exchange object
|
||||||
|
|
||||||
|
/// @brief MySQL connection
|
||||||
|
MySqlConnection conn_;
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // end of isc::dhcp namespace
|
}; // end of isc::dhcp namespace
|
||||||
|
Reference in New Issue
Block a user