From: Francis Dupont Date: Tue, 29 Jan 2019 15:05:38 +0000 (+0100) Subject: [396-add-audit-trail-for-the-dhcpv4-mysql-backend] cosmetics (spelling, spurious... X-Git-Tag: 429-Updated-StampedValue-to-support-reals_base~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bbbf0ac1a64abdefc6ee8ab6b6d17203104334e;p=thirdparty%2Fkea.git [396-add-audit-trail-for-the-dhcpv4-mysql-backend] cosmetics (spelling, spurious space at eol, ...) --- diff --git a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc index aa556d3815..eb56ff7c1c 100644 --- a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc +++ b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc @@ -547,7 +547,7 @@ TEST_F(MySqlConfigBackendDHCPv4Test, getModifiedGlobalParameters4) { const auto& parameters_index = parameters.get(); - // It should be the one modified "tomorrow". + // It should be the one modified "tomorrow". ASSERT_EQ(1, parameters_index.size()); auto parameter = parameters_index.find("name3"); @@ -819,12 +819,12 @@ TEST_F(MySqlConfigBackendDHCPv4Test, getSharedNetwork4) { AuditEntry::ModificationType::CREATE, "shared network set"); } - + // Update shared network in the database. SharedNetwork4Ptr shared_network2 = test_networks_[1]; 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(), test_networks_[1]->getName()); EXPECT_EQ(shared_network2->toElement()->str(), diff --git a/src/share/database/scripts/mysql/dhcpdb_create.mysql b/src/share/database/scripts/mysql/dhcpdb_create.mysql index 22b06f4dc4..3dd5a1e9a6 100644 --- a/src/share/database/scripts/mysql/dhcpdb_create.mysql +++ b/src/share/database/scripts/mysql/dhcpdb_create.mysql @@ -1440,7 +1440,7 @@ ALTER TABLE dhcp4_audit -- ----------------------------------------------------- -- 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 ADD COLUMN revision_id BIGINT(20) UNSIGNED NOT NULL; diff --git a/src/share/database/scripts/mysql/upgrade_7.0_to_8.0.sh.in b/src/share/database/scripts/mysql/upgrade_7.0_to_8.0.sh.in index 2680aecda8..6a6a5cd26e 100644 --- a/src/share/database/scripts/mysql/upgrade_7.0_to_8.0.sh.in +++ b/src/share/database/scripts/mysql/upgrade_7.0_to_8.0.sh.in @@ -20,7 +20,7 @@ mysql "$@" <