File: add_index_5.result

package info (click to toggle)
mariadb-10.0 10.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 416,512 kB
  • sloc: cpp: 1,351,103; ansic: 803,086; perl: 59,621; pascal: 32,136; sh: 25,156; yacc: 14,897; xml: 5,194; sql: 4,651; cs: 4,647; makefile: 4,113; python: 2,526; ruby: 2,496; lex: 1,427; asm: 295; awk: 54; php: 22; sed: 16
file content (161 lines) | stat: -rw-r--r-- 3,999 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, b int, c int, z int, y int, x int, r int, s int, t int, primary key (a,b), key (z), key(x), key(t));
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	foo	foo	NULL	NULL	NULL;	Using where; Using index
c	r	a	b
0	20	10	0
2	18	9	1
4	16	8	2
6	14	7	3
8	12	6	4
10	10	5	5
12	8	4	6
14	6	3	7
16	4	2	8
18	2	1	9
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	
a	b	c	z	y	x	r	s	t
1	9	18	10	100	1000	2	3	4
2	8	16	20	200	2000	4	6	8
3	7	14	30	300	3000	6	9	12
4	6	12	40	400	4000	8	12	16
5	5	10	50	500	5000	10	15	20
6	4	8	60	600	6000	12	18	24
7	3	6	70	700	7000	14	21	28
8	2	4	80	800	8000	16	24	32
9	1	2	90	900	9000	18	27	36
10	0	0	100	1000	10000	20	30	40
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	Using where
c	r	a	b
18	2	1	9
16	4	2	8
14	6	3	7
12	8	4	6
10	10	5	5
8	12	6	4
6	14	7	3
4	16	8	2
2	18	9	1
0	20	10	0
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	
a	b	c	z	y	x	r	s	t
1	9	18	10	100	1000	2	3	4
2	8	16	20	200	2000	4	6	8
3	7	14	30	300	3000	6	9	12
4	6	12	40	400	4000	8	12	16
5	5	10	50	500	5000	10	15	20
6	4	8	60	600	6000	12	18	24
7	3	6	70	700	7000	14	21	28
8	2	4	80	800	8000	16	24	32
9	1	2	90	900	9000	18	27	36
10	0	0	100	1000	10000	20	30	40
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	foo	foo	NULL	NULL	NULL;	Using where; Using index
c	r	a	b
0	20	10	0
2	18	9	1
4	16	8	2
6	14	7	3
8	12	6	4
10	10	5	5
12	8	4	6
14	6	3	7
16	4	2	8
18	2	1	9
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	
a	b	c	z	y	x	r	s	t
1	9	18	10	100	1000	2	3	4
2	8	16	20	200	2000	4	6	8
3	7	14	30	300	3000	6	9	12
4	6	12	40	400	4000	8	12	16
5	5	10	50	500	5000	10	15	20
6	4	8	60	600	6000	12	18	24
7	3	6	70	700	7000	14	21	28
8	2	4	80	800	8000	16	24	32
9	1	2	90	900	9000	18	27	36
10	0	0	100	1000	10000	20	30	40
ERROR 42000: Duplicate key name 'foo'
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	foo	foo	NULL	NULL	NULL;	Using where; Using index
c	r	a	b
0	20	10	0
2	18	9	1
4	16	8	2
6	14	7	3
8	12	6	4
10	10	5	5
12	8	4	6
14	6	3	7
16	4	2	8
18	2	1	9
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	
a	b	c	z	y	x	r	s	t
1	9	18	10	100	1000	2	3	4
2	8	16	20	200	2000	4	6	8
3	7	14	30	300	3000	6	9	12
4	6	12	40	400	4000	8	12	16
5	5	10	50	500	5000	10	15	20
6	4	8	60	600	6000	12	18	24
7	3	6	70	700	7000	14	21	28
8	2	4	80	800	8000	16	24	32
9	1	2	90	900	9000	18	27	36
10	0	0	100	1000	10000	20	30	40
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	z	z	NULL	NULL	NULL;	Using where; Using index
z	a	b
10	1	9
20	2	8
30	3	7
40	4	6
50	5	5
60	6	4
70	7	3
80	8	2
90	9	1
100	10	0
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	
a	b	c	z	y	x	r	s	t
1	9	18	10	100	1000	2	3	4
2	8	16	20	200	2000	4	6	8
3	7	14	30	300	3000	6	9	12
4	6	12	40	400	4000	8	12	16
5	5	10	50	500	5000	10	15	20
6	4	8	60	600	6000	12	18	24
7	3	6	70	700	7000	14	21	28
8	2	4	80	800	8000	16	24	32
9	1	2	90	900	9000	18	27	36
10	0	0	100	1000	10000	20	30	40
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	foo	foo	NULL	NULL	NULL;	Using where; Using index
c	r	a	b
0	20	10	0
2	18	9	1
4	16	8	2
6	14	7	3
8	12	6	4
10	10	5	5
12	8	4	6
14	6	3	7
16	4	2	8
18	2	1	9
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	NULL	NULL	NULL	NULL	NULL	NULL;	
a	b	c	z	y	x	r	s	t
1	9	18	10	100	1000	2	3	4
2	8	16	20	200	2000	4	6	8
3	7	14	30	300	3000	6	9	12
4	6	12	40	400	4000	8	12	16
5	5	10	50	500	5000	10	15	20
6	4	8	60	600	6000	12	18	24
7	3	6	70	700	7000	14	21	28
8	2	4	80	800	8000	16	24	32
9	1	2	90	900	9000	18	27	36
10	0	0	100	1000	10000	20	30	40