2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 15:35:17 +00:00

[396-add-audit-trail-for-the-dhcpv4-mysql-backend] cosmetics (spelling, spurious space at eol, ...)

This commit is contained in:
Francis Dupont
2019-01-29 16:05:38 +01:00
committed by Marcin Siodelski
parent 9067846165
commit 7bbbf0ac1a
3 changed files with 6 additions and 6 deletions

View File

@@ -547,7 +547,7 @@ TEST_F(MySqlConfigBackendDHCPv4Test, getModifiedGlobalParameters4) {
const auto& parameters_index = parameters.get<StampedValueNameIndexTag>(); const auto& parameters_index = parameters.get<StampedValueNameIndexTag>();
// It should be the one modified "tomorrow". // It should be the one modified "tomorrow".
ASSERT_EQ(1, parameters_index.size()); ASSERT_EQ(1, parameters_index.size());
auto parameter = parameters_index.find("name3"); auto parameter = parameters_index.find("name3");
@@ -819,12 +819,12 @@ TEST_F(MySqlConfigBackendDHCPv4Test, getSharedNetwork4) {
AuditEntry::ModificationType::CREATE, AuditEntry::ModificationType::CREATE,
"shared network set"); "shared network set");
} }
// Update shared network in the database. // Update shared network in the database.
SharedNetwork4Ptr shared_network2 = test_networks_[1]; SharedNetwork4Ptr shared_network2 = test_networks_[1];
cbptr_->createUpdateSharedNetwork4(ServerSelector::ALL(), shared_network2); cbptr_->createUpdateSharedNetwork4(ServerSelector::ALL(), shared_network2);
// Fetch updated shared betwork and see if it matches. // Fetch updated shared network and see if it matches.
returned_network = cbptr_->getSharedNetwork4(ServerSelector::ALL(), returned_network = cbptr_->getSharedNetwork4(ServerSelector::ALL(),
test_networks_[1]->getName()); test_networks_[1]->getName());
EXPECT_EQ(shared_network2->toElement()->str(), EXPECT_EQ(shared_network2->toElement()->str(),

View File

@@ -1440,7 +1440,7 @@ ALTER TABLE dhcp4_audit
-- ----------------------------------------------------- -- -----------------------------------------------------
-- Add column revision_id and the foreign key with a -- Add column revision_id and the foreign key with a
-- refrence to the dhcp4_audit_revision table. -- reference to the dhcp4_audit_revision table.
-- ----------------------------------------------------- -- -----------------------------------------------------
ALTER TABLE dhcp4_audit ALTER TABLE dhcp4_audit
ADD COLUMN revision_id BIGINT(20) UNSIGNED NOT NULL; ADD COLUMN revision_id BIGINT(20) UNSIGNED NOT NULL;

View File

@@ -20,7 +20,7 @@ mysql "$@" <<EOF
-- ----------------------------------------------------- -- -----------------------------------------------------
-- Modify timestamps in the Configuration Backend -- Modify timestamps in the Configuration Backend
-- specific tables to use fractional seconds with -- specific tables to use fractional seconds with
-- 3 decimal places precision. -- 6 decimal places precision.
-- ----------------------------------------------------- -- -----------------------------------------------------
ALTER TABLE dhcp4_server ALTER TABLE dhcp4_server
@@ -123,7 +123,7 @@ ALTER TABLE dhcp4_audit
# ----------------------------------------------------- # -----------------------------------------------------
# Add column revision_id and the foreign key with a # Add column revision_id and the foreign key with a
# refrence to the dhcp4_audit_revision table. # reference to the dhcp4_audit_revision table.
# ----------------------------------------------------- # -----------------------------------------------------
ALTER TABLE dhcp4_audit ALTER TABLE dhcp4_audit
ADD COLUMN revision_id BIGINT(20) UNSIGNED NOT NULL; ADD COLUMN revision_id BIGINT(20) UNSIGNED NOT NULL;