From: Thomas Markwalder Date: Thu, 18 Jul 2024 11:35:50 +0000 (-0400) Subject: [#3484] Fixed mysql_tests.sh.in X-Git-Tag: Kea-2.6.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62834e6cff7fd85f60cb81b6e1d2f6a31c4a6b08;p=thirdparty%2Fkea.git [#3484] Fixed mysql_tests.sh.in --- diff --git a/src/bin/admin/tests/mysql_tests.sh.in b/src/bin/admin/tests/mysql_tests.sh.in index 627b17d603..097cbd8c97 100644 --- a/src/bin/admin/tests/mysql_tests.sh.in +++ b/src/bin/admin/tests/mysql_tests.sh.in @@ -3350,22 +3350,22 @@ mysql_migrate_opt_record_type() { mysql_upgrade_schema_to_version 22.1 # Verify the migrated records. - qry="select type from dhcp4_option_def = 'foo';" + qry="select type from dhcp4_option_def where name = 'foo';" run_statement "#get 4_option_def_foo after update" "$qry" 17 - qry="select type from dhcp4_option_def = 'bar';" + qry="select type from dhcp4_option_def where name = 'bar';" run_statement "#get 4_option_def_bar after update" "$qry" 254 - qry="select type from dhcp4_option_def = 'bar2';" + qry="select type from dhcp4_option_def where name = 'bar2';" run_statement "#get 4_option_def_bar2 after update" "$qry" 254 - qry="select type from dhcp6_option_def = 'foo';" + qry="select type from dhcp6_option_def where name = 'foo';" run_statement "#get 6_option_def_foo after update" "$qry" 17 - qry="select type from dhcp6_option_def = 'bar';" + qry="select type from dhcp6_option_def where name = 'bar';" run_statement "#get 6_option_def_bar after update" "$qry" 254 - qry="select type from dhcp6_option_def = 'bar2';" + qry="select type from dhcp6_option_def where name = 'bar2';" run_statement "#get 6_option_def_bar2 after update" "$qry" 254 # Let's wipe the whole database