mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
d352bc5b67
Part#2: check that compile-time default @@optimizer_trace is correct.
11 lines
415 B
Text
11 lines
415 B
Text
|
|
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';
|