Fixed bug in optimizer_costs.test

The test failed if one had disabled some engines during compilation
This commit is contained in:
Monty 2023-02-27 13:58:15 +02:00
parent b24b3cea7d
commit 50c8e65b38
2 changed files with 4 additions and 2 deletions

View file

@ -344,4 +344,4 @@ drop table t1;
#
# cleanup
#
Start_engines: 9 End_engines: 10
"New cost structures: 1 (should be 1)"

View file

@ -184,4 +184,6 @@ drop table t1;
--echo #
let $end_engines=`select count(*) from information_schema.optimizer_costs`;
--echo Start_engines: $start_engines End_engines: $end_engines
let $diff=`select $end_engines - $start_engines`;
--echo "New cost structures: $diff (should be 1)"