Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
304db582
Commit
304db582
authored
Jul 23, 2017
by
Josh Soref
Browse files
spelling: database
parent
4d89c9cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/host_data_source_factory.cc
View file @
304db582
...
...
@@ -47,7 +47,7 @@ HostDataSourceFactory::create(const std::string& dbaccess) {
DatabaseConnection
::
ParameterMap
parameters
=
DatabaseConnection
::
parse
(
dbaccess
);
// Get the databa
a
se 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 "
...
...
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
View file @
304db582
...
...
@@ -513,7 +513,7 @@ GenericHostDataSourceTest::testReadOnlyDatabase(const char* valid_db_type) {
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 datab
a
se.
HostPtr
host
=
initializeHost6
(
"2001:db8::1"
,
Host
::
IDENT_DUID
,
false
);
ASSERT_TRUE
(
host
);
ASSERT_NO_THROW
(
hdsptr_
->
add
(
host
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment