From: Francis Dupont Date: Tue, 4 Aug 2020 08:27:39 +0000 (+0200) Subject: [#1319] Added a comment about error 1452 X-Git-Tag: Kea-1.8.0~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612bbdae3b3469bf14f04ef7cea9cb69dcf84862;p=thirdparty%2Fkea.git [#1319] Added a comment about error 1452 --- diff --git a/src/bin/admin/tests/mysql_tests.sh.in b/src/bin/admin/tests/mysql_tests.sh.in index 1c4f6388c6..e15be37160 100644 --- a/src/bin/admin/tests/mysql_tests.sh.in +++ b/src/bin/admin/tests/mysql_tests.sh.in @@ -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