1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-26929: fixed opt_trace test for --mysqld=--optimizer_trace=enabled=on

This commit is contained in:
Sergei Krivonos
2021-10-28 18:35:33 +03:00
parent 3a79e5fd31
commit fcca0c67b6
2 changed files with 4 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
--source include/not_embedded.inc
--source include/have_sequence.inc
SELECT table_name, column_name FROM information_schema.columns where table_name="OPTIMIZER_TRACE";
show variables like 'optimizer_trace';
set optimizer_trace="enabled=on";
show variables like 'optimizer_trace';
set optimizer_trace="enabled=off";
show variables like 'optimizer_trace';
create table t1 (a int, b int);
insert into t1 values (1,2),(2,3);