Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fcca0c67
Commit
fcca0c67
authored
Oct 28, 2021
by
Sergei Krivonos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-26929: fixed opt_trace test for --mysqld=--optimizer_trace=enabled=on
parent
3a79e5fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/main/opt_trace.result
mysql-test/main/opt_trace.result
+3
-3
mysql-test/main/opt_trace.test
mysql-test/main/opt_trace.test
+1
-1
No files found.
mysql-test/main/opt_trace.result
View file @
fcca0c67
...
...
@@ -4,14 +4,14 @@ OPTIMIZER_TRACE QUERY
OPTIMIZER_TRACE TRACE
OPTIMIZER_TRACE MISSING_BYTES_BEYOND_MAX_MEM_SIZE
OPTIMIZER_TRACE INSUFFICIENT_PRIVILEGES
show variables like 'optimizer_trace';
Variable_name Value
optimizer_trace enabled=off
set optimizer_trace="enabled=on";
show variables like 'optimizer_trace';
Variable_name Value
optimizer_trace enabled=on
set optimizer_trace="enabled=off";
show variables like 'optimizer_trace';
Variable_name Value
optimizer_trace enabled=off
create table t1 (a int, b int);
insert into t1 values (1,2),(2,3);
create table t2 (b int);
...
...
mysql-test/main/opt_trace.test
View file @
fcca0c67
--
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment