/// @param parameters Database access parameters (output of "parse").
///
/// @return Redacted database access string.
- static std::string redactedAccessString(
- const DatabaseConnection::ParameterMap& parameters);
+ static std::string redactedAccessString(const ParameterMap& parameters);
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,
/// password and other parameters required for DB access. It is not
///
/// Creates the prepared statements for all of the SQL statements used
/// 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
/// failed.
};
private:
- /// @brief MySQL connection
- MySqlConnection conn_;
-
/// @brief Add Lease Common Code
///
/// This method performs the common actions for both flavours (V4 and V6)
boost::scoped_ptr<MySqlLease4Exchange> exchange4_; ///< Exchange object
boost::scoped_ptr<MySqlLease6Exchange> exchange6_; ///< Exchange object
-
+ /// @brief MySQL connection
+ MySqlConnection conn_;
};
}; // end of isc::dhcp namespace