]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3484] Fixed mysql_tests.sh.in
authorThomas Markwalder <tmark@isc.org>
Thu, 18 Jul 2024 11:35:50 +0000 (07:35 -0400)
committerThomas Markwalder <tmark@isc.org>
Thu, 18 Jul 2024 17:52:00 +0000 (13:52 -0400)
src/bin/admin/tests/mysql_tests.sh.in

index 627b17d603403a110921103a23183baaa4a86480..097cbd8c97a63d26967e6a51eec16bbad2683f30 100644 (file)
@@ -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