]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[396-add-audit-trail-for-the-dhcpv4-mysql-backend] cosmetics (spelling, spurious...
authorFrancis Dupont <fdupont@isc.org>
Tue, 29 Jan 2019 15:05:38 +0000 (16:05 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 30 Jan 2019 09:18:59 +0000 (10:18 +0100)
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_7.0_to_8.0.sh.in

index aa556d3815662c2063bd785e129fd26451858443..eb56ff7c1c543228e43b79ff42dccb9303b8e61a 100644 (file)
@@ -547,7 +547,7 @@ TEST_F(MySqlConfigBackendDHCPv4Test, getModifiedGlobalParameters4) {
 
     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());
 
     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(),
index 22b06f4dc444d9717af25238f9c3d254d9646b87..3dd5a1e9a61d2511da488353d5c527925e886a80 100644 (file)
@@ -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;
index 2680aecda8da73fc838b0ad1aab90925a3921152..6a6a5cd26e53f27436b442ec1e47f1a45d0b745c 100644 (file)
@@ -20,7 +20,7 @@ mysql "$@" <<EOF
 -- -----------------------------------------------------
 -- Modify timestamps in the Configuration Backend
 -- specific tables to use fractional seconds with
--- 3 decimal places precision.
+-- 6 decimal places precision.
 -- -----------------------------------------------------
 
 ALTER TABLE dhcp4_server
@@ -123,7 +123,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;