DatabaseConnection::ParameterMap parameters =
DatabaseConnection::parse(dbaccess);
- // Get the databaase type and open the corresponding database
+ // Get the database type and open the corresponding database
DatabaseConnection::ParameterMap::iterator it = parameters.find("type");
if (it == parameters.end()) {
isc_throw(InvalidParameter, "Host database configuration does not "
ASSERT_TRUE(hdsptr_);
// The database is initially opened in "read-write" mode. We can
- // insert some data to the databse.
+ // insert some data to the database.
HostPtr host = initializeHost6("2001:db8::1", Host::IDENT_DUID, false);
ASSERT_TRUE(host);
ASSERT_NO_THROW(hdsptr_->add(host));