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
5c6c4b13
Commit
5c6c4b13
authored
Mar 09, 2020
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for previous not-complete-push
parent
c037cdad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/suite/heap/heap_btree.result
mysql-test/suite/heap/heap_btree.result
+7
-7
sql/opt_trace_context.h
sql/opt_trace_context.h
+1
-1
No files found.
mysql-test/suite/heap/heap_btree.result
View file @
5c6c4b13
...
...
@@ -59,10 +59,10 @@ a
869751
select * from t1 where a in (869751,736494,226312,802616);
a
869751
736494
226312
736494
802616
869751
alter table t1 engine=myisam;
explain select * from t1 where a in (869751,736494,226312,802616);
id select_type table type possible_keys key key_len ref rows Extra
...
...
@@ -350,11 +350,11 @@ insert into t1 values (869751),(736494),(226312),(802616),(728912);
alter table t1 add unique uniq_id using BTREE (a);
select 0+a from t1 where a > 736494;
0+a
869751
802616
869751
explain select 0+a from t1 where a > 736494;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
ALL uniq_id NULL NULL NULL 5
Using where
1 SIMPLE t1
range uniq_id uniq_id 8 NULL 3
Using where
select 0+a from t1 where a = 736494;
0+a
736494
...
...
@@ -370,13 +370,13 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range uniq_id uniq_id 8 NULL 2 Using where
select 0+a from t1 where a in (869751,736494,226312,802616);
0+a
869751
736494
226312
736494
802616
869751
explain select 0+a from t1 where a in (869751,736494,226312,802616);
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
ALL uniq_id NULL NULL NULL 5
Using where
1 SIMPLE t1
range uniq_id uniq_id 8 NULL 4
Using where
drop table t1;
End of 5.3 tests
create table t1 (id int, a varchar(300) not null, key using btree(a)) engine=heap;
...
...
sql/opt_trace_context.h
View file @
5c6c4b13
...
...
@@ -4,7 +4,7 @@
#include "sql_array.h"
class
Opt_trace_context
;
class
Opt_trace_info
;
struct
Opt_trace_info
;
class
Json_writer
;
class
Opt_trace_stmt
{
...
...
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