]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1319] Added a comment about error 1452
authorFrancis Dupont <fdupont@isc.org>
Tue, 4 Aug 2020 08:27:39 +0000 (10:27 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 4 Aug 2020 08:28:51 +0000 (10:28 +0200)
src/bin/admin/tests/mysql_tests.sh.in

index 1c4f6388c6a983ac22cfa57dce246b8ddc3838e7..e15be371607be383d8f71ae54ac07f8579c28e1a 100644 (file)
@@ -1286,6 +1286,9 @@ mysql_unused_subnet_id_test() {
     run_statement "insert options" "$qry"
 
     # Ok, we have a 6.0 database with hosts and options. Let's upgrade it to 7.0
+    # For versions higher than 7.0 some new constraints fail to be added
+    # with the not empty tables, for instance the 9.1 -> 9.2 upgrade script
+    # can raise a MySQL error 1452 for fk_dhcp4_options_subnet constraint.
     mysql_upgrade_schema_to_version 7.0
 
     # Version should be new 7.0