Commit d352bc5b authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-26929: Make the main testsuite runnable with optimizer trace enabled

Part#2: check that compile-time default @@optimizer_trace is correct.
parent 1fdac574
# Verify that compile-time default for optimizer trace is OFF (enabled=off).
select
global_value_origin,
default_value
from
INFORMATION_SCHEMA.SYSTEM_VARIABLES where variable_name='optimizer_trace';
global_value_origin default_value
COMPILE-TIME enabled=off
if (`SELECT 'COMPILE-TIME'<>GLOBAL_VALUE_ORIGIN from INFORMATION_SCHEMA.SYSTEM_VARIABLES where variable_name='optimizer_trace'`) {
--Skip Needs optimizer_trace default to be the compile-time default
}
--echo # Verify that compile-time default for optimizer trace is OFF (enabled=off).
select
global_value_origin,
default_value
from
INFORMATION_SCHEMA.SYSTEM_VARIABLES where variable_name='optimizer_trace';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment