summaryrefslogtreecommitdiff
path: root/mysql-test/r/help.result
blob: 4da4a84d4ad79055305e8bbf64281a16b9f3f610 (plain)
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
truncate mysql.help_topic;
truncate mysql.help_category;
truncate mysql.help_relation;
insert into mysql.help_topic(name,description,example)values('impossible_function_1','description of \n impossible_function1','example of \n impossible_function1');
SELECT @topic1_id:=LAST_INSERT_ID();
@topic1_id:=LAST_INSERT_ID()
1
insert into mysql.help_topic(name,description,example)values('impossible_function_2','description of \n impossible_function2','example of \n impossible_function2');
SELECT @topic2_id:=LAST_INSERT_ID();
@topic2_id:=LAST_INSERT_ID()
2
insert into mysql.help_topic(name,description,example)values('impossible_function_3','description of \n impossible_function3','example of \n impossible_function3');
SELECT @topic3_id:=LAST_INSERT_ID();
@topic3_id:=LAST_INSERT_ID()
3
insert into mysql.help_category(name)values('impossible_category_1');
SELECT @category1_id:=LAST_INSERT_ID();
@category1_id:=LAST_INSERT_ID()
1
insert into mysql.help_category(name)values('impossible_category_2');
SELECT @category2_id:=LAST_INSERT_ID();
@category2_id:=LAST_INSERT_ID()
2
insert into mysql.help_relation(help_category_id,help_topic_id)values(@category1_id,@topic1_id);
insert into mysql.help_relation(help_category_id,help_topic_id)values(@category1_id,@topic2_id);
insert into mysql.help_relation(help_category_id,help_topic_id)values(@category2_id,@topic2_id);
insert into mysql.help_relation(help_category_id,help_topic_id)values(@category2_id,@topic3_id);
help 'function_of_my_dream';
Name	Category
impossible_category_1	Y
impossible_category_2	Y
help '%possible_f%';
Name	Category
impossible_function_1	N
impossible_function_2	N
impossible_function_3	N
help 'impossible_func%';
Name	Category
impossible_function_1	N
impossible_function_2	N
impossible_function_3	N
help 'impossible_category%';
Name	Category
impossible_category_1	Y
impossible_category_2	Y
help 'impossible_%';
Name	Category
impossible_function_1	N
impossible_function_2	N
impossible_function_3	N
impossible_category_1	Y
impossible_category_2	Y
help '%function_2';
Name	Category	Description	Example
impossible_function_2	N	description of 
 impossible_function2	example of 
 impossible_function2
help '%category_2';
Name	Category	Description	Example
impossible_category_2	Y		impossible_function_2
impossible_function_3

help 'impossible_function_1';
Name	Category	Description	Example
impossible_function_1	N	description of 
 impossible_function1	example of 
 impossible_function1
help 'impossible_category_1';
Name	Category	Description	Example
impossible_category_1	Y		impossible_function_1
impossible_function_2

alter table mysql.help_topic type=innodb;
alter table mysql.help_category type=innodb;
alter table mysql.help_relation type=innodb;
help 'function_of_my_dream';
Name	Category
impossible_category_1	Y
impossible_category_2	Y
help '%ble_f%';
Name	Category
impossible_function_1	N
impossible_function_2	N
impossible_function_3	N
help 'impossible_func%';
Name	Category
impossible_function_1	N
impossible_function_2	N
impossible_function_3	N
help 'impossible_category%';
Name	Category
impossible_category_1	Y
impossible_category_2	Y
help 'impossible_%';
Name	Category
impossible_function_1	N
impossible_function_2	N
impossible_function_3	N
impossible_category_1	Y
impossible_category_2	Y
help '%function_2';
Name	Category	Description	Example
impossible_function_2	N	description of 
 impossible_function2	example of 
 impossible_function2
help '%category_2';
Name	Category	Description	Example
impossible_category_2	Y		impossible_function_2
impossible_function_3

help 'impossible_function_1';
Name	Category	Description	Example
impossible_function_1	N	description of 
 impossible_function1	example of 
 impossible_function1
help 'impossible_category_1';
Name	Category	Description	Example
impossible_category_1	Y		impossible_function_1
impossible_function_2

alter table mysql.help_topic type=myisam;
alter table mysql.help_category type=myisam;
alter table mysql.help_relation type=myisam;