Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
445
Issues
445
List
Boards
Labels
Service Desk
Milestones
Merge Requests
71
Merge Requests
71
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
24e9c24f
Commit
24e9c24f
authored
Jun 27, 2019
by
Marcin Siodelski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#642
,
!373
] Adjusted exceptions' text in the mysql_cb.
Per review comments.
parent
77742cdc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
+1
-1
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
+1
-1
src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc
src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc
+1
-1
No files found.
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
View file @
24e9c24f
...
...
@@ -1905,7 +1905,7 @@ public:
if
(
server_tag
.
amAll
())
{
isc_throw
(
InvalidOperation
,
"'all' is a name reserved for the server tag which"
" associates the configuration elements with all servers connecting"
" to the database and
can'
t be deleted"
);
" to the database and
may no
t be deleted"
);
}
MySqlTransaction
transaction
(
conn_
);
...
...
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
View file @
24e9c24f
...
...
@@ -2219,7 +2219,7 @@ public:
if
(
server_tag
.
amAll
())
{
isc_throw
(
InvalidOperation
,
"'all' is a name reserved for the server tag which"
" associates the configuration elements with all servers connecting"
" to the database and
can'
t be deleted"
);
" to the database and
may no
t be deleted"
);
}
MySqlTransaction
transaction
(
conn_
);
...
...
src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc
View file @
24e9c24f
...
...
@@ -938,7 +938,7 @@ MySqlConfigBackendImpl::createUpdateServer(const int& create_audit_revision,
if
(
server
->
getServerTag
().
amAll
())
{
isc_throw
(
InvalidOperation
,
"'all' is a name reserved for the server tag which"
" associates the configuration elements with all servers connecting"
" to the database and a server with this name
can'
t be created"
);
" to the database and a server with this name
nay no
t be created"
);
}
// Create scoped audit revision. As long as this instance exists
...
...
Write
Preview
Markdown
is supported
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