Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
57ad1188
Commit
57ad1188
authored
Dec 13, 2012
by
JINMEI Tatuya
Browse files
[2541] cleanup: removed unnecessary call to copy constructor
parent
3666cb4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/database_unittest.cc
View file @
57ad1188
...
...
@@ -4129,7 +4129,7 @@ TYPED_TEST(DatabaseClientTest, createZoneRollbackOnLocked) {
const
Name
new_name
(
"example.com"
);
isc
::
datasrc
::
ZoneUpdaterPtr
updater
=
this
->
client_
->
getUpdater
(
isc
::
dns
::
Name
(
this
->
zname_
)
,
true
);
this
->
client_
->
getUpdater
(
this
->
zname_
,
true
);
ASSERT_THROW
(
this
->
client_
->
createZone
(
new_name
),
DataSourceError
);
// createZone started a transaction as well, but since it failed,
// it should have been rolled back. Roll back the other one as
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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