1
by brian
clean slate |
1 |
DROP TABLE IF EXISTS t1, `"t"1`, t1aa, t2, t2aa, t3; |
2 |
drop database if exists mysqldump_test_db; |
|
3 |
drop database if exists db1; |
|
4 |
drop database if exists db2; |
|
5 |
drop view if exists v1, v2, v3; |
|
6 |
CREATE TABLE t1(a int, key (a)) key_block_size=1024; |
|
7 |
INSERT INTO t1 VALUES (1), (2); |
|
8 |
<?xml version="1.0"?>
|
|
9 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
10 |
||
11 |
-- |
|
12 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
13 |
-- |
|
14 |
<database name="test"> |
|
15 |
<table_structure name="t1"> |
|
16 |
<field Field="a" Type="int(11)" Null="YES" Key="MUL" Extra="" /> |
|
17 |
<key Table="t1" Non_unique="1" Key_name="a" Seq_in_index="1" Column_name="a" Collation="A" Null="YES" Index_type="BTREE" Comment="" Index_Comment="" /> |
|
18 |
</table_structure>
|
|
19 |
<table_data name="t1"> |
|
20 |
<row>
|
|
21 |
<field name="a">1</field> |
|
22 |
</row>
|
|
23 |
<row>
|
|
24 |
<field name="a">2</field> |
|
25 |
</row>
|
|
26 |
</table_data>
|
|
27 |
</database>
|
|
28 |
</mysqldump>
|
|
29 |
DROP TABLE t1; |
|
30 |
# |
|
31 |
# Bug #2005 |
|
32 |
# |
|
33 |
CREATE TABLE t1 (a decimal(64, 20)); |
|
34 |
INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"), |
|
35 |
("0987654321098765432109876543210987654321"); |
|
36 |
||
37 |
-- |
|
38 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
39 |
-- |
|
40 |
SET @saved_cs_client = @@character_set_client; |
|
41 |
SET character_set_client = utf8; |
|
42 |
CREATE TABLE `t1` ( |
|
43 |
`a` decimal(64,20) DEFAULT NULL |
|
44 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
45 |
SET character_set_client = @saved_cs_client; |
|
46 |
INSERT INTO `t1` VALUES ('1234567890123456789012345678901234567890.00000000000000000000'),('987654321098765432109876543210987654321.00000000000000000000'); |
|
47 |
DROP TABLE t1; |
|
48 |
# |
|
49 |
# Bug #2055 |
|
50 |
# |
|
51 |
CREATE TABLE t1 (a double); |
|
52 |
INSERT INTO t1 VALUES ('-9e999999'); |
|
53 |
Warnings: |
|
54 |
Warning 1264 Out of range value for column 'a' at row 1 |
|
55 |
||
56 |
-- |
|
57 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
58 |
-- |
|
59 |
SET @saved_cs_client = @@character_set_client; |
|
60 |
SET character_set_client = utf8; |
|
61 |
CREATE TABLE `t1` ( |
|
62 |
`a` double DEFAULT NULL |
|
63 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
64 |
SET character_set_client = @saved_cs_client; |
|
65 |
INSERT INTO `t1` VALUES (-1.7976931348623157e308); |
|
66 |
DROP TABLE t1; |
|
67 |
# |
|
68 |
# Bug #3361 mysqldump quotes DECIMAL values inconsistently |
|
69 |
# |
|
70 |
CREATE TABLE t1 (a DECIMAL(10,5), b FLOAT); |
|
71 |
INSERT INTO t1 VALUES (1.2345, 2.3456); |
|
72 |
INSERT INTO t1 VALUES ('1.2345', 2.3456); |
|
73 |
INSERT INTO t1 VALUES ("1.2345", 2.3456); |
|
74 |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ANSI_QUOTES'; |
|
75 |
INSERT INTO t1 VALUES (1.2345, 2.3456); |
|
76 |
INSERT INTO t1 VALUES ('1.2345', 2.3456); |
|
77 |
INSERT INTO t1 VALUES ("1.2345", 2.3456); |
|
78 |
ERROR 42S22: Unknown column '1.2345' in 'field list' |
|
79 |
SET SQL_MODE=@OLD_SQL_MODE; |
|
80 |
||
81 |
-- |
|
82 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
83 |
-- |
|
84 |
SET @saved_cs_client = @@character_set_client; |
|
85 |
SET character_set_client = utf8; |
|
86 |
CREATE TABLE `t1` ( |
|
87 |
`a` decimal(10,5) DEFAULT NULL, |
|
88 |
`b` float DEFAULT NULL |
|
89 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
90 |
SET character_set_client = @saved_cs_client; |
|
91 |
INSERT INTO `t1` VALUES ('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456); |
|
92 |
||
93 |
-- |
|
94 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
95 |
-- |
|
96 |
SET @saved_cs_client = @@character_set_client; |
|
97 |
SET character_set_client = utf8; |
|
98 |
CREATE TABLE `t1` ( |
|
99 |
`a` decimal(10,5) DEFAULT NULL, |
|
100 |
`b` float DEFAULT NULL |
|
101 |
); |
|
102 |
SET character_set_client = @saved_cs_client; |
|
103 |
INSERT INTO `t1` VALUES ('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456); |
|
104 |
||
105 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
106 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
107 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
108 |
/*!40101 SET NAMES utf8 */; |
|
109 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
110 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
111 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
112 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
113 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
114 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
115 |
||
116 |
-- |
|
117 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
118 |
-- |
|
119 |
DROP TABLE IF EXISTS `t1`; |
|
120 |
SET @saved_cs_client = @@character_set_client; |
|
121 |
SET character_set_client = utf8; |
|
122 |
CREATE TABLE `t1` ( |
|
123 |
`a` decimal(10,5) DEFAULT NULL, |
|
124 |
`b` float DEFAULT NULL |
|
125 |
); |
|
126 |
SET character_set_client = @saved_cs_client; |
|
127 |
||
128 |
LOCK TABLES `t1` WRITE; |
|
129 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
130 |
INSERT INTO `t1` VALUES ('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456); |
|
131 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
132 |
UNLOCK TABLES; |
|
133 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
134 |
||
135 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
136 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
137 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
138 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
139 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
140 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
141 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
142 |
||
143 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
144 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
145 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
146 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
147 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
148 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
149 |
||
150 |
-- |
|
151 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
152 |
-- |
|
153 |
SET @saved_cs_client = @@character_set_client; |
|
154 |
SET character_set_client = utf8; |
|
155 |
CREATE TABLE `t1` ( |
|
156 |
`a` decimal(10,5) DEFAULT NULL, |
|
157 |
`b` float DEFAULT NULL |
|
158 |
); |
|
159 |
SET character_set_client = @saved_cs_client; |
|
160 |
||
161 |
INSERT INTO `t1` VALUES ('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456),('1.23450',2.3456); |
|
162 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
163 |
||
164 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
165 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
166 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
167 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
168 |
||
169 |
DROP TABLE t1; |
|
170 |
CREATE TABLE t1(a int, b text, c varchar(3)); |
|
171 |
INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES"); |
|
172 |
<?xml version="1.0"?>
|
|
173 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
174 |
||
175 |
-- |
|
176 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
177 |
-- |
|
178 |
<database name="test"> |
|
179 |
<table_structure name="t1"> |
|
180 |
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" /> |
|
181 |
<field Field="b" Type="text" Null="YES" Key="" Extra="" /> |
|
182 |
<field Field="c" Type="varchar(3)" Null="YES" Key="" Extra="" /> |
|
183 |
</table_structure>
|
|
184 |
<table_data name="t1"> |
|
185 |
<row>
|
|
186 |
<field name="a">1</field> |
|
187 |
<field name="b">test</field> |
|
188 |
<field name="c">tes</field> |
|
189 |
</row>
|
|
190 |
<row>
|
|
191 |
<field name="a">2</field> |
|
192 |
<field name="b">TEST</field> |
|
193 |
<field name="c">TES</field> |
|
194 |
</row>
|
|
195 |
</table_data>
|
|
196 |
</database>
|
|
197 |
</mysqldump>
|
|
198 |
DROP TABLE t1; |
|
199 |
# |
|
200 |
# Bug #1707 |
|
201 |
# |
|
202 |
CREATE TABLE t1 (`a"b"` char(2)); |
|
203 |
INSERT INTO t1 VALUES ("1\""), ("\"2"); |
|
204 |
<?xml version="1.0"?>
|
|
205 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
206 |
||
207 |
-- |
|
208 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
209 |
-- |
|
210 |
<database name="test"> |
|
211 |
<table_structure name="t1"> |
|
212 |
<field Field="a"b"" Type="char(2)" Null="YES" Key="" Extra="" /> |
|
213 |
</table_structure>
|
|
214 |
<table_data name="t1"> |
|
215 |
<row>
|
|
216 |
<field name="a"b"">1"</field> |
|
217 |
</row>
|
|
218 |
<row>
|
|
219 |
<field name="a"b"">"2</field> |
|
220 |
</row>
|
|
221 |
</table_data>
|
|
222 |
</database>
|
|
223 |
</mysqldump>
|
|
224 |
DROP TABLE t1; |
|
225 |
# |
|
226 |
# Bug #1994 |
|
227 |
# Bug #4261 |
|
228 |
# |
|
229 |
CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET koi8r; |
|
230 |
INSERT INTO t1 VALUES (_koi8r x'C1C2C3C4C5'), (NULL); |
|
231 |
||
232 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
233 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
234 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
235 |
/*!40101 SET NAMES utf8 */; |
|
236 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
237 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
238 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
239 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
240 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
241 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
242 |
||
243 |
-- |
|
244 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
245 |
-- |
|
246 |
DROP TABLE IF EXISTS `t1`; |
|
247 |
SET @saved_cs_client = @@character_set_client; |
|
248 |
SET character_set_client = utf8; |
|
249 |
CREATE TABLE `t1` ( |
|
250 |
`a` varchar(255) DEFAULT NULL |
|
251 |
) ENGINE=MyISAM DEFAULT CHARSET=koi8r; |
|
252 |
SET character_set_client = @saved_cs_client; |
|
253 |
||
254 |
LOCK TABLES `t1` WRITE; |
|
255 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
256 |
INSERT INTO `t1` VALUES ('абÑЎе'); |
|
257 |
INSERT INTO `t1` VALUES (NULL); |
|
258 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
259 |
UNLOCK TABLES; |
|
260 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
261 |
||
262 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
263 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
264 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
265 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
266 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
267 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
268 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
269 |
||
270 |
DROP TABLE t1; |
|
271 |
# |
|
272 |
# Bug #2634 |
|
273 |
# |
|
274 |
CREATE TABLE t1 (a int) ENGINE=MYISAM; |
|
275 |
INSERT INTO t1 VALUES (1), (2); |
|
276 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
277 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
278 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
279 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
280 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL40' */; |
|
281 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
282 |
||
283 |
-- |
|
284 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
285 |
-- |
|
286 |
DROP TABLE IF EXISTS `t1`; |
|
287 |
SET @saved_cs_client = @@character_set_client; |
|
288 |
SET character_set_client = utf8; |
|
289 |
CREATE TABLE `t1` ( |
|
290 |
`a` int(11) DEFAULT NULL |
|
291 |
) TYPE=MyISAM; |
|
292 |
SET character_set_client = @saved_cs_client; |
|
293 |
||
294 |
LOCK TABLES `t1` WRITE; |
|
295 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
296 |
INSERT INTO `t1` VALUES (1),(2); |
|
297 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
298 |
UNLOCK TABLES; |
|
299 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
300 |
||
301 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
302 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
303 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
304 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
305 |
||
306 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
307 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
308 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
309 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
310 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */; |
|
311 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
312 |
||
313 |
-- |
|
314 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
315 |
-- |
|
316 |
DROP TABLE IF EXISTS `t1`; |
|
317 |
SET @saved_cs_client = @@character_set_client; |
|
318 |
SET character_set_client = utf8; |
|
319 |
CREATE TABLE `t1` ( |
|
320 |
`a` int(11) DEFAULT NULL |
|
321 |
) TYPE=MyISAM; |
|
322 |
SET character_set_client = @saved_cs_client; |
|
323 |
||
324 |
LOCK TABLES `t1` WRITE; |
|
325 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
326 |
INSERT INTO `t1` VALUES (1),(2); |
|
327 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
328 |
UNLOCK TABLES; |
|
329 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
330 |
||
331 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
332 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
333 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
334 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
335 |
||
336 |
DROP TABLE t1; |
|
337 |
# |
|
338 |
# Bug #2592 'mysqldump doesn't quote "tricky" names correctly' |
|
339 |
# |
|
340 |
create table ```a` (i int); |
|
341 |
||
342 |
-- |
|
343 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
344 |
-- |
|
345 |
SET @saved_cs_client = @@character_set_client; |
|
346 |
SET character_set_client = utf8; |
|
347 |
CREATE TABLE ```a` ( |
|
348 |
`i` int(11) DEFAULT NULL |
|
349 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
350 |
SET character_set_client = @saved_cs_client; |
|
351 |
drop table ```a`; |
|
352 |
# |
|
353 |
# Bug #2591 "mysqldump quotes names inconsistently" |
|
354 |
# |
|
355 |
create table t1(a int); |
|
356 |
||
357 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
358 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
359 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
360 |
/*!40101 SET NAMES utf8 */; |
|
361 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
362 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
363 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
364 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
365 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
366 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
367 |
||
368 |
-- |
|
369 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
370 |
-- |
|
371 |
DROP TABLE IF EXISTS `t1`; |
|
372 |
SET @saved_cs_client = @@character_set_client; |
|
373 |
SET character_set_client = utf8; |
|
374 |
CREATE TABLE `t1` ( |
|
375 |
`a` int(11) DEFAULT NULL |
|
376 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
377 |
SET character_set_client = @saved_cs_client; |
|
378 |
||
379 |
LOCK TABLES `t1` WRITE; |
|
380 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
381 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
382 |
UNLOCK TABLES; |
|
383 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
384 |
||
385 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
386 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
387 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
388 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
389 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
390 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
391 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
392 |
||
393 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
394 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
395 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
396 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
397 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */; |
|
398 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
399 |
||
400 |
-- |
|
401 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
402 |
-- |
|
403 |
DROP TABLE IF EXISTS "t1"; |
|
404 |
SET @saved_cs_client = @@character_set_client; |
|
405 |
SET character_set_client = utf8; |
|
406 |
CREATE TABLE "t1" ( |
|
407 |
"a" int(11) DEFAULT NULL |
|
408 |
); |
|
409 |
SET character_set_client = @saved_cs_client; |
|
410 |
||
411 |
LOCK TABLES "t1" WRITE; |
|
412 |
/*!40000 ALTER TABLE "t1" DISABLE KEYS */; |
|
413 |
/*!40000 ALTER TABLE "t1" ENABLE KEYS */; |
|
414 |
UNLOCK TABLES; |
|
415 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
416 |
||
417 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
418 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
419 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
420 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
421 |
||
422 |
set global sql_mode='ANSI_QUOTES'; |
|
423 |
||
424 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
425 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
426 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
427 |
/*!40101 SET NAMES utf8 */; |
|
428 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
429 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
430 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
431 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
432 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
433 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
434 |
||
435 |
-- |
|
436 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
437 |
-- |
|
438 |
DROP TABLE IF EXISTS `t1`; |
|
439 |
SET @saved_cs_client = @@character_set_client; |
|
440 |
SET character_set_client = utf8; |
|
441 |
CREATE TABLE `t1` ( |
|
442 |
`a` int(11) DEFAULT NULL |
|
443 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
444 |
SET character_set_client = @saved_cs_client; |
|
445 |
||
446 |
LOCK TABLES `t1` WRITE; |
|
447 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
448 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
449 |
UNLOCK TABLES; |
|
450 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
451 |
||
452 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
453 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
454 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
455 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
456 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
457 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
458 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
459 |
||
460 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
461 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
462 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
463 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
464 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */; |
|
465 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
466 |
||
467 |
-- |
|
468 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
469 |
-- |
|
470 |
DROP TABLE IF EXISTS "t1"; |
|
471 |
SET @saved_cs_client = @@character_set_client; |
|
472 |
SET character_set_client = utf8; |
|
473 |
CREATE TABLE "t1" ( |
|
474 |
"a" int(11) DEFAULT NULL |
|
475 |
); |
|
476 |
SET character_set_client = @saved_cs_client; |
|
477 |
||
478 |
LOCK TABLES "t1" WRITE; |
|
479 |
/*!40000 ALTER TABLE "t1" DISABLE KEYS */; |
|
480 |
/*!40000 ALTER TABLE "t1" ENABLE KEYS */; |
|
481 |
UNLOCK TABLES; |
|
482 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
483 |
||
484 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
485 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
486 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
487 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
488 |
||
489 |
set global sql_mode=''; |
|
490 |
drop table t1; |
|
491 |
# |
|
492 |
# Bug #2705 'mysqldump --tab extra output' |
|
493 |
# |
|
494 |
create table t1(a int); |
|
495 |
insert into t1 values (1),(2),(3); |
|
496 |
||
497 |
-- |
|
498 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
499 |
-- |
|
500 |
||
501 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
502 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
503 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
504 |
/*!40101 SET NAMES utf8 */; |
|
505 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
506 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
507 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */; |
|
508 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
509 |
DROP TABLE IF EXISTS `t1`; |
|
510 |
SET @saved_cs_client = @@character_set_client; |
|
511 |
SET character_set_client = utf8; |
|
512 |
CREATE TABLE `t1` ( |
|
513 |
`a` int(11) DEFAULT NULL |
|
514 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
515 |
SET character_set_client = @saved_cs_client; |
|
516 |
||
517 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
518 |
||
519 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
520 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
521 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
522 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
523 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
524 |
||
525 |
1 |
|
526 |
2 |
|
527 |
3 |
|
528 |
||
529 |
-- |
|
530 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
531 |
-- |
|
532 |
drop table t1; |
|
533 |
# |
|
534 |
# Bug #6101: create database problem |
|
535 |
# |
|
536 |
||
537 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
538 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
539 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
540 |
/*!40101 SET NAMES utf8 */; |
|
541 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
542 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
543 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
544 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
545 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
546 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
547 |
||
548 |
-- |
|
549 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
550 |
-- |
|
551 |
||
552 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
553 |
||
554 |
USE `test`; |
|
555 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
556 |
||
557 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
558 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
559 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
560 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
561 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
562 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
563 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
564 |
||
565 |
create database mysqldump_test_db character set latin2 collate latin2_bin; |
|
566 |
||
567 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
568 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
569 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
570 |
/*!40101 SET NAMES utf8 */; |
|
571 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
572 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
573 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
574 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
575 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
576 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
577 |
||
578 |
-- |
|
579 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
580 |
-- |
|
581 |
||
582 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET latin2 COLLATE latin2_bin */; |
|
583 |
||
584 |
USE `mysqldump_test_db`; |
|
585 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
586 |
||
587 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
588 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
589 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
590 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
591 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
592 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
593 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
594 |
||
595 |
drop database mysqldump_test_db; |
|
596 |
# |
|
597 |
# Bug #7020 |
|
598 |
# Check that we don't dump in UTF8 in compatible mode by default, |
|
599 |
# but use the default compiled values, or the values given in |
|
600 |
# --default-character-set=xxx. However, we should dump in UTF8 |
|
601 |
# if it is explicitely set. |
|
602 |
CREATE TABLE t1 (a CHAR(10)); |
|
603 |
INSERT INTO t1 VALUES (_latin1 'ÄÖÜß'); |
|
604 |
||
605 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
606 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
607 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
608 |
/*!40101 SET NAMES utf8 */; |
|
609 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
610 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
611 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
612 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
613 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
614 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
615 |
||
616 |
-- |
|
617 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
618 |
-- |
|
619 |
DROP TABLE IF EXISTS `t1`; |
|
620 |
SET @saved_cs_client = @@character_set_client; |
|
621 |
SET character_set_client = utf8; |
|
622 |
CREATE TABLE `t1` ( |
|
623 |
`a` char(10) DEFAULT NULL |
|
624 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
625 |
SET character_set_client = @saved_cs_client; |
|
626 |
||
627 |
LOCK TABLES `t1` WRITE; |
|
628 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
629 |
INSERT INTO `t1` VALUES ('ÃÃÃÃ'); |
|
630 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
631 |
UNLOCK TABLES; |
|
632 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
633 |
||
634 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
635 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
636 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
637 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
638 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
639 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
640 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
641 |
||
642 |
# |
|
643 |
# Bug#8063: make test mysqldump [ fail ] |
|
644 |
# We cannot tes this command because its output depends |
|
645 |
# on --default-character-set incompiled into "mysqldump" program. |
|
646 |
# If the future we can move this command into a separate test with |
|
647 |
# checking that "mysqldump" is compiled with "latin1" |
|
648 |
# |
|
649 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
650 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
651 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
652 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
653 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */; |
|
654 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
655 |
||
656 |
-- |
|
657 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
658 |
-- |
|
659 |
DROP TABLE IF EXISTS `t1`; |
|
660 |
SET @saved_cs_client = @@character_set_client; |
|
661 |
SET character_set_client = utf8; |
|
662 |
CREATE TABLE `t1` ( |
|
663 |
`a` char(10) DEFAULT NULL |
|
664 |
) TYPE=MyISAM; |
|
665 |
SET character_set_client = @saved_cs_client; |
|
666 |
||
667 |
LOCK TABLES `t1` WRITE; |
|
668 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
669 |
INSERT INTO `t1` VALUES ('á'); |
|
670 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
671 |
UNLOCK TABLES; |
|
672 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
673 |
||
674 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
675 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
676 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
677 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
678 |
||
679 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
680 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
681 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
682 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
683 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */; |
|
684 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
685 |
||
686 |
-- |
|
687 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
688 |
-- |
|
689 |
DROP TABLE IF EXISTS `t1`; |
|
690 |
SET @saved_cs_client = @@character_set_client; |
|
691 |
SET character_set_client = utf8; |
|
692 |
CREATE TABLE `t1` ( |
|
693 |
`a` char(10) DEFAULT NULL |
|
694 |
) TYPE=MyISAM; |
|
695 |
SET character_set_client = @saved_cs_client; |
|
696 |
||
697 |
LOCK TABLES `t1` WRITE; |
|
698 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
699 |
INSERT INTO `t1` VALUES ('á'); |
|
700 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
701 |
UNLOCK TABLES; |
|
702 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
703 |
||
704 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
705 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
706 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
707 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
708 |
||
709 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
710 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
711 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
712 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
713 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */; |
|
714 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
715 |
||
716 |
-- |
|
717 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
718 |
-- |
|
719 |
DROP TABLE IF EXISTS `t1`; |
|
720 |
SET @saved_cs_client = @@character_set_client; |
|
721 |
SET character_set_client = utf8; |
|
722 |
CREATE TABLE `t1` ( |
|
723 |
`a` char(10) DEFAULT NULL |
|
724 |
) TYPE=MyISAM; |
|
725 |
SET character_set_client = @saved_cs_client; |
|
726 |
||
727 |
LOCK TABLES `t1` WRITE; |
|
728 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
729 |
INSERT INTO `t1` VALUES ('ÃÃÃÃ'); |
|
730 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
731 |
UNLOCK TABLES; |
|
732 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
733 |
||
734 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
735 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
736 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
737 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
738 |
||
739 |
DROP TABLE t1; |
|
740 |
# |
|
741 |
# WL #2319: Exclude Tables from dump |
|
742 |
# |
|
743 |
CREATE TABLE t1 (a int); |
|
744 |
CREATE TABLE t2 (a int); |
|
745 |
INSERT INTO t1 VALUES (1),(2),(3); |
|
746 |
INSERT INTO t2 VALUES (4),(5),(6); |
|
747 |
||
748 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
749 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
750 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
751 |
/*!40101 SET NAMES utf8 */; |
|
752 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
753 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
754 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
755 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
756 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
757 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
758 |
||
759 |
-- |
|
760 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
761 |
-- |
|
762 |
DROP TABLE IF EXISTS `t2`; |
|
763 |
SET @saved_cs_client = @@character_set_client; |
|
764 |
SET character_set_client = utf8; |
|
765 |
CREATE TABLE `t2` ( |
|
766 |
`a` int(11) DEFAULT NULL |
|
767 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
768 |
SET character_set_client = @saved_cs_client; |
|
769 |
||
770 |
LOCK TABLES `t2` WRITE; |
|
771 |
/*!40000 ALTER TABLE `t2` DISABLE KEYS */; |
|
772 |
INSERT INTO `t2` VALUES (4),(5),(6); |
|
773 |
/*!40000 ALTER TABLE `t2` ENABLE KEYS */; |
|
774 |
UNLOCK TABLES; |
|
775 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
776 |
||
777 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
778 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
779 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
780 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
781 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
782 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
783 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
784 |
||
785 |
DROP TABLE t1; |
|
786 |
DROP TABLE t2; |
|
787 |
# |
|
788 |
# Bug #8830 |
|
789 |
# |
|
790 |
CREATE TABLE t1 (`b` blob); |
|
791 |
INSERT INTO `t1` VALUES (0x602010000280100005E71A); |
|
792 |
||
793 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
794 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
795 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
796 |
/*!40101 SET NAMES utf8 */; |
|
797 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
798 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
799 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
800 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
801 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
802 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
803 |
||
804 |
-- |
|
805 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
806 |
-- |
|
807 |
DROP TABLE IF EXISTS `t1`; |
|
808 |
SET @saved_cs_client = @@character_set_client; |
|
809 |
SET character_set_client = utf8; |
|
810 |
CREATE TABLE `t1` ( |
|
811 |
`b` blob |
|
812 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
813 |
SET character_set_client = @saved_cs_client; |
|
814 |
||
815 |
LOCK TABLES `t1` WRITE; |
|
816 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
817 |
INSERT INTO `t1` VALUES (0x602010000280100005E71A); |
|
818 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
819 |
UNLOCK TABLES; |
|
820 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
821 |
||
822 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
823 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
824 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
825 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
826 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
827 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
828 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
829 |
||
830 |
DROP TABLE t1; |
|
831 |
# |
|
832 |
# Test for --insert-ignore |
|
833 |
# |
|
834 |
CREATE TABLE t1 (a int); |
|
835 |
INSERT INTO t1 VALUES (1),(2),(3); |
|
836 |
INSERT INTO t1 VALUES (4),(5),(6); |
|
837 |
||
838 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
839 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
840 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
841 |
/*!40101 SET NAMES utf8 */; |
|
842 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
843 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
844 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
845 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
846 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
847 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
848 |
||
849 |
-- |
|
850 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
851 |
-- |
|
852 |
DROP TABLE IF EXISTS `t1`; |
|
853 |
SET @saved_cs_client = @@character_set_client; |
|
854 |
SET character_set_client = utf8; |
|
855 |
CREATE TABLE `t1` ( |
|
856 |
`a` int(11) DEFAULT NULL |
|
857 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
858 |
SET character_set_client = @saved_cs_client; |
|
859 |
||
860 |
LOCK TABLES `t1` WRITE; |
|
861 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
862 |
INSERT IGNORE INTO `t1` VALUES (1),(2),(3),(4),(5),(6); |
|
863 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
864 |
UNLOCK TABLES; |
|
865 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
866 |
||
867 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
868 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
869 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
870 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
871 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
872 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
873 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
874 |
||
875 |
||
876 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
877 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
878 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
879 |
/*!40101 SET NAMES utf8 */; |
|
880 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
881 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
882 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
883 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
884 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
885 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
886 |
||
887 |
-- |
|
888 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
889 |
-- |
|
890 |
DROP TABLE IF EXISTS `t1`; |
|
891 |
SET @saved_cs_client = @@character_set_client; |
|
892 |
SET character_set_client = utf8; |
|
893 |
CREATE TABLE `t1` ( |
|
894 |
`a` int(11) DEFAULT NULL |
|
895 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
896 |
SET character_set_client = @saved_cs_client; |
|
897 |
||
898 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
899 |
INSERT DELAYED IGNORE INTO `t1` VALUES (1),(2),(3),(4),(5),(6); |
|
900 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
901 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
902 |
||
903 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
904 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
905 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
906 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
907 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
908 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
909 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
910 |
||
911 |
DROP TABLE t1; |
|
912 |
# |
|
913 |
# Bug #10286: mysqldump -c crashes on table that has many fields with long |
|
914 |
# names |
|
915 |
# |
|
916 |
create table t1 ( |
|
917 |
F_c4ca4238a0b923820dcc509a6f75849b int, |
|
918 |
F_c81e728d9d4c2f636f067f89cc14862c int, |
|
919 |
F_eccbc87e4b5ce2fe28308fd9f2a7baf3 int, |
|
920 |
F_a87ff679a2f3e71d9181a67b7542122c int, |
|
921 |
F_e4da3b7fbbce2345d7772b0674a318d5 int, |
|
922 |
F_1679091c5a880faf6fb5e6087eb1b2dc int, |
|
923 |
F_8f14e45fceea167a5a36dedd4bea2543 int, |
|
924 |
F_c9f0f895fb98ab9159f51fd0297e236d int, |
|
925 |
F_45c48cce2e2d7fbdea1afc51c7c6ad26 int, |
|
926 |
F_d3d9446802a44259755d38e6d163e820 int, |
|
927 |
F_6512bd43d9caa6e02c990b0a82652dca int, |
|
928 |
F_c20ad4d76fe97759aa27a0c99bff6710 int, |
|
929 |
F_c51ce410c124a10e0db5e4b97fc2af39 int, |
|
930 |
F_aab3238922bcc25a6f606eb525ffdc56 int, |
|
931 |
F_9bf31c7ff062936a96d3c8bd1f8f2ff3 int, |
|
932 |
F_c74d97b01eae257e44aa9d5bade97baf int, |
|
933 |
F_70efdf2ec9b086079795c442636b55fb int, |
|
934 |
F_6f4922f45568161a8cdf4ad2299f6d23 int, |
|
935 |
F_1f0e3dad99908345f7439f8ffabdffc4 int, |
|
936 |
F_98f13708210194c475687be6106a3b84 int, |
|
937 |
F_3c59dc048e8850243be8079a5c74d079 int, |
|
938 |
F_b6d767d2f8ed5d21a44b0e5886680cb9 int, |
|
939 |
F_37693cfc748049e45d87b8c7d8b9aacd int, |
|
940 |
F_1ff1de774005f8da13f42943881c655f int, |
|
941 |
F_8e296a067a37563370ded05f5a3bf3ec int, |
|
942 |
F_4e732ced3463d06de0ca9a15b6153677 int, |
|
943 |
F_02e74f10e0327ad868d138f2b4fdd6f0 int, |
|
944 |
F_33e75ff09dd601bbe69f351039152189 int, |
|
945 |
F_6ea9ab1baa0efb9e19094440c317e21b int, |
|
946 |
F_34173cb38f07f89ddbebc2ac9128303f int, |
|
947 |
F_c16a5320fa475530d9583c34fd356ef5 int, |
|
948 |
F_6364d3f0f495b6ab9dcf8d3b5c6e0b01 int, |
|
949 |
F_182be0c5cdcd5072bb1864cdee4d3d6e int, |
|
950 |
F_e369853df766fa44e1ed0ff613f563bd int, |
|
951 |
F_1c383cd30b7c298ab50293adfecb7b18 int, |
|
952 |
F_19ca14e7ea6328a42e0eb13d585e4c22 int, |
|
953 |
F_a5bfc9e07964f8dddeb95fc584cd965d int, |
|
954 |
F_a5771bce93e200c36f7cd9dfd0e5deaa int, |
|
955 |
F_d67d8ab4f4c10bf22aa353e27879133c int, |
|
956 |
F_d645920e395fedad7bbbed0eca3fe2e0 int, |
|
957 |
F_3416a75f4cea9109507cacd8e2f2aefc int, |
|
958 |
F_a1d0c6e83f027327d8461063f4ac58a6 int, |
|
959 |
F_17e62166fc8586dfa4d1bc0e1742c08b int, |
|
960 |
F_f7177163c833dff4b38fc8d2872f1ec6 int, |
|
961 |
F_6c8349cc7260ae62e3b1396831a8398f int, |
|
962 |
F_d9d4f495e875a2e075a1a4a6e1b9770f int, |
|
963 |
F_67c6a1e7ce56d3d6fa748ab6d9af3fd7 int, |
|
964 |
F_642e92efb79421734881b53e1e1b18b6 int, |
|
965 |
F_f457c545a9ded88f18ecee47145a72c0 int, |
|
966 |
F_c0c7c76d30bd3dcaefc96f40275bdc0a int, |
|
967 |
F_2838023a778dfaecdc212708f721b788 int, |
|
968 |
F_9a1158154dfa42caddbd0694a4e9bdc8 int, |
|
969 |
F_d82c8d1619ad8176d665453cfb2e55f0 int, |
|
970 |
F_a684eceee76fc522773286a895bc8436 int, |
|
971 |
F_b53b3a3d6ab90ce0268229151c9bde11 int, |
|
972 |
F_9f61408e3afb633e50cdf1b20de6f466 int, |
|
973 |
F_72b32a1f754ba1c09b3695e0cb6cde7f int, |
|
974 |
F_66f041e16a60928b05a7e228a89c3799 int, |
|
975 |
F_093f65e080a295f8076b1c5722a46aa2 int, |
|
976 |
F_072b030ba126b2f4b2374f342be9ed44 int, |
|
977 |
F_7f39f8317fbdb1988ef4c628eba02591 int, |
|
978 |
F_44f683a84163b3523afe57c2e008bc8c int, |
|
979 |
F_03afdbd66e7929b125f8597834fa83a4 int, |
|
980 |
F_ea5d2f1c4608232e07d3aa3d998e5135 int, |
|
981 |
F_fc490ca45c00b1249bbe3554a4fdf6fb int, |
|
982 |
F_3295c76acbf4caaed33c36b1b5fc2cb1 int, |
|
983 |
F_735b90b4568125ed6c3f678819b6e058 int, |
|
984 |
F_a3f390d88e4c41f2747bfa2f1b5f87db int, |
|
985 |
F_14bfa6bb14875e45bba028a21ed38046 int, |
|
986 |
F_7cbbc409ec990f19c78c75bd1e06f215 int, |
|
987 |
F_e2c420d928d4bf8ce0ff2ec19b371514 int, |
|
988 |
F_32bb90e8976aab5298d5da10fe66f21d int, |
|
989 |
F_d2ddea18f00665ce8623e36bd4e3c7c5 int, |
|
990 |
F_ad61ab143223efbc24c7d2583be69251 int, |
|
991 |
F_d09bf41544a3365a46c9077ebb5e35c3 int, |
|
992 |
F_fbd7939d674997cdb4692d34de8633c4 int, |
|
993 |
F_28dd2c7955ce926456240b2ff0100bde int, |
|
994 |
F_35f4a8d465e6e1edc05f3d8ab658c551 int, |
|
995 |
F_d1fe173d08e959397adf34b1d77e88d7 int, |
|
996 |
F_f033ab37c30201f73f142449d037028d int, |
|
997 |
F_43ec517d68b6edd3015b3edc9a11367b int, |
|
998 |
F_9778d5d219c5080b9a6a17bef029331c int, |
|
999 |
F_fe9fc289c3ff0af142b6d3bead98a923 int, |
|
1000 |
F_68d30a9594728bc39aa24be94b319d21 int, |
|
1001 |
F_3ef815416f775098fe977004015c6193 int, |
|
1002 |
F_93db85ed909c13838ff95ccfa94cebd9 int, |
|
1003 |
F_c7e1249ffc03eb9ded908c236bd1996d int, |
|
1004 |
F_2a38a4a9316c49e5a833517c45d31070 int, |
|
1005 |
F_7647966b7343c29048673252e490f736 int, |
|
1006 |
F_8613985ec49eb8f757ae6439e879bb2a int, |
|
1007 |
F_54229abfcfa5649e7003b83dd4755294 int, |
|
1008 |
F_92cc227532d17e56e07902b254dfad10 int, |
|
1009 |
F_98dce83da57b0395e163467c9dae521b int, |
|
1010 |
F_f4b9ec30ad9f68f89b29639786cb62ef int, |
|
1011 |
F_812b4ba287f5ee0bc9d43bbf5bbe87fb int, |
|
1012 |
F_26657d5ff9020d2abefe558796b99584 int, |
|
1013 |
F_e2ef524fbf3d9fe611d5a8e90fefdc9c int, |
|
1014 |
F_ed3d2c21991e3bef5e069713af9fa6ca int, |
|
1015 |
F_ac627ab1ccbdb62ec96e702f07f6425b int, |
|
1016 |
F_f899139df5e1059396431415e770c6dd int, |
|
1017 |
F_38b3eff8baf56627478ec76a704e9b52 int, |
|
1018 |
F_ec8956637a99787bd197eacd77acce5e int, |
|
1019 |
F_6974ce5ac660610b44d9b9fed0ff9548 int, |
|
1020 |
F_c9e1074f5b3f9fc8ea15d152add07294 int, |
|
1021 |
F_65b9eea6e1cc6bb9f0cd2a47751a186f int, |
|
1022 |
F_f0935e4cd5920aa6c7c996a5ee53a70f int, |
|
1023 |
F_a97da629b098b75c294dffdc3e463904 int, |
|
1024 |
F_a3c65c2974270fd093ee8a9bf8ae7d0b int, |
|
1025 |
F_2723d092b63885e0d7c260cc007e8b9d int, |
|
1026 |
F_5f93f983524def3dca464469d2cf9f3e int, |
|
1027 |
F_698d51a19d8a121ce581499d7b701668 int, |
|
1028 |
F_7f6ffaa6bb0b408017b62254211691b5 int, |
|
1029 |
F_73278a4a86960eeb576a8fd4c9ec6997 int, |
|
1030 |
F_5fd0b37cd7dbbb00f97ba6ce92bf5add int, |
|
1031 |
F_2b44928ae11fb9384c4cf38708677c48 int, |
|
1032 |
F_c45147dee729311ef5b5c3003946c48f int, |
|
1033 |
F_eb160de1de89d9058fcb0b968dbbbd68 int, |
|
1034 |
F_5ef059938ba799aaa845e1c2e8a762bd int, |
|
1035 |
F_07e1cd7dca89a1678042477183b7ac3f int, |
|
1036 |
F_da4fb5c6e93e74d3df8527599fa62642 int, |
|
1037 |
F_4c56ff4ce4aaf9573aa5dff913df997a int, |
|
1038 |
F_a0a080f42e6f13b3a2df133f073095dd int, |
|
1039 |
F_202cb962ac59075b964b07152d234b70 int, |
|
1040 |
F_c8ffe9a587b126f152ed3d89a146b445 int, |
|
1041 |
F_3def184ad8f4755ff269862ea77393dd int, |
|
1042 |
F_069059b7ef840f0c74a814ec9237b6ec int, |
|
1043 |
F_ec5decca5ed3d6b8079e2e7e7bacc9f2 int, |
|
1044 |
F_76dc611d6ebaafc66cc0879c71b5db5c int, |
|
1045 |
F_d1f491a404d6854880943e5c3cd9ca25 int, |
|
1046 |
F_9b8619251a19057cff70779273e95aa6 int, |
|
1047 |
F_1afa34a7f984eeabdbb0a7d494132ee5 int, |
|
1048 |
F_65ded5353c5ee48d0b7d48c591b8f430 int, |
|
1049 |
F_9fc3d7152ba9336a670e36d0ed79bc43 int, |
|
1050 |
F_02522a2b2726fb0a03bb19f2d8d9524d int, |
|
1051 |
F_7f1de29e6da19d22b51c68001e7e0e54 int, |
|
1052 |
F_42a0e188f5033bc65bf8d78622277c4e int, |
|
1053 |
F_3988c7f88ebcb58c6ce932b957b6f332 int, |
|
1054 |
F_013d407166ec4fa56eb1e1f8cbe183b9 int, |
|
1055 |
F_e00da03b685a0dd18fb6a08af0923de0 int, |
|
1056 |
F_1385974ed5904a438616ff7bdb3f7439 int, |
|
1057 |
F_0f28b5d49b3020afeecd95b4009adf4c int, |
|
1058 |
F_a8baa56554f96369ab93e4f3bb068c22 int, |
|
1059 |
F_903ce9225fca3e988c2af215d4e544d3 int, |
|
1060 |
F_0a09c8844ba8f0936c20bd791130d6b6 int, |
|
1061 |
F_2b24d495052a8ce66358eb576b8912c8 int, |
|
1062 |
F_a5e00132373a7031000fd987a3c9f87b int, |
|
1063 |
F_8d5e957f297893487bd98fa830fa6413 int, |
|
1064 |
F_47d1e990583c9c67424d369f3414728e int, |
|
1065 |
F_f2217062e9a397a1dca429e7d70bc6ca int, |
|
1066 |
F_7ef605fc8dba5425d6965fbd4c8fbe1f int, |
|
1067 |
F_a8f15eda80c50adb0e71943adc8015cf int, |
|
1068 |
F_37a749d808e46495a8da1e5352d03cae int, |
|
1069 |
F_b3e3e393c77e35a4a3f3cbd1e429b5dc int, |
|
1070 |
F_1d7f7abc18fcb43975065399b0d1e48e int, |
|
1071 |
F_2a79ea27c279e471f4d180b08d62b00a int, |
|
1072 |
F_1c9ac0159c94d8d0cbedc973445af2da int, |
|
1073 |
F_6c4b761a28b734fe93831e3fb400ce87 int, |
|
1074 |
F_06409663226af2f3114485aa4e0a23b4 int, |
|
1075 |
F_140f6969d5213fd0ece03148e62e461e int, |
|
1076 |
F_b73ce398c39f506af761d2277d853a92 int, |
|
1077 |
F_bd4c9ab730f5513206b999ec0d90d1fb int, |
|
1078 |
F_82aa4b0af34c2313a562076992e50aa3 int, |
|
1079 |
F_0777d5c17d4066b82ab86dff8a46af6f int, |
|
1080 |
F_fa7cdfad1a5aaf8370ebeda47a1ff1c3 int, |
|
1081 |
F_9766527f2b5d3e95d4a733fcfb77bd7e int, |
|
1082 |
F_7e7757b1e12abcb736ab9a754ffb617a int, |
|
1083 |
F_5878a7ab84fb43402106c575658472fa int, |
|
1084 |
F_006f52e9102a8d3be2fe5614f42ba989 int, |
|
1085 |
F_3636638817772e42b59d74cff571fbb3 int, |
|
1086 |
F_149e9677a5989fd342ae44213df68868 int, |
|
1087 |
F_a4a042cf4fd6bfb47701cbc8a1653ada int, |
|
1088 |
F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e int, |
|
1089 |
F_f7e6c85504ce6e82442c770f7c8606f0 int, |
|
1090 |
F_bf8229696f7a3bb4700cfddef19fa23f int, |
|
1091 |
F_82161242827b703e6acf9c726942a1e4 int, |
|
1092 |
F_38af86134b65d0f10fe33d30dd76442e int, |
|
1093 |
F_96da2f590cd7246bbde0051047b0d6f7 int, |
|
1094 |
F_8f85517967795eeef66c225f7883bdcb int, |
|
1095 |
F_8f53295a73878494e9bc8dd6c3c7104f int, |
|
1096 |
F_045117b0e0a11a242b9765e79cbf113f int, |
|
1097 |
F_fc221309746013ac554571fbd180e1c8 int, |
|
1098 |
F_4c5bde74a8f110656874902f07378009 int, |
|
1099 |
F_cedebb6e872f539bef8c3f919874e9d7 int, |
|
1100 |
F_6cdd60ea0045eb7a6ec44c54d29ed402 int, |
|
1101 |
F_eecca5b6365d9607ee5a9d336962c534 int, |
|
1102 |
F_9872ed9fc22fc182d371c3e9ed316094 int, |
|
1103 |
F_31fefc0e570cb3860f2a6d4b38c6490d int, |
|
1104 |
F_9dcb88e0137649590b755372b040afad int, |
|
1105 |
F_a2557a7b2e94197ff767970b67041697 int, |
|
1106 |
F_cfecdb276f634854f3ef915e2e980c31 int, |
|
1107 |
F_0aa1883c6411f7873cb83dacb17b0afc int, |
|
1108 |
F_58a2fc6ed39fd083f55d4182bf88826d int, |
|
1109 |
F_bd686fd640be98efaae0091fa301e613 int, |
|
1110 |
F_a597e50502f5ff68e3e25b9114205d4a int, |
|
1111 |
F_0336dcbab05b9d5ad24f4333c7658a0e int, |
|
1112 |
F_084b6fbb10729ed4da8c3d3f5a3ae7c9 int, |
|
1113 |
F_85d8ce590ad8981ca2c8286f79f59954 int, |
|
1114 |
F_0e65972dce68dad4d52d063967f0a705 int, |
|
1115 |
F_84d9ee44e457ddef7f2c4f25dc8fa865 int, |
|
1116 |
F_3644a684f98ea8fe223c713b77189a77 int, |
|
1117 |
F_757b505cfd34c64c85ca5b5690ee5293 int, |
|
1118 |
F_854d6fae5ee42911677c739ee1734486 int, |
|
1119 |
F_e2c0be24560d78c5e599c2a9c9d0bbd2 int, |
|
1120 |
F_274ad4786c3abca69fa097b85867d9a4 int, |
|
1121 |
F_eae27d77ca20db309e056e3d2dcd7d69 int, |
|
1122 |
F_7eabe3a1649ffa2b3ff8c02ebfd5659f int, |
|
1123 |
F_69adc1e107f7f7d035d7baf04342e1ca int, |
|
1124 |
F_091d584fced301b442654dd8c23b3fc9 int, |
|
1125 |
F_b1d10e7bafa4421218a51b1e1f1b0ba2 int, |
|
1126 |
F_6f3ef77ac0e3619e98159e9b6febf557 int, |
|
1127 |
F_eb163727917cbba1eea208541a643e74 int, |
|
1128 |
F_1534b76d325a8f591b52d302e7181331 int, |
|
1129 |
F_979d472a84804b9f647bc185a877a8b5 int, |
|
1130 |
F_ca46c1b9512a7a8315fa3c5a946e8265 int, |
|
1131 |
F_3b8a614226a953a8cd9526fca6fe9ba5 int, |
|
1132 |
F_45fbc6d3e05ebd93369ce542e8f2322d int, |
|
1133 |
F_63dc7ed1010d3c3b8269faf0ba7491d4 int, |
|
1134 |
F_e96ed478dab8595a7dbda4cbcbee168f int, |
|
1135 |
F_c0e190d8267e36708f955d7ab048990d int, |
|
1136 |
F_ec8ce6abb3e952a85b8551ba726a1227 int, |
|
1137 |
F_060ad92489947d410d897474079c1477 int, |
|
1138 |
F_bcbe3365e6ac95ea2c0343a2395834dd int, |
|
1139 |
F_115f89503138416a242f40fb7d7f338e int, |
|
1140 |
F_13fe9d84310e77f13a6d184dbf1232f3 int, |
|
1141 |
F_d1c38a09acc34845c6be3a127a5aacaf int, |
|
1142 |
F_9cfdf10e8fc047a44b08ed031e1f0ed1 int, |
|
1143 |
F_705f2172834666788607efbfca35afb3 int, |
|
1144 |
F_74db120f0a8e5646ef5a30154e9f6deb int, |
|
1145 |
F_57aeee35c98205091e18d1140e9f38cf int, |
|
1146 |
F_6da9003b743b65f4c0ccd295cc484e57 int, |
|
1147 |
F_9b04d152845ec0a378394003c96da594 int, |
|
1148 |
F_be83ab3ecd0db773eb2dc1b0a17836a1 int, |
|
1149 |
F_e165421110ba03099a1c0393373c5b43 int, |
|
1150 |
F_289dff07669d7a23de0ef88d2f7129e7 int, |
|
1151 |
F_577ef1154f3240ad5b9b413aa7346a1e int, |
|
1152 |
F_01161aaa0b6d1345dd8fe4e481144d84 int, |
|
1153 |
F_539fd53b59e3bb12d203f45a912eeaf2 int, |
|
1154 |
F_ac1dd209cbcc5e5d1c6e28598e8cbbe8 int, |
|
1155 |
F_555d6702c950ecb729a966504af0a635 int, |
|
1156 |
F_335f5352088d7d9bf74191e006d8e24c int, |
|
1157 |
F_f340f1b1f65b6df5b5e3f94d95b11daf int, |
|
1158 |
F_e4a6222cdb5b34375400904f03d8e6a5 int, |
|
1159 |
F_cb70ab375662576bd1ac5aaf16b3fca4 int, |
|
1160 |
F_9188905e74c28e489b44e954ec0b9bca int, |
|
1161 |
F_0266e33d3f546cb5436a10798e657d97 int, |
|
1162 |
F_38db3aed920cf82ab059bfccbd02be6a int, |
|
1163 |
F_3cec07e9ba5f5bb252d13f5f431e4bbb int, |
|
1164 |
F_621bf66ddb7c962aa0d22ac97d69b793 int, |
|
1165 |
F_077e29b11be80ab57e1a2ecabb7da330 int, |
|
1166 |
F_6c9882bbac1c7093bd25041881277658 int, |
|
1167 |
F_19f3cd308f1455b3fa09a282e0d496f4 int, |
|
1168 |
F_03c6b06952c750899bb03d998e631860 int, |
|
1169 |
F_c24cd76e1ce41366a4bbe8a49b02a028 int, |
|
1170 |
F_c52f1bd66cc19d05628bd8bf27af3ad6 int, |
|
1171 |
F_fe131d7f5a6b38b23cc967316c13dae2 int, |
|
1172 |
F_f718499c1c8cef6730f9fd03c8125cab int, |
|
1173 |
F_d96409bf894217686ba124d7356686c9 int, |
|
1174 |
F_502e4a16930e414107ee22b6198c578f int, |
|
1175 |
F_cfa0860e83a4c3a763a7e62d825349f7 int, |
|
1176 |
F_a4f23670e1833f3fdb077ca70bbd5d66 int, |
|
1177 |
F_b1a59b315fc9a3002ce38bbe070ec3f5 int, |
|
1178 |
F_36660e59856b4de58a219bcf4e27eba3 int, |
|
1179 |
F_8c19f571e251e61cb8dd3612f26d5ecf int, |
|
1180 |
F_d6baf65e0b240ce177cf70da146c8dc8 int, |
|
1181 |
F_e56954b4f6347e897f954495eab16a88 int, |
|
1182 |
F_f7664060cc52bc6f3d620bcedc94a4b6 int, |
|
1183 |
F_eda80a3d5b344bc40f3bc04f65b7a357 int, |
|
1184 |
F_8f121ce07d74717e0b1f21d122e04521 int, |
|
1185 |
F_06138bc5af6023646ede0e1f7c1eac75 int, |
|
1186 |
F_39059724f73a9969845dfe4146c5660e int, |
|
1187 |
F_7f100b7b36092fb9b06dfb4fac360931 int, |
|
1188 |
F_7a614fd06c325499f1680b9896beedeb int, |
|
1189 |
F_4734ba6f3de83d861c3176a6273cac6d int, |
|
1190 |
F_d947bf06a885db0d477d707121934ff8 int, |
|
1191 |
F_63923f49e5241343aa7acb6a06a751e7 int, |
|
1192 |
F_db8e1af0cb3aca1ae2d0018624204529 int, |
|
1193 |
F_20f07591c6fcb220ffe637cda29bb3f6 int, |
|
1194 |
F_07cdfd23373b17c6b337251c22b7ea57 int, |
|
1195 |
F_d395771085aab05244a4fb8fd91bf4ee int, |
|
1196 |
F_92c8c96e4c37100777c7190b76d28233 int, |
|
1197 |
F_e3796ae838835da0b6f6ea37bcf8bcb7 int, |
|
1198 |
F_6a9aeddfc689c1d0e3b9ccc3ab651bc5 int, |
|
1199 |
F_0f49c89d1e7298bb9930789c8ed59d48 int, |
|
1200 |
F_46ba9f2a6976570b0353203ec4474217 int, |
|
1201 |
F_0e01938fc48a2cfb5f2217fbfb00722d int, |
|
1202 |
F_16a5cdae362b8d27a1d8f8c7b78b4330 int, |
|
1203 |
F_918317b57931b6b7a7d29490fe5ec9f9 int, |
|
1204 |
F_48aedb8880cab8c45637abc7493ecddd int, |
|
1205 |
F_839ab46820b524afda05122893c2fe8e int, |
|
1206 |
F_f90f2aca5c640289d0a29417bcb63a37 int, |
|
1207 |
F_9c838d2e45b2ad1094d42f4ef36764f6 int, |
|
1208 |
F_1700002963a49da13542e0726b7bb758 int, |
|
1209 |
F_53c3bce66e43be4f209556518c2fcb54 int, |
|
1210 |
F_6883966fd8f918a4aa29be29d2c386fb int, |
|
1211 |
F_49182f81e6a13cf5eaa496d51fea6406 int, |
|
1212 |
F_d296c101daa88a51f6ca8cfc1ac79b50 int, |
|
1213 |
F_9fd81843ad7f202f26c1a174c7357585 int, |
|
1214 |
F_26e359e83860db1d11b6acca57d8ea88 int, |
|
1215 |
F_ef0d3930a7b6c95bd2b32ed45989c61f int, |
|
1216 |
F_94f6d7e04a4d452035300f18b984988c int, |
|
1217 |
F_34ed066df378efacc9b924ec161e7639 int, |
|
1218 |
F_577bcc914f9e55d5e4e4f82f9f00e7d4 int, |
|
1219 |
F_11b9842e0a271ff252c1903e7132cd68 int, |
|
1220 |
F_37bc2f75bf1bcfe8450a1a41c200364c int, |
|
1221 |
F_496e05e1aea0a9c4655800e8a7b9ea28 int, |
|
1222 |
F_b2eb7349035754953b57a32e2841bda5 int, |
|
1223 |
F_8e98d81f8217304975ccb23337bb5761 int, |
|
1224 |
F_a8c88a0055f636e4a163a5e3d16adab7 int, |
|
1225 |
F_eddea82ad2755b24c4e168c5fc2ebd40 int, |
|
1226 |
F_06eb61b839a0cefee4967c67ccb099dc int, |
|
1227 |
F_9dfcd5e558dfa04aaf37f137a1d9d3e5 int, |
|
1228 |
F_950a4152c2b4aa3ad78bdd6b366cc179 int, |
|
1229 |
F_158f3069a435b314a80bdcb024f8e422 int, |
|
1230 |
F_758874998f5bd0c393da094e1967a72b int, |
|
1231 |
F_ad13a2a07ca4b7642959dc0c4c740ab6 int, |
|
1232 |
F_3fe94a002317b5f9259f82690aeea4cd int, |
|
1233 |
F_5b8add2a5d98b1a652ea7fd72d942dac int, |
|
1234 |
F_432aca3a1e345e339f35a30c8f65edce int, |
|
1235 |
F_8d3bba7425e7c98c50f52ca1b52d3735 int, |
|
1236 |
F_320722549d1751cf3f247855f937b982 int, |
|
1237 |
F_caf1a3dfb505ffed0d024130f58c5cfa int, |
|
1238 |
F_5737c6ec2e0716f3d8a7a5c4e0de0d9a int, |
|
1239 |
F_bc6dc48b743dc5d013b1abaebd2faed2 int, |
|
1240 |
F_f2fc990265c712c49d51a18a32b39f0c int, |
|
1241 |
F_89f0fd5c927d466d6ec9a21b9ac34ffa int, |
|
1242 |
F_a666587afda6e89aec274a3657558a27 int, |
|
1243 |
F_b83aac23b9528732c23cc7352950e880 int, |
|
1244 |
F_cd00692c3bfe59267d5ecfac5310286c int, |
|
1245 |
F_6faa8040da20ef399b63a72d0e4ab575 int, |
|
1246 |
F_fe73f687e5bc5280214e0486b273a5f9 int); |
|
1247 |
insert into t1 (F_8d3bba7425e7c98c50f52ca1b52d3735) values (1); |
|
1248 |
||
1249 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
1250 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
1251 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
1252 |
/*!40101 SET NAMES utf8 */; |
|
1253 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
1254 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
1255 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
1256 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
1257 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
1258 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
1259 |
||
1260 |
-- |
|
1261 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1262 |
-- |
|
1263 |
DROP TABLE IF EXISTS `t1`; |
|
1264 |
SET @saved_cs_client = @@character_set_client; |
|
1265 |
SET character_set_client = utf8; |
|
1266 |
CREATE TABLE `t1` ( |
|
1267 |
`F_c4ca4238a0b923820dcc509a6f75849b` int(11) DEFAULT NULL, |
|
1268 |
`F_c81e728d9d4c2f636f067f89cc14862c` int(11) DEFAULT NULL, |
|
1269 |
`F_eccbc87e4b5ce2fe28308fd9f2a7baf3` int(11) DEFAULT NULL, |
|
1270 |
`F_a87ff679a2f3e71d9181a67b7542122c` int(11) DEFAULT NULL, |
|
1271 |
`F_e4da3b7fbbce2345d7772b0674a318d5` int(11) DEFAULT NULL, |
|
1272 |
`F_1679091c5a880faf6fb5e6087eb1b2dc` int(11) DEFAULT NULL, |
|
1273 |
`F_8f14e45fceea167a5a36dedd4bea2543` int(11) DEFAULT NULL, |
|
1274 |
`F_c9f0f895fb98ab9159f51fd0297e236d` int(11) DEFAULT NULL, |
|
1275 |
`F_45c48cce2e2d7fbdea1afc51c7c6ad26` int(11) DEFAULT NULL, |
|
1276 |
`F_d3d9446802a44259755d38e6d163e820` int(11) DEFAULT NULL, |
|
1277 |
`F_6512bd43d9caa6e02c990b0a82652dca` int(11) DEFAULT NULL, |
|
1278 |
`F_c20ad4d76fe97759aa27a0c99bff6710` int(11) DEFAULT NULL, |
|
1279 |
`F_c51ce410c124a10e0db5e4b97fc2af39` int(11) DEFAULT NULL, |
|
1280 |
`F_aab3238922bcc25a6f606eb525ffdc56` int(11) DEFAULT NULL, |
|
1281 |
`F_9bf31c7ff062936a96d3c8bd1f8f2ff3` int(11) DEFAULT NULL, |
|
1282 |
`F_c74d97b01eae257e44aa9d5bade97baf` int(11) DEFAULT NULL, |
|
1283 |
`F_70efdf2ec9b086079795c442636b55fb` int(11) DEFAULT NULL, |
|
1284 |
`F_6f4922f45568161a8cdf4ad2299f6d23` int(11) DEFAULT NULL, |
|
1285 |
`F_1f0e3dad99908345f7439f8ffabdffc4` int(11) DEFAULT NULL, |
|
1286 |
`F_98f13708210194c475687be6106a3b84` int(11) DEFAULT NULL, |
|
1287 |
`F_3c59dc048e8850243be8079a5c74d079` int(11) DEFAULT NULL, |
|
1288 |
`F_b6d767d2f8ed5d21a44b0e5886680cb9` int(11) DEFAULT NULL, |
|
1289 |
`F_37693cfc748049e45d87b8c7d8b9aacd` int(11) DEFAULT NULL, |
|
1290 |
`F_1ff1de774005f8da13f42943881c655f` int(11) DEFAULT NULL, |
|
1291 |
`F_8e296a067a37563370ded05f5a3bf3ec` int(11) DEFAULT NULL, |
|
1292 |
`F_4e732ced3463d06de0ca9a15b6153677` int(11) DEFAULT NULL, |
|
1293 |
`F_02e74f10e0327ad868d138f2b4fdd6f0` int(11) DEFAULT NULL, |
|
1294 |
`F_33e75ff09dd601bbe69f351039152189` int(11) DEFAULT NULL, |
|
1295 |
`F_6ea9ab1baa0efb9e19094440c317e21b` int(11) DEFAULT NULL, |
|
1296 |
`F_34173cb38f07f89ddbebc2ac9128303f` int(11) DEFAULT NULL, |
|
1297 |
`F_c16a5320fa475530d9583c34fd356ef5` int(11) DEFAULT NULL, |
|
1298 |
`F_6364d3f0f495b6ab9dcf8d3b5c6e0b01` int(11) DEFAULT NULL, |
|
1299 |
`F_182be0c5cdcd5072bb1864cdee4d3d6e` int(11) DEFAULT NULL, |
|
1300 |
`F_e369853df766fa44e1ed0ff613f563bd` int(11) DEFAULT NULL, |
|
1301 |
`F_1c383cd30b7c298ab50293adfecb7b18` int(11) DEFAULT NULL, |
|
1302 |
`F_19ca14e7ea6328a42e0eb13d585e4c22` int(11) DEFAULT NULL, |
|
1303 |
`F_a5bfc9e07964f8dddeb95fc584cd965d` int(11) DEFAULT NULL, |
|
1304 |
`F_a5771bce93e200c36f7cd9dfd0e5deaa` int(11) DEFAULT NULL, |
|
1305 |
`F_d67d8ab4f4c10bf22aa353e27879133c` int(11) DEFAULT NULL, |
|
1306 |
`F_d645920e395fedad7bbbed0eca3fe2e0` int(11) DEFAULT NULL, |
|
1307 |
`F_3416a75f4cea9109507cacd8e2f2aefc` int(11) DEFAULT NULL, |
|
1308 |
`F_a1d0c6e83f027327d8461063f4ac58a6` int(11) DEFAULT NULL, |
|
1309 |
`F_17e62166fc8586dfa4d1bc0e1742c08b` int(11) DEFAULT NULL, |
|
1310 |
`F_f7177163c833dff4b38fc8d2872f1ec6` int(11) DEFAULT NULL, |
|
1311 |
`F_6c8349cc7260ae62e3b1396831a8398f` int(11) DEFAULT NULL, |
|
1312 |
`F_d9d4f495e875a2e075a1a4a6e1b9770f` int(11) DEFAULT NULL, |
|
1313 |
`F_67c6a1e7ce56d3d6fa748ab6d9af3fd7` int(11) DEFAULT NULL, |
|
1314 |
`F_642e92efb79421734881b53e1e1b18b6` int(11) DEFAULT NULL, |
|
1315 |
`F_f457c545a9ded88f18ecee47145a72c0` int(11) DEFAULT NULL, |
|
1316 |
`F_c0c7c76d30bd3dcaefc96f40275bdc0a` int(11) DEFAULT NULL, |
|
1317 |
`F_2838023a778dfaecdc212708f721b788` int(11) DEFAULT NULL, |
|
1318 |
`F_9a1158154dfa42caddbd0694a4e9bdc8` int(11) DEFAULT NULL, |
|
1319 |
`F_d82c8d1619ad8176d665453cfb2e55f0` int(11) DEFAULT NULL, |
|
1320 |
`F_a684eceee76fc522773286a895bc8436` int(11) DEFAULT NULL, |
|
1321 |
`F_b53b3a3d6ab90ce0268229151c9bde11` int(11) DEFAULT NULL, |
|
1322 |
`F_9f61408e3afb633e50cdf1b20de6f466` int(11) DEFAULT NULL, |
|
1323 |
`F_72b32a1f754ba1c09b3695e0cb6cde7f` int(11) DEFAULT NULL, |
|
1324 |
`F_66f041e16a60928b05a7e228a89c3799` int(11) DEFAULT NULL, |
|
1325 |
`F_093f65e080a295f8076b1c5722a46aa2` int(11) DEFAULT NULL, |
|
1326 |
`F_072b030ba126b2f4b2374f342be9ed44` int(11) DEFAULT NULL, |
|
1327 |
`F_7f39f8317fbdb1988ef4c628eba02591` int(11) DEFAULT NULL, |
|
1328 |
`F_44f683a84163b3523afe57c2e008bc8c` int(11) DEFAULT NULL, |
|
1329 |
`F_03afdbd66e7929b125f8597834fa83a4` int(11) DEFAULT NULL, |
|
1330 |
`F_ea5d2f1c4608232e07d3aa3d998e5135` int(11) DEFAULT NULL, |
|
1331 |
`F_fc490ca45c00b1249bbe3554a4fdf6fb` int(11) DEFAULT NULL, |
|
1332 |
`F_3295c76acbf4caaed33c36b1b5fc2cb1` int(11) DEFAULT NULL, |
|
1333 |
`F_735b90b4568125ed6c3f678819b6e058` int(11) DEFAULT NULL, |
|
1334 |
`F_a3f390d88e4c41f2747bfa2f1b5f87db` int(11) DEFAULT NULL, |
|
1335 |
`F_14bfa6bb14875e45bba028a21ed38046` int(11) DEFAULT NULL, |
|
1336 |
`F_7cbbc409ec990f19c78c75bd1e06f215` int(11) DEFAULT NULL, |
|
1337 |
`F_e2c420d928d4bf8ce0ff2ec19b371514` int(11) DEFAULT NULL, |
|
1338 |
`F_32bb90e8976aab5298d5da10fe66f21d` int(11) DEFAULT NULL, |
|
1339 |
`F_d2ddea18f00665ce8623e36bd4e3c7c5` int(11) DEFAULT NULL, |
|
1340 |
`F_ad61ab143223efbc24c7d2583be69251` int(11) DEFAULT NULL, |
|
1341 |
`F_d09bf41544a3365a46c9077ebb5e35c3` int(11) DEFAULT NULL, |
|
1342 |
`F_fbd7939d674997cdb4692d34de8633c4` int(11) DEFAULT NULL, |
|
1343 |
`F_28dd2c7955ce926456240b2ff0100bde` int(11) DEFAULT NULL, |
|
1344 |
`F_35f4a8d465e6e1edc05f3d8ab658c551` int(11) DEFAULT NULL, |
|
1345 |
`F_d1fe173d08e959397adf34b1d77e88d7` int(11) DEFAULT NULL, |
|
1346 |
`F_f033ab37c30201f73f142449d037028d` int(11) DEFAULT NULL, |
|
1347 |
`F_43ec517d68b6edd3015b3edc9a11367b` int(11) DEFAULT NULL, |
|
1348 |
`F_9778d5d219c5080b9a6a17bef029331c` int(11) DEFAULT NULL, |
|
1349 |
`F_fe9fc289c3ff0af142b6d3bead98a923` int(11) DEFAULT NULL, |
|
1350 |
`F_68d30a9594728bc39aa24be94b319d21` int(11) DEFAULT NULL, |
|
1351 |
`F_3ef815416f775098fe977004015c6193` int(11) DEFAULT NULL, |
|
1352 |
`F_93db85ed909c13838ff95ccfa94cebd9` int(11) DEFAULT NULL, |
|
1353 |
`F_c7e1249ffc03eb9ded908c236bd1996d` int(11) DEFAULT NULL, |
|
1354 |
`F_2a38a4a9316c49e5a833517c45d31070` int(11) DEFAULT NULL, |
|
1355 |
`F_7647966b7343c29048673252e490f736` int(11) DEFAULT NULL, |
|
1356 |
`F_8613985ec49eb8f757ae6439e879bb2a` int(11) DEFAULT NULL, |
|
1357 |
`F_54229abfcfa5649e7003b83dd4755294` int(11) DEFAULT NULL, |
|
1358 |
`F_92cc227532d17e56e07902b254dfad10` int(11) DEFAULT NULL, |
|
1359 |
`F_98dce83da57b0395e163467c9dae521b` int(11) DEFAULT NULL, |
|
1360 |
`F_f4b9ec30ad9f68f89b29639786cb62ef` int(11) DEFAULT NULL, |
|
1361 |
`F_812b4ba287f5ee0bc9d43bbf5bbe87fb` int(11) DEFAULT NULL, |
|
1362 |
`F_26657d5ff9020d2abefe558796b99584` int(11) DEFAULT NULL, |
|
1363 |
`F_e2ef524fbf3d9fe611d5a8e90fefdc9c` int(11) DEFAULT NULL, |
|
1364 |
`F_ed3d2c21991e3bef5e069713af9fa6ca` int(11) DEFAULT NULL, |
|
1365 |
`F_ac627ab1ccbdb62ec96e702f07f6425b` int(11) DEFAULT NULL, |
|
1366 |
`F_f899139df5e1059396431415e770c6dd` int(11) DEFAULT NULL, |
|
1367 |
`F_38b3eff8baf56627478ec76a704e9b52` int(11) DEFAULT NULL, |
|
1368 |
`F_ec8956637a99787bd197eacd77acce5e` int(11) DEFAULT NULL, |
|
1369 |
`F_6974ce5ac660610b44d9b9fed0ff9548` int(11) DEFAULT NULL, |
|
1370 |
`F_c9e1074f5b3f9fc8ea15d152add07294` int(11) DEFAULT NULL, |
|
1371 |
`F_65b9eea6e1cc6bb9f0cd2a47751a186f` int(11) DEFAULT NULL, |
|
1372 |
`F_f0935e4cd5920aa6c7c996a5ee53a70f` int(11) DEFAULT NULL, |
|
1373 |
`F_a97da629b098b75c294dffdc3e463904` int(11) DEFAULT NULL, |
|
1374 |
`F_a3c65c2974270fd093ee8a9bf8ae7d0b` int(11) DEFAULT NULL, |
|
1375 |
`F_2723d092b63885e0d7c260cc007e8b9d` int(11) DEFAULT NULL, |
|
1376 |
`F_5f93f983524def3dca464469d2cf9f3e` int(11) DEFAULT NULL, |
|
1377 |
`F_698d51a19d8a121ce581499d7b701668` int(11) DEFAULT NULL, |
|
1378 |
`F_7f6ffaa6bb0b408017b62254211691b5` int(11) DEFAULT NULL, |
|
1379 |
`F_73278a4a86960eeb576a8fd4c9ec6997` int(11) DEFAULT NULL, |
|
1380 |
`F_5fd0b37cd7dbbb00f97ba6ce92bf5add` int(11) DEFAULT NULL, |
|
1381 |
`F_2b44928ae11fb9384c4cf38708677c48` int(11) DEFAULT NULL, |
|
1382 |
`F_c45147dee729311ef5b5c3003946c48f` int(11) DEFAULT NULL, |
|
1383 |
`F_eb160de1de89d9058fcb0b968dbbbd68` int(11) DEFAULT NULL, |
|
1384 |
`F_5ef059938ba799aaa845e1c2e8a762bd` int(11) DEFAULT NULL, |
|
1385 |
`F_07e1cd7dca89a1678042477183b7ac3f` int(11) DEFAULT NULL, |
|
1386 |
`F_da4fb5c6e93e74d3df8527599fa62642` int(11) DEFAULT NULL, |
|
1387 |
`F_4c56ff4ce4aaf9573aa5dff913df997a` int(11) DEFAULT NULL, |
|
1388 |
`F_a0a080f42e6f13b3a2df133f073095dd` int(11) DEFAULT NULL, |
|
1389 |
`F_202cb962ac59075b964b07152d234b70` int(11) DEFAULT NULL, |
|
1390 |
`F_c8ffe9a587b126f152ed3d89a146b445` int(11) DEFAULT NULL, |
|
1391 |
`F_3def184ad8f4755ff269862ea77393dd` int(11) DEFAULT NULL, |
|
1392 |
`F_069059b7ef840f0c74a814ec9237b6ec` int(11) DEFAULT NULL, |
|
1393 |
`F_ec5decca5ed3d6b8079e2e7e7bacc9f2` int(11) DEFAULT NULL, |
|
1394 |
`F_76dc611d6ebaafc66cc0879c71b5db5c` int(11) DEFAULT NULL, |
|
1395 |
`F_d1f491a404d6854880943e5c3cd9ca25` int(11) DEFAULT NULL, |
|
1396 |
`F_9b8619251a19057cff70779273e95aa6` int(11) DEFAULT NULL, |
|
1397 |
`F_1afa34a7f984eeabdbb0a7d494132ee5` int(11) DEFAULT NULL, |
|
1398 |
`F_65ded5353c5ee48d0b7d48c591b8f430` int(11) DEFAULT NULL, |
|
1399 |
`F_9fc3d7152ba9336a670e36d0ed79bc43` int(11) DEFAULT NULL, |
|
1400 |
`F_02522a2b2726fb0a03bb19f2d8d9524d` int(11) DEFAULT NULL, |
|
1401 |
`F_7f1de29e6da19d22b51c68001e7e0e54` int(11) DEFAULT NULL, |
|
1402 |
`F_42a0e188f5033bc65bf8d78622277c4e` int(11) DEFAULT NULL, |
|
1403 |
`F_3988c7f88ebcb58c6ce932b957b6f332` int(11) DEFAULT NULL, |
|
1404 |
`F_013d407166ec4fa56eb1e1f8cbe183b9` int(11) DEFAULT NULL, |
|
1405 |
`F_e00da03b685a0dd18fb6a08af0923de0` int(11) DEFAULT NULL, |
|
1406 |
`F_1385974ed5904a438616ff7bdb3f7439` int(11) DEFAULT NULL, |
|
1407 |
`F_0f28b5d49b3020afeecd95b4009adf4c` int(11) DEFAULT NULL, |
|
1408 |
`F_a8baa56554f96369ab93e4f3bb068c22` int(11) DEFAULT NULL, |
|
1409 |
`F_903ce9225fca3e988c2af215d4e544d3` int(11) DEFAULT NULL, |
|
1410 |
`F_0a09c8844ba8f0936c20bd791130d6b6` int(11) DEFAULT NULL, |
|
1411 |
`F_2b24d495052a8ce66358eb576b8912c8` int(11) DEFAULT NULL, |
|
1412 |
`F_a5e00132373a7031000fd987a3c9f87b` int(11) DEFAULT NULL, |
|
1413 |
`F_8d5e957f297893487bd98fa830fa6413` int(11) DEFAULT NULL, |
|
1414 |
`F_47d1e990583c9c67424d369f3414728e` int(11) DEFAULT NULL, |
|
1415 |
`F_f2217062e9a397a1dca429e7d70bc6ca` int(11) DEFAULT NULL, |
|
1416 |
`F_7ef605fc8dba5425d6965fbd4c8fbe1f` int(11) DEFAULT NULL, |
|
1417 |
`F_a8f15eda80c50adb0e71943adc8015cf` int(11) DEFAULT NULL, |
|
1418 |
`F_37a749d808e46495a8da1e5352d03cae` int(11) DEFAULT NULL, |
|
1419 |
`F_b3e3e393c77e35a4a3f3cbd1e429b5dc` int(11) DEFAULT NULL, |
|
1420 |
`F_1d7f7abc18fcb43975065399b0d1e48e` int(11) DEFAULT NULL, |
|
1421 |
`F_2a79ea27c279e471f4d180b08d62b00a` int(11) DEFAULT NULL, |
|
1422 |
`F_1c9ac0159c94d8d0cbedc973445af2da` int(11) DEFAULT NULL, |
|
1423 |
`F_6c4b761a28b734fe93831e3fb400ce87` int(11) DEFAULT NULL, |
|
1424 |
`F_06409663226af2f3114485aa4e0a23b4` int(11) DEFAULT NULL, |
|
1425 |
`F_140f6969d5213fd0ece03148e62e461e` int(11) DEFAULT NULL, |
|
1426 |
`F_b73ce398c39f506af761d2277d853a92` int(11) DEFAULT NULL, |
|
1427 |
`F_bd4c9ab730f5513206b999ec0d90d1fb` int(11) DEFAULT NULL, |
|
1428 |
`F_82aa4b0af34c2313a562076992e50aa3` int(11) DEFAULT NULL, |
|
1429 |
`F_0777d5c17d4066b82ab86dff8a46af6f` int(11) DEFAULT NULL, |
|
1430 |
`F_fa7cdfad1a5aaf8370ebeda47a1ff1c3` int(11) DEFAULT NULL, |
|
1431 |
`F_9766527f2b5d3e95d4a733fcfb77bd7e` int(11) DEFAULT NULL, |
|
1432 |
`F_7e7757b1e12abcb736ab9a754ffb617a` int(11) DEFAULT NULL, |
|
1433 |
`F_5878a7ab84fb43402106c575658472fa` int(11) DEFAULT NULL, |
|
1434 |
`F_006f52e9102a8d3be2fe5614f42ba989` int(11) DEFAULT NULL, |
|
1435 |
`F_3636638817772e42b59d74cff571fbb3` int(11) DEFAULT NULL, |
|
1436 |
`F_149e9677a5989fd342ae44213df68868` int(11) DEFAULT NULL, |
|
1437 |
`F_a4a042cf4fd6bfb47701cbc8a1653ada` int(11) DEFAULT NULL, |
|
1438 |
`F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e` int(11) DEFAULT NULL, |
|
1439 |
`F_f7e6c85504ce6e82442c770f7c8606f0` int(11) DEFAULT NULL, |
|
1440 |
`F_bf8229696f7a3bb4700cfddef19fa23f` int(11) DEFAULT NULL, |
|
1441 |
`F_82161242827b703e6acf9c726942a1e4` int(11) DEFAULT NULL, |
|
1442 |
`F_38af86134b65d0f10fe33d30dd76442e` int(11) DEFAULT NULL, |
|
1443 |
`F_96da2f590cd7246bbde0051047b0d6f7` int(11) DEFAULT NULL, |
|
1444 |
`F_8f85517967795eeef66c225f7883bdcb` int(11) DEFAULT NULL, |
|
1445 |
`F_8f53295a73878494e9bc8dd6c3c7104f` int(11) DEFAULT NULL, |
|
1446 |
`F_045117b0e0a11a242b9765e79cbf113f` int(11) DEFAULT NULL, |
|
1447 |
`F_fc221309746013ac554571fbd180e1c8` int(11) DEFAULT NULL, |
|
1448 |
`F_4c5bde74a8f110656874902f07378009` int(11) DEFAULT NULL, |
|
1449 |
`F_cedebb6e872f539bef8c3f919874e9d7` int(11) DEFAULT NULL, |
|
1450 |
`F_6cdd60ea0045eb7a6ec44c54d29ed402` int(11) DEFAULT NULL, |
|
1451 |
`F_eecca5b6365d9607ee5a9d336962c534` int(11) DEFAULT NULL, |
|
1452 |
`F_9872ed9fc22fc182d371c3e9ed316094` int(11) DEFAULT NULL, |
|
1453 |
`F_31fefc0e570cb3860f2a6d4b38c6490d` int(11) DEFAULT NULL, |
|
1454 |
`F_9dcb88e0137649590b755372b040afad` int(11) DEFAULT NULL, |
|
1455 |
`F_a2557a7b2e94197ff767970b67041697` int(11) DEFAULT NULL, |
|
1456 |
`F_cfecdb276f634854f3ef915e2e980c31` int(11) DEFAULT NULL, |
|
1457 |
`F_0aa1883c6411f7873cb83dacb17b0afc` int(11) DEFAULT NULL, |
|
1458 |
`F_58a2fc6ed39fd083f55d4182bf88826d` int(11) DEFAULT NULL, |
|
1459 |
`F_bd686fd640be98efaae0091fa301e613` int(11) DEFAULT NULL, |
|
1460 |
`F_a597e50502f5ff68e3e25b9114205d4a` int(11) DEFAULT NULL, |
|
1461 |
`F_0336dcbab05b9d5ad24f4333c7658a0e` int(11) DEFAULT NULL, |
|
1462 |
`F_084b6fbb10729ed4da8c3d3f5a3ae7c9` int(11) DEFAULT NULL, |
|
1463 |
`F_85d8ce590ad8981ca2c8286f79f59954` int(11) DEFAULT NULL, |
|
1464 |
`F_0e65972dce68dad4d52d063967f0a705` int(11) DEFAULT NULL, |
|
1465 |
`F_84d9ee44e457ddef7f2c4f25dc8fa865` int(11) DEFAULT NULL, |
|
1466 |
`F_3644a684f98ea8fe223c713b77189a77` int(11) DEFAULT NULL, |
|
1467 |
`F_757b505cfd34c64c85ca5b5690ee5293` int(11) DEFAULT NULL, |
|
1468 |
`F_854d6fae5ee42911677c739ee1734486` int(11) DEFAULT NULL, |
|
1469 |
`F_e2c0be24560d78c5e599c2a9c9d0bbd2` int(11) DEFAULT NULL, |
|
1470 |
`F_274ad4786c3abca69fa097b85867d9a4` int(11) DEFAULT NULL, |
|
1471 |
`F_eae27d77ca20db309e056e3d2dcd7d69` int(11) DEFAULT NULL, |
|
1472 |
`F_7eabe3a1649ffa2b3ff8c02ebfd5659f` int(11) DEFAULT NULL, |
|
1473 |
`F_69adc1e107f7f7d035d7baf04342e1ca` int(11) DEFAULT NULL, |
|
1474 |
`F_091d584fced301b442654dd8c23b3fc9` int(11) DEFAULT NULL, |
|
1475 |
`F_b1d10e7bafa4421218a51b1e1f1b0ba2` int(11) DEFAULT NULL, |
|
1476 |
`F_6f3ef77ac0e3619e98159e9b6febf557` int(11) DEFAULT NULL, |
|
1477 |
`F_eb163727917cbba1eea208541a643e74` int(11) DEFAULT NULL, |
|
1478 |
`F_1534b76d325a8f591b52d302e7181331` int(11) DEFAULT NULL, |
|
1479 |
`F_979d472a84804b9f647bc185a877a8b5` int(11) DEFAULT NULL, |
|
1480 |
`F_ca46c1b9512a7a8315fa3c5a946e8265` int(11) DEFAULT NULL, |
|
1481 |
`F_3b8a614226a953a8cd9526fca6fe9ba5` int(11) DEFAULT NULL, |
|
1482 |
`F_45fbc6d3e05ebd93369ce542e8f2322d` int(11) DEFAULT NULL, |
|
1483 |
`F_63dc7ed1010d3c3b8269faf0ba7491d4` int(11) DEFAULT NULL, |
|
1484 |
`F_e96ed478dab8595a7dbda4cbcbee168f` int(11) DEFAULT NULL, |
|
1485 |
`F_c0e190d8267e36708f955d7ab048990d` int(11) DEFAULT NULL, |
|
1486 |
`F_ec8ce6abb3e952a85b8551ba726a1227` int(11) DEFAULT NULL, |
|
1487 |
`F_060ad92489947d410d897474079c1477` int(11) DEFAULT NULL, |
|
1488 |
`F_bcbe3365e6ac95ea2c0343a2395834dd` int(11) DEFAULT NULL, |
|
1489 |
`F_115f89503138416a242f40fb7d7f338e` int(11) DEFAULT NULL, |
|
1490 |
`F_13fe9d84310e77f13a6d184dbf1232f3` int(11) DEFAULT NULL, |
|
1491 |
`F_d1c38a09acc34845c6be3a127a5aacaf` int(11) DEFAULT NULL, |
|
1492 |
`F_9cfdf10e8fc047a44b08ed031e1f0ed1` int(11) DEFAULT NULL, |
|
1493 |
`F_705f2172834666788607efbfca35afb3` int(11) DEFAULT NULL, |
|
1494 |
`F_74db120f0a8e5646ef5a30154e9f6deb` int(11) DEFAULT NULL, |
|
1495 |
`F_57aeee35c98205091e18d1140e9f38cf` int(11) DEFAULT NULL, |
|
1496 |
`F_6da9003b743b65f4c0ccd295cc484e57` int(11) DEFAULT NULL, |
|
1497 |
`F_9b04d152845ec0a378394003c96da594` int(11) DEFAULT NULL, |
|
1498 |
`F_be83ab3ecd0db773eb2dc1b0a17836a1` int(11) DEFAULT NULL, |
|
1499 |
`F_e165421110ba03099a1c0393373c5b43` int(11) DEFAULT NULL, |
|
1500 |
`F_289dff07669d7a23de0ef88d2f7129e7` int(11) DEFAULT NULL, |
|
1501 |
`F_577ef1154f3240ad5b9b413aa7346a1e` int(11) DEFAULT NULL, |
|
1502 |
`F_01161aaa0b6d1345dd8fe4e481144d84` int(11) DEFAULT NULL, |
|
1503 |
`F_539fd53b59e3bb12d203f45a912eeaf2` int(11) DEFAULT NULL, |
|
1504 |
`F_ac1dd209cbcc5e5d1c6e28598e8cbbe8` int(11) DEFAULT NULL, |
|
1505 |
`F_555d6702c950ecb729a966504af0a635` int(11) DEFAULT NULL, |
|
1506 |
`F_335f5352088d7d9bf74191e006d8e24c` int(11) DEFAULT NULL, |
|
1507 |
`F_f340f1b1f65b6df5b5e3f94d95b11daf` int(11) DEFAULT NULL, |
|
1508 |
`F_e4a6222cdb5b34375400904f03d8e6a5` int(11) DEFAULT NULL, |
|
1509 |
`F_cb70ab375662576bd1ac5aaf16b3fca4` int(11) DEFAULT NULL, |
|
1510 |
`F_9188905e74c28e489b44e954ec0b9bca` int(11) DEFAULT NULL, |
|
1511 |
`F_0266e33d3f546cb5436a10798e657d97` int(11) DEFAULT NULL, |
|
1512 |
`F_38db3aed920cf82ab059bfccbd02be6a` int(11) DEFAULT NULL, |
|
1513 |
`F_3cec07e9ba5f5bb252d13f5f431e4bbb` int(11) DEFAULT NULL, |
|
1514 |
`F_621bf66ddb7c962aa0d22ac97d69b793` int(11) DEFAULT NULL, |
|
1515 |
`F_077e29b11be80ab57e1a2ecabb7da330` int(11) DEFAULT NULL, |
|
1516 |
`F_6c9882bbac1c7093bd25041881277658` int(11) DEFAULT NULL, |
|
1517 |
`F_19f3cd308f1455b3fa09a282e0d496f4` int(11) DEFAULT NULL, |
|
1518 |
`F_03c6b06952c750899bb03d998e631860` int(11) DEFAULT NULL, |
|
1519 |
`F_c24cd76e1ce41366a4bbe8a49b02a028` int(11) DEFAULT NULL, |
|
1520 |
`F_c52f1bd66cc19d05628bd8bf27af3ad6` int(11) DEFAULT NULL, |
|
1521 |
`F_fe131d7f5a6b38b23cc967316c13dae2` int(11) DEFAULT NULL, |
|
1522 |
`F_f718499c1c8cef6730f9fd03c8125cab` int(11) DEFAULT NULL, |
|
1523 |
`F_d96409bf894217686ba124d7356686c9` int(11) DEFAULT NULL, |
|
1524 |
`F_502e4a16930e414107ee22b6198c578f` int(11) DEFAULT NULL, |
|
1525 |
`F_cfa0860e83a4c3a763a7e62d825349f7` int(11) DEFAULT NULL, |
|
1526 |
`F_a4f23670e1833f3fdb077ca70bbd5d66` int(11) DEFAULT NULL, |
|
1527 |
`F_b1a59b315fc9a3002ce38bbe070ec3f5` int(11) DEFAULT NULL, |
|
1528 |
`F_36660e59856b4de58a219bcf4e27eba3` int(11) DEFAULT NULL, |
|
1529 |
`F_8c19f571e251e61cb8dd3612f26d5ecf` int(11) DEFAULT NULL, |
|
1530 |
`F_d6baf65e0b240ce177cf70da146c8dc8` int(11) DEFAULT NULL, |
|
1531 |
`F_e56954b4f6347e897f954495eab16a88` int(11) DEFAULT NULL, |
|
1532 |
`F_f7664060cc52bc6f3d620bcedc94a4b6` int(11) DEFAULT NULL, |
|
1533 |
`F_eda80a3d5b344bc40f3bc04f65b7a357` int(11) DEFAULT NULL, |
|
1534 |
`F_8f121ce07d74717e0b1f21d122e04521` int(11) DEFAULT NULL, |
|
1535 |
`F_06138bc5af6023646ede0e1f7c1eac75` int(11) DEFAULT NULL, |
|
1536 |
`F_39059724f73a9969845dfe4146c5660e` int(11) DEFAULT NULL, |
|
1537 |
`F_7f100b7b36092fb9b06dfb4fac360931` int(11) DEFAULT NULL, |
|
1538 |
`F_7a614fd06c325499f1680b9896beedeb` int(11) DEFAULT NULL, |
|
1539 |
`F_4734ba6f3de83d861c3176a6273cac6d` int(11) DEFAULT NULL, |
|
1540 |
`F_d947bf06a885db0d477d707121934ff8` int(11) DEFAULT NULL, |
|
1541 |
`F_63923f49e5241343aa7acb6a06a751e7` int(11) DEFAULT NULL, |
|
1542 |
`F_db8e1af0cb3aca1ae2d0018624204529` int(11) DEFAULT NULL, |
|
1543 |
`F_20f07591c6fcb220ffe637cda29bb3f6` int(11) DEFAULT NULL, |
|
1544 |
`F_07cdfd23373b17c6b337251c22b7ea57` int(11) DEFAULT NULL, |
|
1545 |
`F_d395771085aab05244a4fb8fd91bf4ee` int(11) DEFAULT NULL, |
|
1546 |
`F_92c8c96e4c37100777c7190b76d28233` int(11) DEFAULT NULL, |
|
1547 |
`F_e3796ae838835da0b6f6ea37bcf8bcb7` int(11) DEFAULT NULL, |
|
1548 |
`F_6a9aeddfc689c1d0e3b9ccc3ab651bc5` int(11) DEFAULT NULL, |
|
1549 |
`F_0f49c89d1e7298bb9930789c8ed59d48` int(11) DEFAULT NULL, |
|
1550 |
`F_46ba9f2a6976570b0353203ec4474217` int(11) DEFAULT NULL, |
|
1551 |
`F_0e01938fc48a2cfb5f2217fbfb00722d` int(11) DEFAULT NULL, |
|
1552 |
`F_16a5cdae362b8d27a1d8f8c7b78b4330` int(11) DEFAULT NULL, |
|
1553 |
`F_918317b57931b6b7a7d29490fe5ec9f9` int(11) DEFAULT NULL, |
|
1554 |
`F_48aedb8880cab8c45637abc7493ecddd` int(11) DEFAULT NULL, |
|
1555 |
`F_839ab46820b524afda05122893c2fe8e` int(11) DEFAULT NULL, |
|
1556 |
`F_f90f2aca5c640289d0a29417bcb63a37` int(11) DEFAULT NULL, |
|
1557 |
`F_9c838d2e45b2ad1094d42f4ef36764f6` int(11) DEFAULT NULL, |
|
1558 |
`F_1700002963a49da13542e0726b7bb758` int(11) DEFAULT NULL, |
|
1559 |
`F_53c3bce66e43be4f209556518c2fcb54` int(11) DEFAULT NULL, |
|
1560 |
`F_6883966fd8f918a4aa29be29d2c386fb` int(11) DEFAULT NULL, |
|
1561 |
`F_49182f81e6a13cf5eaa496d51fea6406` int(11) DEFAULT NULL, |
|
1562 |
`F_d296c101daa88a51f6ca8cfc1ac79b50` int(11) DEFAULT NULL, |
|
1563 |
`F_9fd81843ad7f202f26c1a174c7357585` int(11) DEFAULT NULL, |
|
1564 |
`F_26e359e83860db1d11b6acca57d8ea88` int(11) DEFAULT NULL, |
|
1565 |
`F_ef0d3930a7b6c95bd2b32ed45989c61f` int(11) DEFAULT NULL, |
|
1566 |
`F_94f6d7e04a4d452035300f18b984988c` int(11) DEFAULT NULL, |
|
1567 |
`F_34ed066df378efacc9b924ec161e7639` int(11) DEFAULT NULL, |
|
1568 |
`F_577bcc914f9e55d5e4e4f82f9f00e7d4` int(11) DEFAULT NULL, |
|
1569 |
`F_11b9842e0a271ff252c1903e7132cd68` int(11) DEFAULT NULL, |
|
1570 |
`F_37bc2f75bf1bcfe8450a1a41c200364c` int(11) DEFAULT NULL, |
|
1571 |
`F_496e05e1aea0a9c4655800e8a7b9ea28` int(11) DEFAULT NULL, |
|
1572 |
`F_b2eb7349035754953b57a32e2841bda5` int(11) DEFAULT NULL, |
|
1573 |
`F_8e98d81f8217304975ccb23337bb5761` int(11) DEFAULT NULL, |
|
1574 |
`F_a8c88a0055f636e4a163a5e3d16adab7` int(11) DEFAULT NULL, |
|
1575 |
`F_eddea82ad2755b24c4e168c5fc2ebd40` int(11) DEFAULT NULL, |
|
1576 |
`F_06eb61b839a0cefee4967c67ccb099dc` int(11) DEFAULT NULL, |
|
1577 |
`F_9dfcd5e558dfa04aaf37f137a1d9d3e5` int(11) DEFAULT NULL, |
|
1578 |
`F_950a4152c2b4aa3ad78bdd6b366cc179` int(11) DEFAULT NULL, |
|
1579 |
`F_158f3069a435b314a80bdcb024f8e422` int(11) DEFAULT NULL, |
|
1580 |
`F_758874998f5bd0c393da094e1967a72b` int(11) DEFAULT NULL, |
|
1581 |
`F_ad13a2a07ca4b7642959dc0c4c740ab6` int(11) DEFAULT NULL, |
|
1582 |
`F_3fe94a002317b5f9259f82690aeea4cd` int(11) DEFAULT NULL, |
|
1583 |
`F_5b8add2a5d98b1a652ea7fd72d942dac` int(11) DEFAULT NULL, |
|
1584 |
`F_432aca3a1e345e339f35a30c8f65edce` int(11) DEFAULT NULL, |
|
1585 |
`F_8d3bba7425e7c98c50f52ca1b52d3735` int(11) DEFAULT NULL, |
|
1586 |
`F_320722549d1751cf3f247855f937b982` int(11) DEFAULT NULL, |
|
1587 |
`F_caf1a3dfb505ffed0d024130f58c5cfa` int(11) DEFAULT NULL, |
|
1588 |
`F_5737c6ec2e0716f3d8a7a5c4e0de0d9a` int(11) DEFAULT NULL, |
|
1589 |
`F_bc6dc48b743dc5d013b1abaebd2faed2` int(11) DEFAULT NULL, |
|
1590 |
`F_f2fc990265c712c49d51a18a32b39f0c` int(11) DEFAULT NULL, |
|
1591 |
`F_89f0fd5c927d466d6ec9a21b9ac34ffa` int(11) DEFAULT NULL, |
|
1592 |
`F_a666587afda6e89aec274a3657558a27` int(11) DEFAULT NULL, |
|
1593 |
`F_b83aac23b9528732c23cc7352950e880` int(11) DEFAULT NULL, |
|
1594 |
`F_cd00692c3bfe59267d5ecfac5310286c` int(11) DEFAULT NULL, |
|
1595 |
`F_6faa8040da20ef399b63a72d0e4ab575` int(11) DEFAULT NULL, |
|
1596 |
`F_fe73f687e5bc5280214e0486b273a5f9` int(11) DEFAULT NULL |
|
1597 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
1598 |
SET character_set_client = @saved_cs_client; |
|
1599 |
||
1600 |
LOCK TABLES `t1` WRITE; |
|
1601 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
1602 |
INSERT INTO `t1` (`F_c4ca4238a0b923820dcc509a6f75849b`, `F_c81e728d9d4c2f636f067f89cc14862c`, `F_eccbc87e4b5ce2fe28308fd9f2a7baf3`, `F_a87ff679a2f3e71d9181a67b7542122c`, `F_e4da3b7fbbce2345d7772b0674a318d5`, `F_1679091c5a880faf6fb5e6087eb1b2dc`, `F_8f14e45fceea167a5a36dedd4bea2543`, `F_c9f0f895fb98ab9159f51fd0297e236d`, `F_45c48cce2e2d7fbdea1afc51c7c6ad26`, `F_d3d9446802a44259755d38e6d163e820`, `F_6512bd43d9caa6e02c990b0a82652dca`, `F_c20ad4d76fe97759aa27a0c99bff6710`, `F_c51ce410c124a10e0db5e4b97fc2af39`, `F_aab3238922bcc25a6f606eb525ffdc56`, `F_9bf31c7ff062936a96d3c8bd1f8f2ff3`, `F_c74d97b01eae257e44aa9d5bade97baf`, `F_70efdf2ec9b086079795c442636b55fb`, `F_6f4922f45568161a8cdf4ad2299f6d23`, `F_1f0e3dad99908345f7439f8ffabdffc4`, `F_98f13708210194c475687be6106a3b84`, `F_3c59dc048e8850243be8079a5c74d079`, `F_b6d767d2f8ed5d21a44b0e5886680cb9`, `F_37693cfc748049e45d87b8c7d8b9aacd`, `F_1ff1de774005f8da13f42943881c655f`, `F_8e296a067a37563370ded05f5a3bf3ec`, `F_4e732ced3463d06de0ca9a15b6153677`, `F_02e74f10e0327ad868d138f2b4fdd6f0`, `F_33e75ff09dd601bbe69f351039152189`, `F_6ea9ab1baa0efb9e19094440c317e21b`, `F_34173cb38f07f89ddbebc2ac9128303f`, `F_c16a5320fa475530d9583c34fd356ef5`, `F_6364d3f0f495b6ab9dcf8d3b5c6e0b01`, `F_182be0c5cdcd5072bb1864cdee4d3d6e`, `F_e369853df766fa44e1ed0ff613f563bd`, `F_1c383cd30b7c298ab50293adfecb7b18`, `F_19ca14e7ea6328a42e0eb13d585e4c22`, `F_a5bfc9e07964f8dddeb95fc584cd965d`, `F_a5771bce93e200c36f7cd9dfd0e5deaa`, `F_d67d8ab4f4c10bf22aa353e27879133c`, `F_d645920e395fedad7bbbed0eca3fe2e0`, `F_3416a75f4cea9109507cacd8e2f2aefc`, `F_a1d0c6e83f027327d8461063f4ac58a6`, `F_17e62166fc8586dfa4d1bc0e1742c08b`, `F_f7177163c833dff4b38fc8d2872f1ec6`, `F_6c8349cc7260ae62e3b1396831a8398f`, `F_d9d4f495e875a2e075a1a4a6e1b9770f`, `F_67c6a1e7ce56d3d6fa748ab6d9af3fd7`, `F_642e92efb79421734881b53e1e1b18b6`, `F_f457c545a9ded88f18ecee47145a72c0`, `F_c0c7c76d30bd3dcaefc96f40275bdc0a`, `F_2838023a778dfaecdc212708f721b788`, `F_9a1158154dfa42caddbd0694a4e9bdc8`, `F_d82c8d1619ad8176d665453cfb2e55f0`, `F_a684eceee76fc522773286a895bc8436`, `F_b53b3a3d6ab90ce0268229151c9bde11`, `F_9f61408e3afb633e50cdf1b20de6f466`, `F_72b32a1f754ba1c09b3695e0cb6cde7f`, `F_66f041e16a60928b05a7e228a89c3799`, `F_093f65e080a295f8076b1c5722a46aa2`, `F_072b030ba126b2f4b2374f342be9ed44`, `F_7f39f8317fbdb1988ef4c628eba02591`, `F_44f683a84163b3523afe57c2e008bc8c`, `F_03afdbd66e7929b125f8597834fa83a4`, `F_ea5d2f1c4608232e07d3aa3d998e5135`, `F_fc490ca45c00b1249bbe3554a4fdf6fb`, `F_3295c76acbf4caaed33c36b1b5fc2cb1`, `F_735b90b4568125ed6c3f678819b6e058`, `F_a3f390d88e4c41f2747bfa2f1b5f87db`, `F_14bfa6bb14875e45bba028a21ed38046`, `F_7cbbc409ec990f19c78c75bd1e06f215`, `F_e2c420d928d4bf8ce0ff2ec19b371514`, `F_32bb90e8976aab5298d5da10fe66f21d`, `F_d2ddea18f00665ce8623e36bd4e3c7c5`, `F_ad61ab143223efbc24c7d2583be69251`, `F_d09bf41544a3365a46c9077ebb5e35c3`, `F_fbd7939d674997cdb4692d34de8633c4`, `F_28dd2c7955ce926456240b2ff0100bde`, `F_35f4a8d465e6e1edc05f3d8ab658c551`, `F_d1fe173d08e959397adf34b1d77e88d7`, `F_f033ab37c30201f73f142449d037028d`, `F_43ec517d68b6edd3015b3edc9a11367b`, `F_9778d5d219c5080b9a6a17bef029331c`, `F_fe9fc289c3ff0af142b6d3bead98a923`, `F_68d30a9594728bc39aa24be94b319d21`, `F_3ef815416f775098fe977004015c6193`, `F_93db85ed909c13838ff95ccfa94cebd9`, `F_c7e1249ffc03eb9ded908c236bd1996d`, `F_2a38a4a9316c49e5a833517c45d31070`, `F_7647966b7343c29048673252e490f736`, `F_8613985ec49eb8f757ae6439e879bb2a`, `F_54229abfcfa5649e7003b83dd4755294`, `F_92cc227532d17e56e07902b254dfad10`, `F_98dce83da57b0395e163467c9dae521b`, `F_f4b9ec30ad9f68f89b29639786cb62ef`, `F_812b4ba287f5ee0bc9d43bbf5bbe87fb`, `F_26657d5ff9020d2abefe558796b99584`, `F_e2ef524fbf3d9fe611d5a8e90fefdc9c`, `F_ed3d2c21991e3bef5e069713af9fa6ca`, `F_ac627ab1ccbdb62ec96e702f07f6425b`, `F_f899139df5e1059396431415e770c6dd`, `F_38b3eff8baf56627478ec76a704e9b52`, `F_ec8956637a99787bd197eacd77acce5e`, `F_6974ce5ac660610b44d9b9fed0ff9548`, `F_c9e1074f5b3f9fc8ea15d152add07294`, `F_65b9eea6e1cc6bb9f0cd2a47751a186f`, `F_f0935e4cd5920aa6c7c996a5ee53a70f`, `F_a97da629b098b75c294dffdc3e463904`, `F_a3c65c2974270fd093ee8a9bf8ae7d0b`, `F_2723d092b63885e0d7c260cc007e8b9d`, `F_5f93f983524def3dca464469d2cf9f3e`, `F_698d51a19d8a121ce581499d7b701668`, `F_7f6ffaa6bb0b408017b62254211691b5`, `F_73278a4a86960eeb576a8fd4c9ec6997`, `F_5fd0b37cd7dbbb00f97ba6ce92bf5add`, `F_2b44928ae11fb9384c4cf38708677c48`, `F_c45147dee729311ef5b5c3003946c48f`, `F_eb160de1de89d9058fcb0b968dbbbd68`, `F_5ef059938ba799aaa845e1c2e8a762bd`, `F_07e1cd7dca89a1678042477183b7ac3f`, `F_da4fb5c6e93e74d3df8527599fa62642`, `F_4c56ff4ce4aaf9573aa5dff913df997a`, `F_a0a080f42e6f13b3a2df133f073095dd`, `F_202cb962ac59075b964b07152d234b70`, `F_c8ffe9a587b126f152ed3d89a146b445`, `F_3def184ad8f4755ff269862ea77393dd`, `F_069059b7ef840f0c74a814ec9237b6ec`, `F_ec5decca5ed3d6b8079e2e7e7bacc9f2`, `F_76dc611d6ebaafc66cc0879c71b5db5c`, `F_d1f491a404d6854880943e5c3cd9ca25`, `F_9b8619251a19057cff70779273e95aa6`, `F_1afa34a7f984eeabdbb0a7d494132ee5`, `F_65ded5353c5ee48d0b7d48c591b8f430`, `F_9fc3d7152ba9336a670e36d0ed79bc43`, `F_02522a2b2726fb0a03bb19f2d8d9524d`, `F_7f1de29e6da19d22b51c68001e7e0e54`, `F_42a0e188f5033bc65bf8d78622277c4e`, `F_3988c7f88ebcb58c6ce932b957b6f332`, `F_013d407166ec4fa56eb1e1f8cbe183b9`, `F_e00da03b685a0dd18fb6a08af0923de0`, `F_1385974ed5904a438616ff7bdb3f7439`, `F_0f28b5d49b3020afeecd95b4009adf4c`, `F_a8baa56554f96369ab93e4f3bb068c22`, `F_903ce9225fca3e988c2af215d4e544d3`, `F_0a09c8844ba8f0936c20bd791130d6b6`, `F_2b24d495052a8ce66358eb576b8912c8`, `F_a5e00132373a7031000fd987a3c9f87b`, `F_8d5e957f297893487bd98fa830fa6413`, `F_47d1e990583c9c67424d369f3414728e`, `F_f2217062e9a397a1dca429e7d70bc6ca`, `F_7ef605fc8dba5425d6965fbd4c8fbe1f`, `F_a8f15eda80c50adb0e71943adc8015cf`, `F_37a749d808e46495a8da1e5352d03cae`, `F_b3e3e393c77e35a4a3f3cbd1e429b5dc`, `F_1d7f7abc18fcb43975065399b0d1e48e`, `F_2a79ea27c279e471f4d180b08d62b00a`, `F_1c9ac0159c94d8d0cbedc973445af2da`, `F_6c4b761a28b734fe93831e3fb400ce87`, `F_06409663226af2f3114485aa4e0a23b4`, `F_140f6969d5213fd0ece03148e62e461e`, `F_b73ce398c39f506af761d2277d853a92`, `F_bd4c9ab730f5513206b999ec0d90d1fb`, `F_82aa4b0af34c2313a562076992e50aa3`, `F_0777d5c17d4066b82ab86dff8a46af6f`, `F_fa7cdfad1a5aaf8370ebeda47a1ff1c3`, `F_9766527f2b5d3e95d4a733fcfb77bd7e`, `F_7e7757b1e12abcb736ab9a754ffb617a`, `F_5878a7ab84fb43402106c575658472fa`, `F_006f52e9102a8d3be2fe5614f42ba989`, `F_3636638817772e42b59d74cff571fbb3`, `F_149e9677a5989fd342ae44213df68868`, `F_a4a042cf4fd6bfb47701cbc8a1653ada`, `F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e`, `F_f7e6c85504ce6e82442c770f7c8606f0`, `F_bf8229696f7a3bb4700cfddef19fa23f`, `F_82161242827b703e6acf9c726942a1e4`, `F_38af86134b65d0f10fe33d30dd76442e`, `F_96da2f590cd7246bbde0051047b0d6f7`, `F_8f85517967795eeef66c225f7883bdcb`, `F_8f53295a73878494e9bc8dd6c3c7104f`, `F_045117b0e0a11a242b9765e79cbf113f`, `F_fc221309746013ac554571fbd180e1c8`, `F_4c5bde74a8f110656874902f07378009`, `F_cedebb6e872f539bef8c3f919874e9d7`, `F_6cdd60ea0045eb7a6ec44c54d29ed402`, `F_eecca5b6365d9607ee5a9d336962c534`, `F_9872ed9fc22fc182d371c3e9ed316094`, `F_31fefc0e570cb3860f2a6d4b38c6490d`, `F_9dcb88e0137649590b755372b040afad`, `F_a2557a7b2e94197ff767970b67041697`, `F_cfecdb276f634854f3ef915e2e980c31`, `F_0aa1883c6411f7873cb83dacb17b0afc`, `F_58a2fc6ed39fd083f55d4182bf88826d`, `F_bd686fd640be98efaae0091fa301e613`, `F_a597e50502f5ff68e3e25b9114205d4a`, `F_0336dcbab05b9d5ad24f4333c7658a0e`, `F_084b6fbb10729ed4da8c3d3f5a3ae7c9`, `F_85d8ce590ad8981ca2c8286f79f59954`, `F_0e65972dce68dad4d52d063967f0a705`, `F_84d9ee44e457ddef7f2c4f25dc8fa865`, `F_3644a684f98ea8fe223c713b77189a77`, `F_757b505cfd34c64c85ca5b5690ee5293`, `F_854d6fae5ee42911677c739ee1734486`, `F_e2c0be24560d78c5e599c2a9c9d0bbd2`, `F_274ad4786c3abca69fa097b85867d9a4`, `F_eae27d77ca20db309e056e3d2dcd7d69`, `F_7eabe3a1649ffa2b3ff8c02ebfd5659f`, `F_69adc1e107f7f7d035d7baf04342e1ca`, `F_091d584fced301b442654dd8c23b3fc9`, `F_b1d10e7bafa4421218a51b1e1f1b0ba2`, `F_6f3ef77ac0e3619e98159e9b6febf557`, `F_eb163727917cbba1eea208541a643e74`, `F_1534b76d325a8f591b52d302e7181331`, `F_979d472a84804b9f647bc185a877a8b5`, `F_ca46c1b9512a7a8315fa3c5a946e8265`, `F_3b8a614226a953a8cd9526fca6fe9ba5`, `F_45fbc6d3e05ebd93369ce542e8f2322d`, `F_63dc7ed1010d3c3b8269faf0ba7491d4`, `F_e96ed478dab8595a7dbda4cbcbee168f`, `F_c0e190d8267e36708f955d7ab048990d`, `F_ec8ce6abb3e952a85b8551ba726a1227`, `F_060ad92489947d410d897474079c1477`, `F_bcbe3365e6ac95ea2c0343a2395834dd`, `F_115f89503138416a242f40fb7d7f338e`, `F_13fe9d84310e77f13a6d184dbf1232f3`, `F_d1c38a09acc34845c6be3a127a5aacaf`, `F_9cfdf10e8fc047a44b08ed031e1f0ed1`, `F_705f2172834666788607efbfca35afb3`, `F_74db120f0a8e5646ef5a30154e9f6deb`, `F_57aeee35c98205091e18d1140e9f38cf`, `F_6da9003b743b65f4c0ccd295cc484e57`, `F_9b04d152845ec0a378394003c96da594`, `F_be83ab3ecd0db773eb2dc1b0a17836a1`, `F_e165421110ba03099a1c0393373c5b43`, `F_289dff07669d7a23de0ef88d2f7129e7`, `F_577ef1154f3240ad5b9b413aa7346a1e`, `F_01161aaa0b6d1345dd8fe4e481144d84`, `F_539fd53b59e3bb12d203f45a912eeaf2`, `F_ac1dd209cbcc5e5d1c6e28598e8cbbe8`, `F_555d6702c950ecb729a966504af0a635`, `F_335f5352088d7d9bf74191e006d8e24c`, `F_f340f1b1f65b6df5b5e3f94d95b11daf`, `F_e4a6222cdb5b34375400904f03d8e6a5`, `F_cb70ab375662576bd1ac5aaf16b3fca4`, `F_9188905e74c28e489b44e954ec0b9bca`, `F_0266e33d3f546cb5436a10798e657d97`, `F_38db3aed920cf82ab059bfccbd02be6a`, `F_3cec07e9ba5f5bb252d13f5f431e4bbb`, `F_621bf66ddb7c962aa0d22ac97d69b793`, `F_077e29b11be80ab57e1a2ecabb7da330`, `F_6c9882bbac1c7093bd25041881277658`, `F_19f3cd308f1455b3fa09a282e0d496f4`, `F_03c6b06952c750899bb03d998e631860`, `F_c24cd76e1ce41366a4bbe8a49b02a028`, `F_c52f1bd66cc19d05628bd8bf27af3ad6`, `F_fe131d7f5a6b38b23cc967316c13dae2`, `F_f718499c1c8cef6730f9fd03c8125cab`, `F_d96409bf894217686ba124d7356686c9`, `F_502e4a16930e414107ee22b6198c578f`, `F_cfa0860e83a4c3a763a7e62d825349f7`, `F_a4f23670e1833f3fdb077ca70bbd5d66`, `F_b1a59b315fc9a3002ce38bbe070ec3f5`, `F_36660e59856b4de58a219bcf4e27eba3`, `F_8c19f571e251e61cb8dd3612f26d5ecf`, `F_d6baf65e0b240ce177cf70da146c8dc8`, `F_e56954b4f6347e897f954495eab16a88`, `F_f7664060cc52bc6f3d620bcedc94a4b6`, `F_eda80a3d5b344bc40f3bc04f65b7a357`, `F_8f121ce07d74717e0b1f21d122e04521`, `F_06138bc5af6023646ede0e1f7c1eac75`, `F_39059724f73a9969845dfe4146c5660e`, `F_7f100b7b36092fb9b06dfb4fac360931`, `F_7a614fd06c325499f1680b9896beedeb`, `F_4734ba6f3de83d861c3176a6273cac6d`, `F_d947bf06a885db0d477d707121934ff8`, `F_63923f49e5241343aa7acb6a06a751e7`, `F_db8e1af0cb3aca1ae2d0018624204529`, `F_20f07591c6fcb220ffe637cda29bb3f6`, `F_07cdfd23373b17c6b337251c22b7ea57`, `F_d395771085aab05244a4fb8fd91bf4ee`, `F_92c8c96e4c37100777c7190b76d28233`, `F_e3796ae838835da0b6f6ea37bcf8bcb7`, `F_6a9aeddfc689c1d0e3b9ccc3ab651bc5`, `F_0f49c89d1e7298bb9930789c8ed59d48`, `F_46ba9f2a6976570b0353203ec4474217`, `F_0e01938fc48a2cfb5f2217fbfb00722d`, `F_16a5cdae362b8d27a1d8f8c7b78b4330`, `F_918317b57931b6b7a7d29490fe5ec9f9`, `F_48aedb8880cab8c45637abc7493ecddd`, `F_839ab46820b524afda05122893c2fe8e`, `F_f90f2aca5c640289d0a29417bcb63a37`, `F_9c838d2e45b2ad1094d42f4ef36764f6`, `F_1700002963a49da13542e0726b7bb758`, `F_53c3bce66e43be4f209556518c2fcb54`, `F_6883966fd8f918a4aa29be29d2c386fb`, `F_49182f81e6a13cf5eaa496d51fea6406`, `F_d296c101daa88a51f6ca8cfc1ac79b50`, `F_9fd81843ad7f202f26c1a174c7357585`, `F_26e359e83860db1d11b6acca57d8ea88`, `F_ef0d3930a7b6c95bd2b32ed45989c61f`, `F_94f6d7e04a4d452035300f18b984988c`, `F_34ed066df378efacc9b924ec161e7639`, `F_577bcc914f9e55d5e4e4f82f9f00e7d4`, `F_11b9842e0a271ff252c1903e7132cd68`, `F_37bc2f75bf1bcfe8450a1a41c200364c`, `F_496e05e1aea0a9c4655800e8a7b9ea28`, `F_b2eb7349035754953b57a32e2841bda5`, `F_8e98d81f8217304975ccb23337bb5761`, `F_a8c88a0055f636e4a163a5e3d16adab7`, `F_eddea82ad2755b24c4e168c5fc2ebd40`, `F_06eb61b839a0cefee4967c67ccb099dc`, `F_9dfcd5e558dfa04aaf37f137a1d9d3e5`, `F_950a4152c2b4aa3ad78bdd6b366cc179`, `F_158f3069a435b314a80bdcb024f8e422`, `F_758874998f5bd0c393da094e1967a72b`, `F_ad13a2a07ca4b7642959dc0c4c740ab6`, `F_3fe94a002317b5f9259f82690aeea4cd`, `F_5b8add2a5d98b1a652ea7fd72d942dac`, `F_432aca3a1e345e339f35a30c8f65edce`, `F_8d3bba7425e7c98c50f52ca1b52d3735`, `F_320722549d1751cf3f247855f937b982`, `F_caf1a3dfb505ffed0d024130f58c5cfa`, `F_5737c6ec2e0716f3d8a7a5c4e0de0d9a`, `F_bc6dc48b743dc5d013b1abaebd2faed2`, `F_f2fc990265c712c49d51a18a32b39f0c`, `F_89f0fd5c927d466d6ec9a21b9ac34ffa`, `F_a666587afda6e89aec274a3657558a27`, `F_b83aac23b9528732c23cc7352950e880`, `F_cd00692c3bfe59267d5ecfac5310286c`, `F_6faa8040da20ef399b63a72d0e4ab575`, `F_fe73f687e5bc5280214e0486b273a5f9`) VALUES (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); |
|
1603 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
1604 |
UNLOCK TABLES; |
|
1605 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
1606 |
||
1607 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
1608 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
1609 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
1610 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
1611 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
1612 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
1613 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
1614 |
||
1615 |
drop table t1; |
|
1616 |
# |
|
1617 |
# Test for --add-drop-database |
|
1618 |
# |
|
1619 |
CREATE TABLE t1 (a int); |
|
1620 |
INSERT INTO t1 VALUES (1),(2),(3); |
|
1621 |
||
1622 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
1623 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
1624 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
1625 |
/*!40101 SET NAMES utf8 */; |
|
1626 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
1627 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
1628 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
1629 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
1630 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
1631 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
1632 |
||
1633 |
-- |
|
1634 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1635 |
-- |
|
1636 |
||
1637 |
/*!40000 DROP DATABASE IF EXISTS `test`*/; |
|
1638 |
||
1639 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
1640 |
||
1641 |
USE `test`; |
|
1642 |
DROP TABLE IF EXISTS `t1`; |
|
1643 |
SET @saved_cs_client = @@character_set_client; |
|
1644 |
SET character_set_client = utf8; |
|
1645 |
CREATE TABLE `t1` ( |
|
1646 |
`a` int(11) DEFAULT NULL |
|
1647 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
1648 |
SET character_set_client = @saved_cs_client; |
|
1649 |
||
1650 |
LOCK TABLES `t1` WRITE; |
|
1651 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
1652 |
INSERT INTO `t1` VALUES (1),(2),(3); |
|
1653 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
1654 |
UNLOCK TABLES; |
|
1655 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
1656 |
||
1657 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
1658 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
1659 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
1660 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
1661 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
1662 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
1663 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
1664 |
||
1665 |
DROP TABLE t1; |
|
1666 |
# |
|
1667 |
# Bug #9558 mysqldump --no-data db t1 t2 format still dumps data |
|
1668 |
# |
|
1669 |
CREATE DATABASE mysqldump_test_db; |
|
1670 |
USE mysqldump_test_db; |
|
1671 |
CREATE TABLE t1 ( a INT ); |
|
1672 |
CREATE TABLE t2 ( a INT ); |
|
1673 |
INSERT INTO t1 VALUES (1), (2); |
|
1674 |
INSERT INTO t2 VALUES (1), (2); |
|
1675 |
||
1676 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
1677 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
1678 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
1679 |
/*!40101 SET NAMES utf8 */; |
|
1680 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
1681 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
1682 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
1683 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
1684 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
1685 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
1686 |
||
1687 |
-- |
|
1688 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1689 |
-- |
|
1690 |
DROP TABLE IF EXISTS `t1`; |
|
1691 |
SET @saved_cs_client = @@character_set_client; |
|
1692 |
SET character_set_client = utf8; |
|
1693 |
CREATE TABLE `t1` ( |
|
1694 |
`a` int(11) DEFAULT NULL |
|
1695 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
1696 |
SET character_set_client = @saved_cs_client; |
|
1697 |
DROP TABLE IF EXISTS `t2`; |
|
1698 |
SET @saved_cs_client = @@character_set_client; |
|
1699 |
SET character_set_client = utf8; |
|
1700 |
CREATE TABLE `t2` ( |
|
1701 |
`a` int(11) DEFAULT NULL |
|
1702 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
1703 |
SET character_set_client = @saved_cs_client; |
|
1704 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
1705 |
||
1706 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
1707 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
1708 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
1709 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
1710 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
1711 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
1712 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
1713 |
||
1714 |
||
1715 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
1716 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
1717 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
1718 |
/*!40101 SET NAMES utf8 */; |
|
1719 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
1720 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
1721 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
1722 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
1723 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
1724 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
1725 |
||
1726 |
-- |
|
1727 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1728 |
-- |
|
1729 |
DROP TABLE IF EXISTS `t1`; |
|
1730 |
SET @saved_cs_client = @@character_set_client; |
|
1731 |
SET character_set_client = utf8; |
|
1732 |
CREATE TABLE `t1` ( |
|
1733 |
`a` int(11) DEFAULT NULL |
|
1734 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
1735 |
SET character_set_client = @saved_cs_client; |
|
1736 |
DROP TABLE IF EXISTS `t2`; |
|
1737 |
SET @saved_cs_client = @@character_set_client; |
|
1738 |
SET character_set_client = utf8; |
|
1739 |
CREATE TABLE `t2` ( |
|
1740 |
`a` int(11) DEFAULT NULL |
|
1741 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
1742 |
SET character_set_client = @saved_cs_client; |
|
1743 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
1744 |
||
1745 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
1746 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
1747 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
1748 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
1749 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
1750 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
1751 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
1752 |
||
1753 |
<?xml version="1.0"?>
|
|
1754 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
1755 |
||
1756 |
-- |
|
1757 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1758 |
-- |
|
1759 |
<database name="mysqldump_test_db"> |
|
1760 |
<table_structure name="t1"> |
|
1761 |
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" /> |
|
1762 |
</table_structure>
|
|
1763 |
<table_structure name="t2"> |
|
1764 |
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" /> |
|
1765 |
</table_structure>
|
|
1766 |
</database>
|
|
1767 |
</mysqldump>
|
|
1768 |
<?xml version="1.0"?>
|
|
1769 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
1770 |
||
1771 |
-- |
|
1772 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1773 |
-- |
|
1774 |
<database name="mysqldump_test_db"> |
|
1775 |
<table_structure name="t1"> |
|
1776 |
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" /> |
|
1777 |
</table_structure>
|
|
1778 |
<table_structure name="t2"> |
|
1779 |
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" /> |
|
1780 |
</table_structure>
|
|
1781 |
</database>
|
|
1782 |
</mysqldump>
|
|
1783 |
DROP TABLE t1, t2; |
|
1784 |
DROP DATABASE mysqldump_test_db; |
|
1785 |
# |
|
1786 |
# Testing with tables and databases that don't exists |
|
1787 |
# or contains illegal characters |
|
1788 |
# (Bug #9358 mysqldump crashes if tablename starts with \) |
|
1789 |
# |
|
1790 |
create database mysqldump_test_db; |
|
1791 |
use mysqldump_test_db; |
|
1792 |
create table t1(a varchar(30) primary key, b int not null); |
|
1793 |
create table t2(a varchar(30) primary key, b int not null); |
|
1794 |
create table t3(a varchar(30) primary key, b int not null); |
|
1795 |
test_sequence |
|
1796 |
------ Testing with illegal table names ------ |
|
1797 |
mysqldump: Couldn't find table: "\d-2-1.sql" |
|
1798 |
||
1799 |
-- |
|
1800 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1801 |
-- |
|
1802 |
mysqldump: Couldn't find table: "\t1" |
|
1803 |
||
1804 |
-- |
|
1805 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1806 |
-- |
|
1807 |
mysqldump: Couldn't find table: "\t1" |
|
1808 |
||
1809 |
-- |
|
1810 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1811 |
-- |
|
1812 |
mysqldump: Couldn't find table: "\\t1" |
|
1813 |
||
1814 |
-- |
|
1815 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1816 |
-- |
|
1817 |
mysqldump: Couldn't find table: "t\1" |
|
1818 |
||
1819 |
-- |
|
1820 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1821 |
-- |
|
1822 |
mysqldump: Couldn't find table: "t\1" |
|
1823 |
||
1824 |
-- |
|
1825 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1826 |
-- |
|
1827 |
mysqldump: Couldn't find table: "t/1" |
|
1828 |
||
1829 |
-- |
|
1830 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1831 |
-- |
|
1832 |
mysqldump: Couldn't find table: "T_1" |
|
1833 |
||
1834 |
-- |
|
1835 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1836 |
-- |
|
1837 |
mysqldump: Couldn't find table: "T%1" |
|
1838 |
||
1839 |
-- |
|
1840 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1841 |
-- |
|
1842 |
mysqldump: Couldn't find table: "T'1" |
|
1843 |
||
1844 |
-- |
|
1845 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1846 |
-- |
|
1847 |
mysqldump: Couldn't find table: "T_1" |
|
1848 |
||
1849 |
-- |
|
1850 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1851 |
-- |
|
1852 |
mysqldump: Couldn't find table: "T_" |
|
1853 |
||
1854 |
-- |
|
1855 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1856 |
-- |
|
1857 |
test_sequence |
|
1858 |
------ Testing with illegal database names ------ |
|
1859 |
mysqldump: Got error: 1049: Unknown database 'mysqldump_test_d' when selecting the database |
|
1860 |
||
1861 |
-- |
|
1862 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1863 |
-- |
|
1864 |
mysqldump: Got error: 1049: Unknown database 'mysqld\ump_test_db' when selecting the database |
|
1865 |
||
1866 |
-- |
|
1867 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1868 |
-- |
|
1869 |
drop table t1, t2, t3; |
|
1870 |
drop database mysqldump_test_db; |
|
1871 |
use test; |
|
1872 |
# |
|
1873 |
# Bug #9657 mysqldump xml ( -x ) does not format NULL fields correctly |
|
1874 |
# |
|
1875 |
create table t1 (a int(10)); |
|
1876 |
create table t2 (pk int primary key auto_increment, |
|
1877 |
a int(10), b varchar(30), c datetime, d blob, e text); |
|
1878 |
insert into t1 values (NULL), (10), (20); |
|
1879 |
insert into t2 (a, b) values (NULL, NULL),(10, NULL),(NULL, "twenty"),(30, "thirty"); |
|
1880 |
<?xml version="1.0"?>
|
|
1881 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
1882 |
||
1883 |
-- |
|
1884 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1885 |
-- |
|
1886 |
<database name="test"> |
|
1887 |
<table_data name="t1"> |
|
1888 |
<row>
|
|
1889 |
<field name="a" xsi:nil="true" /> |
|
1890 |
</row>
|
|
1891 |
<row>
|
|
1892 |
<field name="a">10</field> |
|
1893 |
</row>
|
|
1894 |
<row>
|
|
1895 |
<field name="a">20</field> |
|
1896 |
</row>
|
|
1897 |
</table_data>
|
|
1898 |
<table_data name="t2"> |
|
1899 |
<row>
|
|
1900 |
<field name="pk">1</field> |
|
1901 |
<field name="a" xsi:nil="true" /> |
|
1902 |
<field name="b" xsi:nil="true" /> |
|
1903 |
<field name="c" xsi:nil="true" /> |
|
1904 |
<field name="d" xsi:nil="true" /> |
|
1905 |
<field name="e" xsi:nil="true" /> |
|
1906 |
</row>
|
|
1907 |
<row>
|
|
1908 |
<field name="pk">2</field> |
|
1909 |
<field name="a">10</field> |
|
1910 |
<field name="b" xsi:nil="true" /> |
|
1911 |
<field name="c" xsi:nil="true" /> |
|
1912 |
<field name="d" xsi:nil="true" /> |
|
1913 |
<field name="e" xsi:nil="true" /> |
|
1914 |
</row>
|
|
1915 |
<row>
|
|
1916 |
<field name="pk">3</field> |
|
1917 |
<field name="a" xsi:nil="true" /> |
|
1918 |
<field name="b">twenty</field> |
|
1919 |
<field name="c" xsi:nil="true" /> |
|
1920 |
<field name="d" xsi:nil="true" /> |
|
1921 |
<field name="e" xsi:nil="true" /> |
|
1922 |
</row>
|
|
1923 |
<row>
|
|
1924 |
<field name="pk">4</field> |
|
1925 |
<field name="a">30</field> |
|
1926 |
<field name="b">thirty</field> |
|
1927 |
<field name="c" xsi:nil="true" /> |
|
1928 |
<field name="d" xsi:nil="true" /> |
|
1929 |
<field name="e" xsi:nil="true" /> |
|
1930 |
</row>
|
|
1931 |
</table_data>
|
|
1932 |
</database>
|
|
1933 |
</mysqldump>
|
|
1934 |
drop table t1, t2; |
|
1935 |
# |
|
1936 |
# BUG #12123 |
|
1937 |
# |
|
1938 |
create table t1 (a text character set utf8, b text character set latin1); |
|
1939 |
insert t1 values (0x4F736E616272C3BC636B, 0x4BF66C6E); |
|
1940 |
select * from t1; |
|
1941 |
a b |
|
1942 |
Osnabrück Köln |
|
1943 |
||
1944 |
-- |
|
1945 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
1946 |
-- |
|
1947 |
test.t1: Records: 1 Deleted: 0 Skipped: 0 Warnings: 0 |
|
1948 |
select * from t1; |
|
1949 |
a b |
|
1950 |
Osnabrück Köln |
|
1951 |
drop table t1; |
|
1952 |
# |
|
1953 |
# BUG#15328 Segmentation fault occured if my.cnf is invalid for escape sequence |
|
1954 |
# |
|
1955 |
--fields-optionally-enclosed-by=" |
|
1956 |
# |
|
1957 |
# BUG #19025 mysqldump doesn't correctly dump "auto_increment = [int]" |
|
1958 |
# |
|
1959 |
create table `t1` ( |
|
1960 |
t1_name varchar(255) default null, |
|
1961 |
t1_id int(10) unsigned not null auto_increment, |
|
1962 |
key (t1_name), |
|
1963 |
primary key (t1_id) |
|
1964 |
) auto_increment = 1000 default charset=latin1; |
|
1965 |
insert into t1 (t1_name) values('bla'); |
|
1966 |
insert into t1 (t1_name) values('bla'); |
|
1967 |
insert into t1 (t1_name) values('bla'); |
|
1968 |
select * from t1; |
|
1969 |
t1_name t1_id |
|
1970 |
bla 1000 |
|
1971 |
bla 1001 |
|
1972 |
bla 1002 |
|
1973 |
show create table `t1`; |
|
1974 |
Table Create Table |
|
1975 |
t1 CREATE TABLE `t1` ( |
|
1976 |
`t1_name` varchar(255) DEFAULT NULL, |
|
1977 |
`t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|
1978 |
PRIMARY KEY (`t1_id`), |
|
1979 |
KEY `t1_name` (`t1_name`) |
|
1980 |
) ENGINE=MyISAM AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1 |
|
1981 |
DROP TABLE `t1`; |
|
1982 |
select * from t1; |
|
1983 |
t1_name t1_id |
|
1984 |
bla 1000 |
|
1985 |
bla 1001 |
|
1986 |
bla 1002 |
|
1987 |
show create table `t1`; |
|
1988 |
Table Create Table |
|
1989 |
t1 CREATE TABLE `t1` ( |
|
1990 |
`t1_name` varchar(255) DEFAULT NULL, |
|
1991 |
`t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|
1992 |
PRIMARY KEY (`t1_id`), |
|
1993 |
KEY `t1_name` (`t1_name`) |
|
1994 |
) ENGINE=MyISAM AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1 |
|
1995 |
drop table `t1`; |
|
1996 |
# |
|
1997 |
# Bug #18536: wrong table order |
|
1998 |
# |
|
1999 |
create table t1(a int); |
|
2000 |
create table t2(a int); |
|
2001 |
create table t3(a int); |
|
2002 |
||
2003 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2004 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2005 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2006 |
/*!40101 SET NAMES utf8 */; |
|
2007 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2008 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2009 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2010 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2011 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2012 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2013 |
||
2014 |
-- |
|
2015 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2016 |
-- |
|
2017 |
DROP TABLE IF EXISTS `t3`; |
|
2018 |
SET @saved_cs_client = @@character_set_client; |
|
2019 |
SET character_set_client = utf8; |
|
2020 |
CREATE TABLE `t3` ( |
|
2021 |
`a` int(11) DEFAULT NULL |
|
2022 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2023 |
SET character_set_client = @saved_cs_client; |
|
2024 |
DROP TABLE IF EXISTS `t1`; |
|
2025 |
SET @saved_cs_client = @@character_set_client; |
|
2026 |
SET character_set_client = utf8; |
|
2027 |
CREATE TABLE `t1` ( |
|
2028 |
`a` int(11) DEFAULT NULL |
|
2029 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2030 |
SET character_set_client = @saved_cs_client; |
|
2031 |
DROP TABLE IF EXISTS `t2`; |
|
2032 |
SET @saved_cs_client = @@character_set_client; |
|
2033 |
SET character_set_client = utf8; |
|
2034 |
CREATE TABLE `t2` ( |
|
2035 |
`a` int(11) DEFAULT NULL |
|
2036 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2037 |
SET character_set_client = @saved_cs_client; |
|
2038 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2039 |
||
2040 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2041 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2042 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2043 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2044 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2045 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2046 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2047 |
||
2048 |
drop table t1, t2, t3; |
|
2049 |
# |
|
2050 |
# Bug #21288: mysqldump segmentation fault when using --where |
|
2051 |
# |
|
2052 |
create table t1 (a int); |
|
2053 |
mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `t1` WHERE xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 (1064) |
|
2054 |
mysqldump: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 when retrieving data from server |
|
2055 |
||
2056 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2057 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2058 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2059 |
/*!40101 SET NAMES utf8 */; |
|
2060 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2061 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2062 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2063 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2064 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2065 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2066 |
||
2067 |
-- |
|
2068 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2069 |
-- |
|
2070 |
DROP TABLE IF EXISTS `t1`; |
|
2071 |
SET @saved_cs_client = @@character_set_client; |
|
2072 |
SET character_set_client = utf8; |
|
2073 |
CREATE TABLE `t1` ( |
|
2074 |
`a` int(11) DEFAULT NULL |
|
2075 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2076 |
SET character_set_client = @saved_cs_client; |
|
2077 |
||
2078 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2079 |
||
2080 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2081 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2082 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2083 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2084 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2085 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2086 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2087 |
||
2088 |
drop table t1; |
|
2089 |
# |
|
2090 |
# BUG#13926: --order-by-primary fails if PKEY contains quote character |
|
2091 |
# |
|
2092 |
DROP TABLE IF EXISTS `t1`; |
|
2093 |
CREATE TABLE `t1` ( |
|
2094 |
`a b` INT, |
|
2095 |
`c"d` INT, |
|
2096 |
`e``f` INT, |
|
2097 |
PRIMARY KEY (`a b`, `c"d`, `e``f`) |
|
2098 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2099 |
insert into t1 values (0815, 4711, 2006); |
|
2100 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2101 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2102 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2103 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2104 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */; |
|
2105 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2106 |
||
2107 |
-- |
|
2108 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2109 |
-- |
|
2110 |
DROP TABLE IF EXISTS "t1"; |
|
2111 |
SET @saved_cs_client = @@character_set_client; |
|
2112 |
SET character_set_client = utf8; |
|
2113 |
CREATE TABLE "t1" ( |
|
2114 |
"a b" int(11) NOT NULL DEFAULT '0', |
|
2115 |
"c""d" int(11) NOT NULL DEFAULT '0', |
|
2116 |
"e`f" int(11) NOT NULL DEFAULT '0', |
|
2117 |
PRIMARY KEY ("a b","c""d","e`f") |
|
2118 |
); |
|
2119 |
SET character_set_client = @saved_cs_client; |
|
2120 |
||
2121 |
LOCK TABLES "t1" WRITE; |
|
2122 |
/*!40000 ALTER TABLE "t1" DISABLE KEYS */; |
|
2123 |
INSERT INTO "t1" VALUES (815,4711,2006); |
|
2124 |
/*!40000 ALTER TABLE "t1" ENABLE KEYS */; |
|
2125 |
UNLOCK TABLES; |
|
2126 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2127 |
||
2128 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2129 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2130 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2131 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2132 |
||
2133 |
||
2134 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2135 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2136 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2137 |
/*!40101 SET NAMES utf8 */; |
|
2138 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2139 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2140 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2141 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2142 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2143 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2144 |
||
2145 |
-- |
|
2146 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2147 |
-- |
|
2148 |
DROP TABLE IF EXISTS `t1`; |
|
2149 |
SET @saved_cs_client = @@character_set_client; |
|
2150 |
SET character_set_client = utf8; |
|
2151 |
CREATE TABLE `t1` ( |
|
2152 |
`a b` int(11) NOT NULL DEFAULT '0', |
|
2153 |
`c"d` int(11) NOT NULL DEFAULT '0', |
|
2154 |
`e``f` int(11) NOT NULL DEFAULT '0', |
|
2155 |
PRIMARY KEY (`a b`,`c"d`,`e``f`) |
|
2156 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2157 |
SET character_set_client = @saved_cs_client; |
|
2158 |
||
2159 |
LOCK TABLES `t1` WRITE; |
|
2160 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2161 |
INSERT INTO `t1` VALUES (815,4711,2006); |
|
2162 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2163 |
UNLOCK TABLES; |
|
2164 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2165 |
||
2166 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2167 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2168 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2169 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2170 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2171 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2172 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2173 |
||
2174 |
DROP TABLE `t1`; |
|
2175 |
End of 4.1 tests |
|
2176 |
# |
|
2177 |
# Bug #10213 mysqldump crashes when dumping VIEWs(on MacOS X) |
|
2178 |
# |
|
2179 |
create database db1; |
|
2180 |
use db1; |
|
2181 |
CREATE TABLE t2 ( |
|
2182 |
a varchar(30) default NULL, |
|
2183 |
KEY a (a(5)) |
|
2184 |
); |
|
2185 |
INSERT INTO t2 VALUES ('alfred'); |
|
2186 |
INSERT INTO t2 VALUES ('angie'); |
|
2187 |
INSERT INTO t2 VALUES ('bingo'); |
|
2188 |
INSERT INTO t2 VALUES ('waffle'); |
|
2189 |
INSERT INTO t2 VALUES ('lemon'); |
|
2190 |
create view v2 as select * from t2 where a like 'a%' with check option; |
|
2191 |
||
2192 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2193 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2194 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2195 |
/*!40101 SET NAMES utf8 */; |
|
2196 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2197 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2198 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2199 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2200 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2201 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2202 |
||
2203 |
-- |
|
2204 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2205 |
-- |
|
2206 |
DROP TABLE IF EXISTS `t2`; |
|
2207 |
SET @saved_cs_client = @@character_set_client; |
|
2208 |
SET character_set_client = utf8; |
|
2209 |
CREATE TABLE `t2` ( |
|
2210 |
`a` varchar(30) DEFAULT NULL, |
|
2211 |
KEY `a` (`a`(5)) |
|
2212 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2213 |
SET character_set_client = @saved_cs_client; |
|
2214 |
||
2215 |
LOCK TABLES `t2` WRITE; |
|
2216 |
/*!40000 ALTER TABLE `t2` DISABLE KEYS */; |
|
2217 |
INSERT INTO `t2` VALUES ('alfred'),('angie'),('bingo'),('waffle'),('lemon'); |
|
2218 |
/*!40000 ALTER TABLE `t2` ENABLE KEYS */; |
|
2219 |
UNLOCK TABLES; |
|
2220 |
DROP TABLE IF EXISTS `v2`; |
|
2221 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
2222 |
SET @saved_cs_client = @@character_set_client; |
|
2223 |
SET character_set_client = utf8; |
|
2224 |
/*!50001 CREATE TABLE `v2` ( |
|
2225 |
`a` varchar(30) |
|
2226 |
) */; |
|
2227 |
SET character_set_client = @saved_cs_client; |
|
2228 |
/*!50001 DROP TABLE `v2`*/; |
|
2229 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
2230 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
2231 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
2232 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
2233 |
/*!50001 SET character_set_client = latin1 */; |
|
2234 |
/*!50001 SET character_set_results = latin1 */; |
|
2235 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
2236 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
2237 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
2238 |
/*!50001 VIEW `v2` AS select `t2`.`a` AS `a` from `t2` where (`t2`.`a` like 'a%') */ |
|
2239 |
/*!50002 WITH CASCADED CHECK OPTION */; |
|
2240 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
2241 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
2242 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
2243 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2244 |
||
2245 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2246 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2247 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2248 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2249 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2250 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2251 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2252 |
||
2253 |
drop table t2; |
|
2254 |
drop view v2; |
|
2255 |
drop database db1; |
|
2256 |
use test; |
|
2257 |
# |
|
2258 |
# Bug 10713 mysqldump includes database in create view and referenced tables |
|
2259 |
# |
|
2260 |
create database db2; |
|
2261 |
use db2; |
|
2262 |
create table t1 (a int); |
|
2263 |
create table t2 (a int, b varchar(10), primary key(a)); |
|
2264 |
insert into t2 values (1, "on"), (2, "off"), (10, "pol"), (12, "meg"); |
|
2265 |
insert into t1 values (289), (298), (234), (456), (789); |
|
2266 |
create view v1 as select * from t2; |
|
2267 |
create view v2 as select * from t1; |
|
2268 |
drop table t1, t2; |
|
2269 |
drop view v1, v2; |
|
2270 |
drop database db2; |
|
2271 |
use test; |
|
2272 |
create database db1; |
|
2273 |
use db1; |
|
2274 |
show tables; |
|
2275 |
Tables_in_db1 |
|
2276 |
t1 |
|
2277 |
t2 |
|
2278 |
v1 |
|
2279 |
v2 |
|
2280 |
select * from t2 order by a; |
|
2281 |
a b |
|
2282 |
1 on |
|
2283 |
2 off |
|
2284 |
10 pol |
|
2285 |
12 meg |
|
2286 |
drop table t1, t2; |
|
2287 |
drop database db1; |
|
2288 |
use test; |
|
2289 |
# |
|
2290 |
# dump of view |
|
2291 |
# |
|
2292 |
create table t1(a int); |
|
2293 |
create view v1 as select * from t1; |
|
2294 |
||
2295 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2296 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2297 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2298 |
/*!40101 SET NAMES utf8 */; |
|
2299 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2300 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2301 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2302 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2303 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2304 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2305 |
||
2306 |
-- |
|
2307 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2308 |
-- |
|
2309 |
DROP TABLE IF EXISTS `t1`; |
|
2310 |
SET @saved_cs_client = @@character_set_client; |
|
2311 |
SET character_set_client = utf8; |
|
2312 |
CREATE TABLE `t1` ( |
|
2313 |
`a` int(11) DEFAULT NULL |
|
2314 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2315 |
SET character_set_client = @saved_cs_client; |
|
2316 |
||
2317 |
LOCK TABLES `t1` WRITE; |
|
2318 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2319 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2320 |
UNLOCK TABLES; |
|
2321 |
DROP TABLE IF EXISTS `v1`; |
|
2322 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
2323 |
SET @saved_cs_client = @@character_set_client; |
|
2324 |
SET character_set_client = utf8; |
|
2325 |
/*!50001 CREATE TABLE `v1` ( |
|
2326 |
`a` int(11) |
|
2327 |
) */; |
|
2328 |
SET character_set_client = @saved_cs_client; |
|
2329 |
/*!50001 DROP TABLE `v1`*/; |
|
2330 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
2331 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
2332 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
2333 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
2334 |
/*!50001 SET character_set_client = latin1 */; |
|
2335 |
/*!50001 SET character_set_results = latin1 */; |
|
2336 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
2337 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
2338 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
2339 |
/*!50001 VIEW `v1` AS select `t1`.`a` AS `a` from `t1` */; |
|
2340 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
2341 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
2342 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
2343 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2344 |
||
2345 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2346 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2347 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2348 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2349 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2350 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2351 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2352 |
||
2353 |
drop view v1; |
|
2354 |
drop table t1; |
|
2355 |
# |
|
2356 |
# Bug #10213 mysqldump crashes when dumping VIEWs(on MacOS X) |
|
2357 |
# |
|
2358 |
create database mysqldump_test_db; |
|
2359 |
use mysqldump_test_db; |
|
2360 |
CREATE TABLE t2 ( |
|
2361 |
a varchar(30) default NULL, |
|
2362 |
KEY a (a(5)) |
|
2363 |
); |
|
2364 |
INSERT INTO t2 VALUES ('alfred'); |
|
2365 |
INSERT INTO t2 VALUES ('angie'); |
|
2366 |
INSERT INTO t2 VALUES ('bingo'); |
|
2367 |
INSERT INTO t2 VALUES ('waffle'); |
|
2368 |
INSERT INTO t2 VALUES ('lemon'); |
|
2369 |
create view v2 as select * from t2 where a like 'a%' with check option; |
|
2370 |
||
2371 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2372 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2373 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2374 |
/*!40101 SET NAMES utf8 */; |
|
2375 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2376 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2377 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2378 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2379 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2380 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2381 |
||
2382 |
-- |
|
2383 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2384 |
-- |
|
2385 |
DROP TABLE IF EXISTS `t2`; |
|
2386 |
SET @saved_cs_client = @@character_set_client; |
|
2387 |
SET character_set_client = utf8; |
|
2388 |
CREATE TABLE `t2` ( |
|
2389 |
`a` varchar(30) DEFAULT NULL, |
|
2390 |
KEY `a` (`a`(5)) |
|
2391 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2392 |
SET character_set_client = @saved_cs_client; |
|
2393 |
||
2394 |
LOCK TABLES `t2` WRITE; |
|
2395 |
/*!40000 ALTER TABLE `t2` DISABLE KEYS */; |
|
2396 |
INSERT INTO `t2` VALUES ('alfred'),('angie'),('bingo'),('waffle'),('lemon'); |
|
2397 |
/*!40000 ALTER TABLE `t2` ENABLE KEYS */; |
|
2398 |
UNLOCK TABLES; |
|
2399 |
DROP TABLE IF EXISTS `v2`; |
|
2400 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
2401 |
SET @saved_cs_client = @@character_set_client; |
|
2402 |
SET character_set_client = utf8; |
|
2403 |
/*!50001 CREATE TABLE `v2` ( |
|
2404 |
`a` varchar(30) |
|
2405 |
) */; |
|
2406 |
SET character_set_client = @saved_cs_client; |
|
2407 |
/*!50001 DROP TABLE `v2`*/; |
|
2408 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
2409 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
2410 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
2411 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
2412 |
/*!50001 SET character_set_client = latin1 */; |
|
2413 |
/*!50001 SET character_set_results = latin1 */; |
|
2414 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
2415 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
2416 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
2417 |
/*!50001 VIEW `v2` AS select `t2`.`a` AS `a` from `t2` where (`t2`.`a` like 'a%') */ |
|
2418 |
/*!50002 WITH CASCADED CHECK OPTION */; |
|
2419 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
2420 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
2421 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
2422 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2423 |
||
2424 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2425 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2426 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2427 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2428 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2429 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2430 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2431 |
||
2432 |
drop table t2; |
|
2433 |
drop view v2; |
|
2434 |
drop database mysqldump_test_db; |
|
2435 |
use test; |
|
2436 |
# |
|
2437 |
# Bug #9756 |
|
2438 |
# |
|
2439 |
CREATE TABLE t1 (a char(10)); |
|
2440 |
INSERT INTO t1 VALUES ('\''); |
|
2441 |
||
2442 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2443 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2444 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2445 |
/*!40101 SET NAMES utf8 */; |
|
2446 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2447 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2448 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2449 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2450 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2451 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2452 |
||
2453 |
-- |
|
2454 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2455 |
-- |
|
2456 |
DROP TABLE IF EXISTS `t1`; |
|
2457 |
SET @saved_cs_client = @@character_set_client; |
|
2458 |
SET character_set_client = utf8; |
|
2459 |
CREATE TABLE `t1` ( |
|
2460 |
`a` char(10) DEFAULT NULL |
|
2461 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2462 |
SET character_set_client = @saved_cs_client; |
|
2463 |
||
2464 |
LOCK TABLES `t1` WRITE; |
|
2465 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2466 |
INSERT INTO `t1` VALUES ('\''); |
|
2467 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2468 |
UNLOCK TABLES; |
|
2469 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2470 |
||
2471 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2472 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2473 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2474 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2475 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2476 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2477 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2478 |
||
2479 |
DROP TABLE t1; |
|
2480 |
# |
|
2481 |
# Bug #10927 mysqldump: Can't reload dump with view that consist of other view |
|
2482 |
# |
|
2483 |
create table t1(a int, b int, c varchar(30)); |
|
2484 |
insert into t1 values(1, 2, "one"), (2, 4, "two"), (3, 6, "three"); |
|
2485 |
create view v3 as |
|
2486 |
select * from t1; |
|
2487 |
create view v1 as |
|
2488 |
select * from v3 where b in (1, 2, 3, 4, 5, 6, 7); |
|
2489 |
create view v2 as |
|
2490 |
select v3.a from v3, v1 where v1.a=v3.a and v3.b=3 limit 1; |
|
2491 |
||
2492 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2493 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2494 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2495 |
/*!40101 SET NAMES utf8 */; |
|
2496 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2497 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2498 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2499 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2500 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2501 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2502 |
||
2503 |
-- |
|
2504 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2505 |
-- |
|
2506 |
DROP TABLE IF EXISTS `t1`; |
|
2507 |
SET @saved_cs_client = @@character_set_client; |
|
2508 |
SET character_set_client = utf8; |
|
2509 |
CREATE TABLE `t1` ( |
|
2510 |
`a` int(11) DEFAULT NULL, |
|
2511 |
`b` int(11) DEFAULT NULL, |
|
2512 |
`c` varchar(30) DEFAULT NULL |
|
2513 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2514 |
SET character_set_client = @saved_cs_client; |
|
2515 |
||
2516 |
LOCK TABLES `t1` WRITE; |
|
2517 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2518 |
INSERT INTO `t1` VALUES (1,2,'one'),(2,4,'two'),(3,6,'three'); |
|
2519 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2520 |
UNLOCK TABLES; |
|
2521 |
DROP TABLE IF EXISTS `v1`; |
|
2522 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
2523 |
SET @saved_cs_client = @@character_set_client; |
|
2524 |
SET character_set_client = utf8; |
|
2525 |
/*!50001 CREATE TABLE `v1` ( |
|
2526 |
`a` int(11), |
|
2527 |
`b` int(11), |
|
2528 |
`c` varchar(30) |
|
2529 |
) */; |
|
2530 |
SET character_set_client = @saved_cs_client; |
|
2531 |
DROP TABLE IF EXISTS `v2`; |
|
2532 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
2533 |
SET @saved_cs_client = @@character_set_client; |
|
2534 |
SET character_set_client = utf8; |
|
2535 |
/*!50001 CREATE TABLE `v2` ( |
|
2536 |
`a` int(11) |
|
2537 |
) */; |
|
2538 |
SET character_set_client = @saved_cs_client; |
|
2539 |
DROP TABLE IF EXISTS `v3`; |
|
2540 |
/*!50001 DROP VIEW IF EXISTS `v3`*/; |
|
2541 |
SET @saved_cs_client = @@character_set_client; |
|
2542 |
SET character_set_client = utf8; |
|
2543 |
/*!50001 CREATE TABLE `v3` ( |
|
2544 |
`a` int(11), |
|
2545 |
`b` int(11), |
|
2546 |
`c` varchar(30) |
|
2547 |
) */; |
|
2548 |
SET character_set_client = @saved_cs_client; |
|
2549 |
/*!50001 DROP TABLE `v1`*/; |
|
2550 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
2551 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
2552 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
2553 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
2554 |
/*!50001 SET character_set_client = latin1 */; |
|
2555 |
/*!50001 SET character_set_results = latin1 */; |
|
2556 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
2557 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
2558 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
2559 |
/*!50001 VIEW `v1` AS select `v3`.`a` AS `a`,`v3`.`b` AS `b`,`v3`.`c` AS `c` from `v3` where (`v3`.`b` in (1,2,3,4,5,6,7)) */; |
|
2560 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
2561 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
2562 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
2563 |
/*!50001 DROP TABLE `v2`*/; |
|
2564 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
2565 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
2566 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
2567 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
2568 |
/*!50001 SET character_set_client = latin1 */; |
|
2569 |
/*!50001 SET character_set_results = latin1 */; |
|
2570 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
2571 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
2572 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
2573 |
/*!50001 VIEW `v2` AS select `v3`.`a` AS `a` from (`v3` join `v1`) where ((`v1`.`a` = `v3`.`a`) and (`v3`.`b` = 3)) limit 1 */; |
|
2574 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
2575 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
2576 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
2577 |
/*!50001 DROP TABLE `v3`*/; |
|
2578 |
/*!50001 DROP VIEW IF EXISTS `v3`*/; |
|
2579 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
2580 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
2581 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
2582 |
/*!50001 SET character_set_client = latin1 */; |
|
2583 |
/*!50001 SET character_set_results = latin1 */; |
|
2584 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
2585 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
2586 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
2587 |
/*!50001 VIEW `v3` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b`,`t1`.`c` AS `c` from `t1` */; |
|
2588 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
2589 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
2590 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
2591 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2592 |
||
2593 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2594 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2595 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2596 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2597 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2598 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2599 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2600 |
||
2601 |
drop view v1, v2, v3; |
|
2602 |
drop table t1; |
|
2603 |
# |
|
2604 |
# Test for dumping triggers |
|
2605 |
# |
|
2606 |
CREATE TABLE t1 (a int, b bigint default NULL); |
|
2607 |
CREATE TABLE t2 (a int); |
|
2608 |
create trigger trg1 before insert on t1 for each row |
|
2609 |
begin |
|
2610 |
if new.a > 10 then |
|
2611 |
set new.a := 10; |
|
2612 |
set new.a := 11; |
|
2613 |
end if; |
|
2614 |
end| |
|
2615 |
create trigger trg2 before update on t1 for each row begin |
|
2616 |
if old.a % 2 = 0 then set new.b := 12; end if; |
|
2617 |
end| |
|
2618 |
set sql_mode="traditional"| |
|
2619 |
create trigger trg3 after update on t1 for each row |
|
2620 |
begin |
|
2621 |
if new.a = -1 then |
|
2622 |
set @fired:= "Yes"; |
|
2623 |
end if; |
|
2624 |
end| |
|
2625 |
create trigger trg4 before insert on t2 for each row |
|
2626 |
begin |
|
2627 |
if new.a > 10 then |
|
2628 |
set @fired:= "No"; |
|
2629 |
end if; |
|
2630 |
end| |
|
2631 |
set sql_mode=default| |
|
2632 |
show triggers like "t1"; |
|
2633 |
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation |
|
2634 |
trg1 INSERT t1 begin |
|
2635 |
if new.a > 10 then |
|
2636 |
set new.a := 10; |
|
2637 |
set new.a := 11; |
|
2638 |
end if; |
|
2639 |
end BEFORE 0000-00-00 00:00:00 root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2640 |
trg2 UPDATE t1 begin |
|
2641 |
if old.a % 2 = 0 then set new.b := 12; end if; |
|
2642 |
end BEFORE 0000-00-00 00:00:00 root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2643 |
trg3 UPDATE t1 begin |
|
2644 |
if new.a = -1 then |
|
2645 |
set @fired:= "Yes"; |
|
2646 |
end if; |
|
2647 |
end AFTER 0000-00-00 00:00:00 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2648 |
INSERT INTO t1 (a) VALUES (1),(2),(3),(22); |
|
2649 |
update t1 set a = 4 where a=3; |
|
2650 |
||
2651 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2652 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2653 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2654 |
/*!40101 SET NAMES utf8 */; |
|
2655 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2656 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2657 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2658 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2659 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2660 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2661 |
||
2662 |
-- |
|
2663 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2664 |
-- |
|
2665 |
||
2666 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
2667 |
||
2668 |
USE `test`; |
|
2669 |
DROP TABLE IF EXISTS `t1`; |
|
2670 |
SET @saved_cs_client = @@character_set_client; |
|
2671 |
SET character_set_client = utf8; |
|
2672 |
CREATE TABLE `t1` ( |
|
2673 |
`a` int(11) DEFAULT NULL, |
|
2674 |
`b` bigint(20) DEFAULT NULL |
|
2675 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2676 |
SET character_set_client = @saved_cs_client; |
|
2677 |
||
2678 |
LOCK TABLES `t1` WRITE; |
|
2679 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2680 |
INSERT INTO `t1` VALUES (1,NULL),(2,NULL),(4,NULL),(11,NULL); |
|
2681 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2682 |
UNLOCK TABLES; |
|
2683 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
2684 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
2685 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
2686 |
/*!50003 SET character_set_client = latin1 */ ; |
|
2687 |
/*!50003 SET character_set_results = latin1 */ ; |
|
2688 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
2689 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
2690 |
/*!50003 SET sql_mode = '' */ ; |
|
2691 |
DELIMITER ;; |
|
2692 |
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg1 before insert on t1 for each row |
|
2693 |
begin |
|
2694 |
if new.a > 10 then |
|
2695 |
set new.a := 10; |
|
2696 |
set new.a := 11; |
|
2697 |
end if; |
|
2698 |
end */;; |
|
2699 |
DELIMITER ; |
|
2700 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
2701 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
2702 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
2703 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
2704 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
2705 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
2706 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
2707 |
/*!50003 SET character_set_client = latin1 */ ; |
|
2708 |
/*!50003 SET character_set_results = latin1 */ ; |
|
2709 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
2710 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
2711 |
/*!50003 SET sql_mode = '' */ ; |
|
2712 |
DELIMITER ;; |
|
2713 |
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg2 before update on t1 for each row begin |
|
2714 |
if old.a % 2 = 0 then set new.b := 12; end if; |
|
2715 |
end */;; |
|
2716 |
DELIMITER ; |
|
2717 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
2718 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
2719 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
2720 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
2721 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
2722 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
2723 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
2724 |
/*!50003 SET character_set_client = latin1 */ ; |
|
2725 |
/*!50003 SET character_set_results = latin1 */ ; |
|
2726 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
2727 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
2728 |
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER' */ ; |
|
2729 |
DELIMITER ;; |
|
2730 |
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg3 after update on t1 for each row |
|
2731 |
begin |
|
2732 |
if new.a = -1 then |
|
2733 |
set @fired:= "Yes"; |
|
2734 |
end if; |
|
2735 |
end */;; |
|
2736 |
DELIMITER ; |
|
2737 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
2738 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
2739 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
2740 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
2741 |
DROP TABLE IF EXISTS `t2`; |
|
2742 |
SET @saved_cs_client = @@character_set_client; |
|
2743 |
SET character_set_client = utf8; |
|
2744 |
CREATE TABLE `t2` ( |
|
2745 |
`a` int(11) DEFAULT NULL |
|
2746 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2747 |
SET character_set_client = @saved_cs_client; |
|
2748 |
||
2749 |
LOCK TABLES `t2` WRITE; |
|
2750 |
/*!40000 ALTER TABLE `t2` DISABLE KEYS */; |
|
2751 |
/*!40000 ALTER TABLE `t2` ENABLE KEYS */; |
|
2752 |
UNLOCK TABLES; |
|
2753 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
2754 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
2755 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
2756 |
/*!50003 SET character_set_client = latin1 */ ; |
|
2757 |
/*!50003 SET character_set_results = latin1 */ ; |
|
2758 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
2759 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
2760 |
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER' */ ; |
|
2761 |
DELIMITER ;; |
|
2762 |
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 trigger trg4 before insert on t2 for each row |
|
2763 |
begin |
|
2764 |
if new.a > 10 then |
|
2765 |
set @fired:= "No"; |
|
2766 |
end if; |
|
2767 |
end */;; |
|
2768 |
DELIMITER ; |
|
2769 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
2770 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
2771 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
2772 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
2773 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2774 |
||
2775 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2776 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2777 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2778 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2779 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2780 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2781 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2782 |
||
2783 |
||
2784 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2785 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2786 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2787 |
/*!40101 SET NAMES utf8 */; |
|
2788 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2789 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2790 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2791 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2792 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2793 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2794 |
||
2795 |
-- |
|
2796 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2797 |
-- |
|
2798 |
||
2799 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
2800 |
||
2801 |
USE `test`; |
|
2802 |
DROP TABLE IF EXISTS `t1`; |
|
2803 |
SET @saved_cs_client = @@character_set_client; |
|
2804 |
SET character_set_client = utf8; |
|
2805 |
CREATE TABLE `t1` ( |
|
2806 |
`a` int(11) DEFAULT NULL, |
|
2807 |
`b` bigint(20) DEFAULT NULL |
|
2808 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2809 |
SET character_set_client = @saved_cs_client; |
|
2810 |
||
2811 |
LOCK TABLES `t1` WRITE; |
|
2812 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2813 |
INSERT INTO `t1` VALUES (1,NULL),(2,NULL),(4,NULL),(11,NULL); |
|
2814 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2815 |
UNLOCK TABLES; |
|
2816 |
DROP TABLE IF EXISTS `t2`; |
|
2817 |
SET @saved_cs_client = @@character_set_client; |
|
2818 |
SET character_set_client = utf8; |
|
2819 |
CREATE TABLE `t2` ( |
|
2820 |
`a` int(11) DEFAULT NULL |
|
2821 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2822 |
SET character_set_client = @saved_cs_client; |
|
2823 |
||
2824 |
LOCK TABLES `t2` WRITE; |
|
2825 |
/*!40000 ALTER TABLE `t2` DISABLE KEYS */; |
|
2826 |
/*!40000 ALTER TABLE `t2` ENABLE KEYS */; |
|
2827 |
UNLOCK TABLES; |
|
2828 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
2829 |
||
2830 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
2831 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
2832 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
2833 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
2834 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
2835 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
2836 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
2837 |
||
2838 |
drop table t1; |
|
2839 |
show tables; |
|
2840 |
Tables_in_test |
|
2841 |
t1 |
|
2842 |
t2 |
|
2843 |
show triggers; |
|
2844 |
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation |
|
2845 |
trg1 INSERT t1 begin |
|
2846 |
if new.a > 10 then |
|
2847 |
set new.a := 10; |
|
2848 |
set new.a := 11; |
|
2849 |
end if; |
|
2850 |
end BEFORE # root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2851 |
trg2 UPDATE t1 begin |
|
2852 |
if old.a % 2 = 0 then set new.b := 12; end if; |
|
2853 |
end BEFORE # root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2854 |
trg3 UPDATE t1 begin |
|
2855 |
if new.a = -1 then |
|
2856 |
set @fired:= "Yes"; |
|
2857 |
end if; |
|
2858 |
end AFTER # STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2859 |
trg4 INSERT t2 begin |
|
2860 |
if new.a > 10 then |
|
2861 |
set @fired:= "No"; |
|
2862 |
end if; |
|
2863 |
end BEFORE # STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2864 |
DROP TABLE t1, t2; |
|
2865 |
# |
|
2866 |
# Bugs #9136, #12917: problems with --defaults-extra-file option |
|
2867 |
# |
|
2868 |
--port=1234 |
|
2869 |
--port=1234 |
|
2870 |
# |
|
2871 |
# Test of fix to BUG 12597 |
|
2872 |
# |
|
2873 |
DROP TABLE IF EXISTS `test1`; |
|
2874 |
Warnings: |
|
2875 |
Note 1051 Unknown table 'test1' |
|
2876 |
CREATE TABLE `test1` ( |
|
2877 |
`a1` int(11) default NULL |
|
2878 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2879 |
DROP TABLE IF EXISTS `test2`; |
|
2880 |
Warnings: |
|
2881 |
Note 1051 Unknown table 'test2' |
|
2882 |
CREATE TABLE `test2` ( |
|
2883 |
`a2` int(11) default NULL |
|
2884 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2885 |
CREATE TRIGGER `testref` BEFORE INSERT ON `test1` FOR EACH ROW BEGIN |
|
2886 |
INSERT INTO test2 SET a2 = NEW.a1; END // |
|
2887 |
INSERT INTO `test1` VALUES (1); |
|
2888 |
SELECT * FROM `test2`; |
|
2889 |
a2 |
|
2890 |
1 |
|
2891 |
SHOW TRIGGERS; |
|
2892 |
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation |
|
2893 |
testref INSERT test1 BEGIN |
|
2894 |
INSERT INTO test2 SET a2 = NEW.a1; END BEFORE NULL root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
2895 |
SELECT * FROM `test1`; |
|
2896 |
a1 |
|
2897 |
1 |
|
2898 |
SELECT * FROM `test2`; |
|
2899 |
a2 |
|
2900 |
1 |
|
2901 |
DROP TRIGGER testref; |
|
2902 |
DROP TABLE test1; |
|
2903 |
DROP TABLE test2; |
|
2904 |
# |
|
2905 |
# BUG#9056 - mysqldump does not dump routines |
|
2906 |
# |
|
2907 |
DROP TABLE IF EXISTS t1; |
|
2908 |
DROP FUNCTION IF EXISTS bug9056_func1; |
|
2909 |
DROP FUNCTION IF EXISTS bug9056_func2; |
|
2910 |
DROP PROCEDURE IF EXISTS bug9056_proc1; |
|
2911 |
DROP PROCEDURE IF EXISTS bug9056_proc2; |
|
2912 |
DROP PROCEDURE IF EXISTS `a'b`; |
|
2913 |
CREATE TABLE t1 (id int); |
|
2914 |
INSERT INTO t1 VALUES(1), (2), (3), (4), (5); |
|
2915 |
CREATE FUNCTION `bug9056_func1`(a INT, b INT) RETURNS int(11) RETURN a+b // |
|
2916 |
CREATE PROCEDURE `bug9056_proc1`(IN a INT, IN b INT, OUT c INT) |
|
2917 |
BEGIN SELECT a+b INTO c; end // |
|
2918 |
create function bug9056_func2(f1 char binary) returns char |
|
2919 |
begin |
|
2920 |
set f1= concat( 'hello', f1 ); |
|
2921 |
return f1; |
|
2922 |
end // |
|
2923 |
CREATE PROCEDURE bug9056_proc2(OUT a INT) |
|
2924 |
BEGIN |
|
2925 |
select sum(id) from t1 into a; |
|
2926 |
END // |
|
2927 |
set sql_mode='ansi'; |
|
2928 |
create procedure `a'b` () select 1; |
|
2929 |
set sql_mode=''; |
|
2930 |
||
2931 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
2932 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
2933 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
2934 |
/*!40101 SET NAMES utf8 */; |
|
2935 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
2936 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
2937 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
2938 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
2939 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
2940 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
2941 |
||
2942 |
-- |
|
2943 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
2944 |
-- |
|
2945 |
||
2946 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
2947 |
||
2948 |
USE `test`; |
|
2949 |
DROP TABLE IF EXISTS `t1`; |
|
2950 |
SET @saved_cs_client = @@character_set_client; |
|
2951 |
SET character_set_client = utf8; |
|
2952 |
CREATE TABLE `t1` ( |
|
2953 |
`id` int(11) DEFAULT NULL |
|
2954 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
2955 |
SET character_set_client = @saved_cs_client; |
|
2956 |
||
2957 |
LOCK TABLES `t1` WRITE; |
|
2958 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
2959 |
INSERT INTO `t1` VALUES (1),(2),(3),(4),(5); |
|
2960 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
2961 |
UNLOCK TABLES; |
|
2962 |
/*!50003 DROP FUNCTION IF EXISTS `bug9056_func1` */; |
|
2963 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
2964 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
2965 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
2966 |
/*!50003 SET character_set_client = latin1 */ ; |
|
2967 |
/*!50003 SET character_set_results = latin1 */ ; |
|
2968 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
2969 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
2970 |
/*!50003 SET sql_mode = '' */ ; |
|
2971 |
DELIMITER ;; |
|
2972 |
/*!50003 CREATE*/ /*!50020 DEFINER=`root`@`localhost`*/ /*!50003 FUNCTION `bug9056_func1`(a INT, b INT) RETURNS int(11) |
|
2973 |
RETURN a+b */;; |
|
2974 |
DELIMITER ; |
|
2975 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
2976 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
2977 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
2978 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
2979 |
/*!50003 DROP FUNCTION IF EXISTS `bug9056_func2` */; |
|
2980 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
2981 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
2982 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
2983 |
/*!50003 SET character_set_client = latin1 */ ; |
|
2984 |
/*!50003 SET character_set_results = latin1 */ ; |
|
2985 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
2986 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
2987 |
/*!50003 SET sql_mode = '' */ ; |
|
2988 |
DELIMITER ;; |
|
2989 |
/*!50003 CREATE*/ /*!50020 DEFINER=`root`@`localhost`*/ /*!50003 FUNCTION `bug9056_func2`(f1 char binary) RETURNS char(1) CHARSET latin1 |
|
2990 |
begin |
|
2991 |
set f1= concat( 'hello', f1 ); |
|
2992 |
return f1; |
|
2993 |
end */;; |
|
2994 |
DELIMITER ; |
|
2995 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
2996 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
2997 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
2998 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
2999 |
/*!50003 DROP PROCEDURE IF EXISTS `a'b` */; |
|
3000 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
3001 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
3002 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
3003 |
/*!50003 SET character_set_client = latin1 */ ; |
|
3004 |
/*!50003 SET character_set_results = latin1 */ ; |
|
3005 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
3006 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
3007 |
/*!50003 SET sql_mode = 'REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI' */ ; |
|
3008 |
DELIMITER ;; |
|
3009 |
/*!50003 CREATE*/ /*!50020 DEFINER="root"@"localhost"*/ /*!50003 PROCEDURE "a'b"() |
|
3010 |
select 1 */;; |
|
3011 |
DELIMITER ; |
|
3012 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
3013 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
3014 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
3015 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
3016 |
/*!50003 DROP PROCEDURE IF EXISTS `bug9056_proc1` */; |
|
3017 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
3018 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
3019 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
3020 |
/*!50003 SET character_set_client = latin1 */ ; |
|
3021 |
/*!50003 SET character_set_results = latin1 */ ; |
|
3022 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
3023 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
3024 |
/*!50003 SET sql_mode = '' */ ; |
|
3025 |
DELIMITER ;; |
|
3026 |
/*!50003 CREATE*/ /*!50020 DEFINER=`root`@`localhost`*/ /*!50003 PROCEDURE `bug9056_proc1`(IN a INT, IN b INT, OUT c INT) |
|
3027 |
BEGIN SELECT a+b INTO c; end */;; |
|
3028 |
DELIMITER ; |
|
3029 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
3030 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
3031 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
3032 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
3033 |
/*!50003 DROP PROCEDURE IF EXISTS `bug9056_proc2` */; |
|
3034 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
3035 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
3036 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
3037 |
/*!50003 SET character_set_client = latin1 */ ; |
|
3038 |
/*!50003 SET character_set_results = latin1 */ ; |
|
3039 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
3040 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
3041 |
/*!50003 SET sql_mode = '' */ ; |
|
3042 |
DELIMITER ;; |
|
3043 |
/*!50003 CREATE*/ /*!50020 DEFINER=`root`@`localhost`*/ /*!50003 PROCEDURE `bug9056_proc2`(OUT a INT) |
|
3044 |
BEGIN |
|
3045 |
select sum(id) from t1 into a; |
|
3046 |
END */;; |
|
3047 |
DELIMITER ; |
|
3048 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
3049 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
3050 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
3051 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
3052 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3053 |
||
3054 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3055 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3056 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3057 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3058 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3059 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3060 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3061 |
||
3062 |
DROP FUNCTION bug9056_func1; |
|
3063 |
DROP FUNCTION bug9056_func2; |
|
3064 |
DROP PROCEDURE bug9056_proc1; |
|
3065 |
DROP PROCEDURE bug9056_proc2; |
|
3066 |
DROP PROCEDURE `a'b`; |
|
3067 |
drop table t1; |
|
3068 |
# |
|
3069 |
# BUG# 13052 - mysqldump timestamp reloads broken |
|
3070 |
# |
|
3071 |
drop table if exists t1; |
|
3072 |
create table t1 (`d` timestamp, unique (`d`)); |
|
3073 |
set time_zone='+00:00'; |
|
3074 |
insert into t1 values ('2003-10-25 22:00:00'),('2003-10-25 23:00:00'); |
|
3075 |
select * from t1; |
|
3076 |
d |
|
3077 |
2003-10-25 22:00:00 |
|
3078 |
2003-10-25 23:00:00 |
|
3079 |
set time_zone='Europe/Moscow'; |
|
3080 |
select * from t1; |
|
3081 |
d |
|
3082 |
2003-10-26 02:00:00 |
|
3083 |
2003-10-26 02:00:00 |
|
3084 |
set global time_zone='Europe/Moscow'; |
|
3085 |
||
3086 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3087 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3088 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3089 |
/*!40101 SET NAMES utf8 */; |
|
3090 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3091 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3092 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3093 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3094 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3095 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3096 |
||
3097 |
-- |
|
3098 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3099 |
-- |
|
3100 |
||
3101 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3102 |
||
3103 |
USE `test`; |
|
3104 |
DROP TABLE IF EXISTS `t1`; |
|
3105 |
SET @saved_cs_client = @@character_set_client; |
|
3106 |
SET character_set_client = utf8; |
|
3107 |
CREATE TABLE `t1` ( |
|
3108 |
`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
|
3109 |
UNIQUE KEY `d` (`d`) |
|
3110 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3111 |
SET character_set_client = @saved_cs_client; |
|
3112 |
||
3113 |
LOCK TABLES `t1` WRITE; |
|
3114 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3115 |
INSERT INTO `t1` VALUES ('2003-10-25 22:00:00'),('2003-10-25 23:00:00'); |
|
3116 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3117 |
UNLOCK TABLES; |
|
3118 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3119 |
||
3120 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3121 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3122 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3123 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3124 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3125 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3126 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3127 |
||
3128 |
||
3129 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3130 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3131 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3132 |
/*!40101 SET NAMES utf8 */; |
|
3133 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3134 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3135 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3136 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3137 |
||
3138 |
-- |
|
3139 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3140 |
-- |
|
3141 |
||
3142 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3143 |
||
3144 |
USE `test`; |
|
3145 |
DROP TABLE IF EXISTS `t1`; |
|
3146 |
SET @saved_cs_client = @@character_set_client; |
|
3147 |
SET character_set_client = utf8; |
|
3148 |
CREATE TABLE `t1` ( |
|
3149 |
`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
|
3150 |
UNIQUE KEY `d` (`d`) |
|
3151 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3152 |
SET character_set_client = @saved_cs_client; |
|
3153 |
||
3154 |
LOCK TABLES `t1` WRITE; |
|
3155 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3156 |
INSERT INTO `t1` VALUES ('2003-10-26 02:00:00'),('2003-10-26 02:00:00'); |
|
3157 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3158 |
UNLOCK TABLES; |
|
3159 |
||
3160 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3161 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3162 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3163 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3164 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3165 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3166 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3167 |
||
3168 |
drop table t1; |
|
3169 |
set global time_zone=default; |
|
3170 |
set time_zone=default; |
|
3171 |
# |
|
3172 |
# Test of fix to BUG 13146 - ansi quotes break loading of triggers |
|
3173 |
# |
|
3174 |
DROP TABLE IF EXISTS `t1 test`; |
|
3175 |
DROP TABLE IF EXISTS `t2 test`; |
|
3176 |
CREATE TABLE `t1 test` ( |
|
3177 |
`a1` int(11) default NULL |
|
3178 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3179 |
CREATE TABLE `t2 test` ( |
|
3180 |
`a2` int(11) default NULL |
|
3181 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3182 |
CREATE TRIGGER `test trig` BEFORE INSERT ON `t1 test` FOR EACH ROW BEGIN |
|
3183 |
INSERT INTO `t2 test` SET a2 = NEW.a1; END // |
|
3184 |
INSERT INTO `t1 test` VALUES (1); |
|
3185 |
INSERT INTO `t1 test` VALUES (2); |
|
3186 |
INSERT INTO `t1 test` VALUES (3); |
|
3187 |
SELECT * FROM `t2 test`; |
|
3188 |
a2 |
|
3189 |
1 |
|
3190 |
2 |
|
3191 |
3 |
|
3192 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3193 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3194 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3195 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3196 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */; |
|
3197 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3198 |
||
3199 |
-- |
|
3200 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3201 |
-- |
|
3202 |
DROP TABLE IF EXISTS "t1 test"; |
|
3203 |
SET @saved_cs_client = @@character_set_client; |
|
3204 |
SET character_set_client = utf8; |
|
3205 |
CREATE TABLE "t1 test" ( |
|
3206 |
"a1" int(11) DEFAULT NULL |
|
3207 |
); |
|
3208 |
SET character_set_client = @saved_cs_client; |
|
3209 |
||
3210 |
LOCK TABLES "t1 test" WRITE; |
|
3211 |
/*!40000 ALTER TABLE "t1 test" DISABLE KEYS */; |
|
3212 |
INSERT INTO "t1 test" VALUES (1),(2),(3); |
|
3213 |
/*!40000 ALTER TABLE "t1 test" ENABLE KEYS */; |
|
3214 |
UNLOCK TABLES; |
|
3215 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
3216 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
3217 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
3218 |
/*!50003 SET character_set_client = latin1 */ ; |
|
3219 |
/*!50003 SET character_set_results = latin1 */ ; |
|
3220 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
3221 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
3222 |
/*!50003 SET sql_mode = '' */ ; |
|
3223 |
DELIMITER ;; |
|
3224 |
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `test trig` BEFORE INSERT ON `t1 test` FOR EACH ROW BEGIN |
|
3225 |
INSERT INTO `t2 test` SET a2 = NEW.a1; END */;; |
|
3226 |
DELIMITER ; |
|
3227 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
3228 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
3229 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
3230 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
3231 |
DROP TABLE IF EXISTS "t2 test"; |
|
3232 |
SET @saved_cs_client = @@character_set_client; |
|
3233 |
SET character_set_client = utf8; |
|
3234 |
CREATE TABLE "t2 test" ( |
|
3235 |
"a2" int(11) DEFAULT NULL |
|
3236 |
); |
|
3237 |
SET character_set_client = @saved_cs_client; |
|
3238 |
||
3239 |
LOCK TABLES "t2 test" WRITE; |
|
3240 |
/*!40000 ALTER TABLE "t2 test" DISABLE KEYS */; |
|
3241 |
INSERT INTO "t2 test" VALUES (1),(2),(3); |
|
3242 |
/*!40000 ALTER TABLE "t2 test" ENABLE KEYS */; |
|
3243 |
UNLOCK TABLES; |
|
3244 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3245 |
||
3246 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3247 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3248 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3249 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3250 |
||
3251 |
DROP TRIGGER `test trig`; |
|
3252 |
DROP TABLE `t1 test`; |
|
3253 |
DROP TABLE `t2 test`; |
|
3254 |
# |
|
3255 |
# BUG# 12838 mysqldump -x with views exits with error |
|
3256 |
# |
|
3257 |
drop table if exists t1; |
|
3258 |
create table t1 (a int, b varchar(32), c varchar(32)); |
|
3259 |
insert into t1 values (1, 'first value', 'xxxx'); |
|
3260 |
insert into t1 values (2, 'second value', 'tttt'); |
|
3261 |
insert into t1 values (3, 'third value', 'vvv vvv'); |
|
3262 |
create view v1 as select * from t1; |
|
3263 |
create view v0 as select * from v1; |
|
3264 |
create view v2 as select * from v0; |
|
3265 |
select * from v2; |
|
3266 |
a b c |
|
3267 |
1 first value xxxx |
|
3268 |
2 second value tttt |
|
3269 |
3 third value vvv vvv |
|
3270 |
||
3271 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3272 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3273 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3274 |
/*!40101 SET NAMES utf8 */; |
|
3275 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3276 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3277 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3278 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3279 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3280 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3281 |
||
3282 |
-- |
|
3283 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3284 |
-- |
|
3285 |
||
3286 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3287 |
||
3288 |
USE `test`; |
|
3289 |
DROP TABLE IF EXISTS `t1`; |
|
3290 |
SET @saved_cs_client = @@character_set_client; |
|
3291 |
SET character_set_client = utf8; |
|
3292 |
CREATE TABLE `t1` ( |
|
3293 |
`a` int(11) DEFAULT NULL, |
|
3294 |
`b` varchar(32) DEFAULT NULL, |
|
3295 |
`c` varchar(32) DEFAULT NULL |
|
3296 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3297 |
SET character_set_client = @saved_cs_client; |
|
3298 |
||
3299 |
LOCK TABLES `t1` WRITE; |
|
3300 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3301 |
INSERT INTO `t1` VALUES (1,'first value','xxxx'),(2,'second value','tttt'),(3,'third value','vvv vvv'); |
|
3302 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3303 |
UNLOCK TABLES; |
|
3304 |
DROP TABLE IF EXISTS `v0`; |
|
3305 |
/*!50001 DROP VIEW IF EXISTS `v0`*/; |
|
3306 |
SET @saved_cs_client = @@character_set_client; |
|
3307 |
SET character_set_client = utf8; |
|
3308 |
/*!50001 CREATE TABLE `v0` ( |
|
3309 |
`a` int(11), |
|
3310 |
`b` varchar(32), |
|
3311 |
`c` varchar(32) |
|
3312 |
) */; |
|
3313 |
SET character_set_client = @saved_cs_client; |
|
3314 |
DROP TABLE IF EXISTS `v1`; |
|
3315 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
3316 |
SET @saved_cs_client = @@character_set_client; |
|
3317 |
SET character_set_client = utf8; |
|
3318 |
/*!50001 CREATE TABLE `v1` ( |
|
3319 |
`a` int(11), |
|
3320 |
`b` varchar(32), |
|
3321 |
`c` varchar(32) |
|
3322 |
) */; |
|
3323 |
SET character_set_client = @saved_cs_client; |
|
3324 |
DROP TABLE IF EXISTS `v2`; |
|
3325 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
3326 |
SET @saved_cs_client = @@character_set_client; |
|
3327 |
SET character_set_client = utf8; |
|
3328 |
/*!50001 CREATE TABLE `v2` ( |
|
3329 |
`a` int(11), |
|
3330 |
`b` varchar(32), |
|
3331 |
`c` varchar(32) |
|
3332 |
) */; |
|
3333 |
SET character_set_client = @saved_cs_client; |
|
3334 |
||
3335 |
USE `test`; |
|
3336 |
/*!50001 DROP TABLE `v0`*/; |
|
3337 |
/*!50001 DROP VIEW IF EXISTS `v0`*/; |
|
3338 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3339 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3340 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3341 |
/*!50001 SET character_set_client = latin1 */; |
|
3342 |
/*!50001 SET character_set_results = latin1 */; |
|
3343 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3344 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3345 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3346 |
/*!50001 VIEW `v0` AS select `v1`.`a` AS `a`,`v1`.`b` AS `b`,`v1`.`c` AS `c` from `v1` */; |
|
3347 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3348 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3349 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3350 |
/*!50001 DROP TABLE `v1`*/; |
|
3351 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
3352 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3353 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3354 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3355 |
/*!50001 SET character_set_client = latin1 */; |
|
3356 |
/*!50001 SET character_set_results = latin1 */; |
|
3357 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3358 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3359 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3360 |
/*!50001 VIEW `v1` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b`,`t1`.`c` AS `c` from `t1` */; |
|
3361 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3362 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3363 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3364 |
/*!50001 DROP TABLE `v2`*/; |
|
3365 |
/*!50001 DROP VIEW IF EXISTS `v2`*/; |
|
3366 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3367 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3368 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3369 |
/*!50001 SET character_set_client = latin1 */; |
|
3370 |
/*!50001 SET character_set_results = latin1 */; |
|
3371 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3372 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3373 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3374 |
/*!50001 VIEW `v2` AS select `v0`.`a` AS `a`,`v0`.`b` AS `b`,`v0`.`c` AS `c` from `v0` */; |
|
3375 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3376 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3377 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3378 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3379 |
||
3380 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3381 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3382 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3383 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3384 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3385 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3386 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3387 |
||
3388 |
drop view v2; |
|
3389 |
drop view v0; |
|
3390 |
drop view v1; |
|
3391 |
drop table t1; |
|
3392 |
# |
|
3393 |
# BUG#14554 - mysqldump does not separate words "ROW" and "BEGIN" |
|
3394 |
# for tables with trigger created in the IGNORE_SPACE sql mode. |
|
3395 |
# |
|
3396 |
SET @old_sql_mode = @@SQL_MODE; |
|
3397 |
SET SQL_MODE = IGNORE_SPACE; |
|
3398 |
CREATE TABLE t1 (a INT); |
|
3399 |
CREATE TRIGGER tr1 BEFORE INSERT ON t1 |
|
3400 |
FOR EACH ROW |
|
3401 |
BEGIN |
|
3402 |
SET new.a = 0; |
|
3403 |
END| |
|
3404 |
SET SQL_MODE = @old_sql_mode; |
|
3405 |
||
3406 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3407 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3408 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3409 |
/*!40101 SET NAMES utf8 */; |
|
3410 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3411 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3412 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3413 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3414 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3415 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3416 |
||
3417 |
-- |
|
3418 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3419 |
-- |
|
3420 |
||
3421 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3422 |
||
3423 |
USE `test`; |
|
3424 |
DROP TABLE IF EXISTS `t1`; |
|
3425 |
SET @saved_cs_client = @@character_set_client; |
|
3426 |
SET character_set_client = utf8; |
|
3427 |
CREATE TABLE `t1` ( |
|
3428 |
`a` int(11) DEFAULT NULL |
|
3429 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3430 |
SET character_set_client = @saved_cs_client; |
|
3431 |
||
3432 |
LOCK TABLES `t1` WRITE; |
|
3433 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3434 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3435 |
UNLOCK TABLES; |
|
3436 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
3437 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
3438 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
3439 |
/*!50003 SET character_set_client = latin1 */ ; |
|
3440 |
/*!50003 SET character_set_results = latin1 */ ; |
|
3441 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
3442 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
3443 |
/*!50003 SET sql_mode = 'IGNORE_SPACE' */ ; |
|
3444 |
DELIMITER ;; |
|
3445 |
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER tr1 BEFORE INSERT ON t1 |
|
3446 |
FOR EACH ROW |
|
3447 |
BEGIN |
|
3448 |
SET new.a = 0; |
|
3449 |
END */;; |
|
3450 |
DELIMITER ; |
|
3451 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
3452 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
3453 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
3454 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
3455 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3456 |
||
3457 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3458 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3459 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3460 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3461 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3462 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3463 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3464 |
||
3465 |
DROP TRIGGER tr1; |
|
3466 |
DROP TABLE t1; |
|
3467 |
# |
|
3468 |
# Bug #13318: Bad result with empty field and --hex-blob |
|
3469 |
# |
|
3470 |
create table t1 (a binary(1), b blob); |
|
3471 |
insert into t1 values ('',''); |
|
3472 |
||
3473 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3474 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3475 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3476 |
/*!40101 SET NAMES utf8 */; |
|
3477 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3478 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3479 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3480 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3481 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3482 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3483 |
||
3484 |
-- |
|
3485 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3486 |
-- |
|
3487 |
DROP TABLE IF EXISTS `t1`; |
|
3488 |
SET @saved_cs_client = @@character_set_client; |
|
3489 |
SET character_set_client = utf8; |
|
3490 |
CREATE TABLE `t1` ( |
|
3491 |
`a` binary(1) DEFAULT NULL, |
|
3492 |
`b` blob |
|
3493 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3494 |
SET character_set_client = @saved_cs_client; |
|
3495 |
||
3496 |
LOCK TABLES `t1` WRITE; |
|
3497 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3498 |
INSERT INTO `t1` VALUES (0x00,''); |
|
3499 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3500 |
UNLOCK TABLES; |
|
3501 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3502 |
||
3503 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3504 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3505 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3506 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3507 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3508 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3509 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3510 |
||
3511 |
||
3512 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3513 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3514 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3515 |
/*!40101 SET NAMES utf8 */; |
|
3516 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3517 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3518 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3519 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3520 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3521 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3522 |
||
3523 |
-- |
|
3524 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3525 |
-- |
|
3526 |
DROP TABLE IF EXISTS `t1`; |
|
3527 |
SET @saved_cs_client = @@character_set_client; |
|
3528 |
SET character_set_client = utf8; |
|
3529 |
CREATE TABLE `t1` ( |
|
3530 |
`a` binary(1) DEFAULT NULL, |
|
3531 |
`b` blob |
|
3532 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3533 |
SET character_set_client = @saved_cs_client; |
|
3534 |
||
3535 |
LOCK TABLES `t1` WRITE; |
|
3536 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3537 |
INSERT INTO `t1` VALUES (0x00,''); |
|
3538 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3539 |
UNLOCK TABLES; |
|
3540 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3541 |
||
3542 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3543 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3544 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3545 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3546 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3547 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3548 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3549 |
||
3550 |
drop table t1; |
|
3551 |
# |
|
3552 |
# Bug 14871 Invalid view dump output |
|
3553 |
# |
|
3554 |
create table t1 (a int); |
|
3555 |
insert into t1 values (289), (298), (234), (456), (789); |
|
3556 |
create definer = CURRENT_USER view v1 as select * from t1; |
|
3557 |
create SQL SECURITY INVOKER view v2 as select * from t1; |
|
3558 |
create view v3 as select * from t1 with local check option; |
|
3559 |
create algorithm=merge view v4 as select * from t1 with cascaded check option; |
|
3560 |
create algorithm =temptable view v5 as select * from t1; |
|
3561 |
drop table t1; |
|
3562 |
drop view v1, v2, v3, v4, v5; |
|
3563 |
show tables; |
|
3564 |
Tables_in_test |
|
3565 |
t1 |
|
3566 |
v1 |
|
3567 |
v2 |
|
3568 |
v3 |
|
3569 |
v4 |
|
3570 |
v5 |
|
3571 |
select * from v3 order by a; |
|
3572 |
a |
|
3573 |
234 |
|
3574 |
289 |
|
3575 |
298 |
|
3576 |
456 |
|
3577 |
789 |
|
3578 |
drop table t1; |
|
3579 |
drop view v1, v2, v3, v4, v5; |
|
3580 |
# |
|
3581 |
# Bug #16878 dump of trigger |
|
3582 |
# |
|
3583 |
create table t1 (a int, created datetime); |
|
3584 |
create table t2 (b int, created datetime); |
|
3585 |
create trigger tr1 before insert on t1 for each row set |
|
3586 |
new.created=now(); |
|
3587 |
create trigger tr2 after insert on t1 |
|
3588 |
for each row |
|
3589 |
begin |
|
3590 |
insert into t2 set b=new.a and created=new.created; |
|
3591 |
end| |
|
3592 |
drop trigger tr1; |
|
3593 |
drop trigger tr2; |
|
3594 |
drop table t1, t2; |
|
3595 |
show triggers; |
|
3596 |
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation |
|
3597 |
tr1 INSERT t1 set |
|
3598 |
new.created=now() BEFORE # root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
3599 |
tr2 INSERT t1 begin |
|
3600 |
insert into t2 set b=new.a and created=new.created; |
|
3601 |
end AFTER # root@localhost latin1 latin1_swedish_ci latin1_swedish_ci |
|
3602 |
drop trigger tr1; |
|
3603 |
drop trigger tr2; |
|
3604 |
drop table t1, t2; |
|
3605 |
# |
|
3606 |
# Bug#18462 mysqldump does not dump view structures correctly |
|
3607 |
# |
|
3608 |
create table t (qty int, price int); |
|
3609 |
insert into t values(3, 50); |
|
3610 |
insert into t values(5, 51); |
|
3611 |
create view v1 as select qty, price, qty*price as value from t; |
|
3612 |
create view v2 as select qty from v1; |
|
3613 |
mysqldump { |
|
3614 |
||
3615 |
-- |
|
3616 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3617 |
-- |
|
3618 |
/*!50001 DROP TABLE `v1`*/; |
|
3619 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3620 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3621 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3622 |
/*!50001 SET character_set_client = latin1 */; |
|
3623 |
/*!50001 SET character_set_results = latin1 */; |
|
3624 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3625 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3626 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3627 |
/*!50001 VIEW `v1` AS select `t`.`qty` AS `qty`,`t`.`price` AS `price`,(`t`.`qty` * `t`.`price`) AS `value` from `t` */; |
|
3628 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3629 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3630 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3631 |
||
3632 |
} mysqldump { |
|
3633 |
/*!50001 DROP TABLE `v2`*/; |
|
3634 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3635 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3636 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3637 |
/*!50001 SET character_set_client = latin1 */; |
|
3638 |
/*!50001 SET character_set_results = latin1 */; |
|
3639 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3640 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3641 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3642 |
/*!50001 VIEW `v2` AS select `v1`.`qty` AS `qty` from `v1` */; |
|
3643 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3644 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3645 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3646 |
||
3647 |
} mysqldump |
|
3648 |
drop view v1; |
|
3649 |
drop view v2; |
|
3650 |
drop table t; |
|
3651 |
# |
|
3652 |
# Bug#14857 Reading dump files with single statement stored routines fails. |
|
3653 |
# fixed by patch for bug#16878 |
|
3654 |
# |
|
3655 |
/*!50003 CREATE FUNCTION `f`() RETURNS bigint(20) |
|
3656 |
return 42 */| |
|
3657 |
/*!50003 CREATE PROCEDURE `p`() |
|
3658 |
select 42 */| |
|
3659 |
show create function f; |
|
3660 |
Function sql_mode Create Function character_set_client collation_connection Database Collation |
|
3661 |
f CREATE DEFINER=`root`@`localhost` FUNCTION `f`() RETURNS bigint(20) |
|
3662 |
return 42 latin1 latin1_swedish_ci latin1_swedish_ci |
|
3663 |
show create procedure p; |
|
3664 |
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation |
|
3665 |
p CREATE DEFINER=`root`@`localhost` PROCEDURE `p`() |
|
3666 |
select 42 latin1 latin1_swedish_ci latin1_swedish_ci |
|
3667 |
drop function f; |
|
3668 |
drop procedure p; |
|
3669 |
# |
|
3670 |
# Bug #17371 Unable to dump a schema with invalid views |
|
3671 |
# |
|
3672 |
create table t1 ( id serial ); |
|
3673 |
create view v1 as select * from t1; |
|
3674 |
drop table t1; |
|
3675 |
mysqldump { |
|
3676 |
||
3677 |
-- |
|
3678 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3679 |
-- |
|
3680 |
||
3681 |
-- failed on view `v1`: CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `test`.`t1`.`id` AS `id` from `t1` |
|
3682 |
||
3683 |
} mysqldump |
|
3684 |
drop view v1; |
|
3685 |
# BUG#17201 Spurious 'DROP DATABASE' in output, |
|
3686 |
# also confusion between tables and views. |
|
3687 |
# Example code from Markus Popp |
|
3688 |
create database mysqldump_test_db; |
|
3689 |
use mysqldump_test_db; |
|
3690 |
create table t1 (id int); |
|
3691 |
create view v1 as select * from t1; |
|
3692 |
insert into t1 values (1232131); |
|
3693 |
insert into t1 values (4711); |
|
3694 |
insert into t1 values (3231); |
|
3695 |
insert into t1 values (0815); |
|
3696 |
||
3697 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
3698 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
3699 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
3700 |
/*!40101 SET NAMES utf8 */; |
|
3701 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
3702 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
3703 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
3704 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
3705 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
3706 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
3707 |
||
3708 |
-- |
|
3709 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3710 |
-- |
|
3711 |
||
3712 |
/*!40000 DROP DATABASE IF EXISTS `mysqldump_test_db`*/; |
|
3713 |
||
3714 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3715 |
||
3716 |
USE `mysqldump_test_db`; |
|
3717 |
DROP TABLE IF EXISTS `t1`; |
|
3718 |
SET @saved_cs_client = @@character_set_client; |
|
3719 |
SET character_set_client = utf8; |
|
3720 |
CREATE TABLE `t1` ( |
|
3721 |
`id` int(11) DEFAULT NULL |
|
3722 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3723 |
SET character_set_client = @saved_cs_client; |
|
3724 |
||
3725 |
LOCK TABLES `t1` WRITE; |
|
3726 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
3727 |
INSERT INTO `t1` VALUES (1232131),(4711),(3231),(815); |
|
3728 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
3729 |
UNLOCK TABLES; |
|
3730 |
DROP TABLE IF EXISTS `v1`; |
|
3731 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
3732 |
SET @saved_cs_client = @@character_set_client; |
|
3733 |
SET character_set_client = utf8; |
|
3734 |
/*!50001 CREATE TABLE `v1` ( |
|
3735 |
`id` int(11) |
|
3736 |
) */; |
|
3737 |
SET character_set_client = @saved_cs_client; |
|
3738 |
||
3739 |
USE `mysqldump_test_db`; |
|
3740 |
/*!50001 DROP TABLE `v1`*/; |
|
3741 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
3742 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3743 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3744 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3745 |
/*!50001 SET character_set_client = latin1 */; |
|
3746 |
/*!50001 SET character_set_results = latin1 */; |
|
3747 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3748 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3749 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3750 |
/*!50001 VIEW `v1` AS select `t1`.`id` AS `id` from `t1` */; |
|
3751 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3752 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3753 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3754 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
3755 |
||
3756 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
3757 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
3758 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
3759 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
3760 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
3761 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
3762 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
3763 |
||
3764 |
drop view v1; |
|
3765 |
drop table t1; |
|
3766 |
drop database mysqldump_test_db; |
|
3767 |
# |
|
3768 |
# Bug21014 Segmentation fault of mysqldump on view |
|
3769 |
# |
|
3770 |
create database mysqldump_tables; |
|
3771 |
use mysqldump_tables; |
|
3772 |
create table basetable ( id serial, tag varchar(64) ); |
|
3773 |
create database mysqldump_views; |
|
3774 |
use mysqldump_views; |
|
3775 |
create view nasishnasifu as select mysqldump_tables.basetable.id from mysqldump_tables.basetable; |
|
3776 |
||
3777 |
-- |
|
3778 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3779 |
-- |
|
3780 |
||
3781 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_tables` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3782 |
||
3783 |
USE `mysqldump_tables`; |
|
3784 |
SET @saved_cs_client = @@character_set_client; |
|
3785 |
SET character_set_client = utf8; |
|
3786 |
CREATE TABLE `basetable` ( |
|
3787 |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
|
3788 |
`tag` varchar(64) DEFAULT NULL, |
|
3789 |
UNIQUE KEY `id` (`id`) |
|
3790 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
3791 |
SET character_set_client = @saved_cs_client; |
|
3792 |
||
3793 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_views` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
3794 |
||
3795 |
USE `mysqldump_views`; |
|
3796 |
SET @saved_cs_client = @@character_set_client; |
|
3797 |
SET character_set_client = utf8; |
|
3798 |
/*!50001 CREATE TABLE `nasishnasifu` ( |
|
3799 |
`id` bigint(20) unsigned |
|
3800 |
) */; |
|
3801 |
SET character_set_client = @saved_cs_client; |
|
3802 |
||
3803 |
USE `mysqldump_tables`; |
|
3804 |
||
3805 |
USE `mysqldump_views`; |
|
3806 |
/*!50001 DROP TABLE `nasishnasifu`*/; |
|
3807 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
3808 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
3809 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
3810 |
/*!50001 SET character_set_client = latin1 */; |
|
3811 |
/*!50001 SET character_set_results = latin1 */; |
|
3812 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
3813 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
3814 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
3815 |
/*!50001 VIEW `mysqldump_views`.`nasishnasifu` AS select `mysqldump_tables`.`basetable`.`id` AS `id` from `mysqldump_tables`.`basetable` */; |
|
3816 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
3817 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
3818 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
3819 |
drop view nasishnasifu; |
|
3820 |
drop database mysqldump_views; |
|
3821 |
drop table mysqldump_tables.basetable; |
|
3822 |
drop database mysqldump_tables; |
|
3823 |
# |
|
3824 |
# Bug20221 Dumping of multiple databases containing view(s) yields maleformed dumps |
|
3825 |
# |
|
3826 |
create database mysqldump_dba; |
|
3827 |
use mysqldump_dba; |
|
3828 |
create table t1 (f1 int, f2 int); |
|
3829 |
insert into t1 values (1,1); |
|
3830 |
create view v1 as select f1, f2 from t1; |
|
3831 |
create database mysqldump_dbb; |
|
3832 |
use mysqldump_dbb; |
|
3833 |
create table t1 (f1 int, f2 int); |
|
3834 |
insert into t1 values (2,2); |
|
3835 |
create view v1 as select f1, f2 from t1; |
|
3836 |
drop view v1; |
|
3837 |
drop table t1; |
|
3838 |
drop database mysqldump_dbb; |
|
3839 |
use mysqldump_dba; |
|
3840 |
drop view v1; |
|
3841 |
drop table t1; |
|
3842 |
drop database mysqldump_dba; |
|
3843 |
select * from mysqldump_dba.v1; |
|
3844 |
f1 f2 |
|
3845 |
1 1 |
|
3846 |
select * from mysqldump_dbb.v1; |
|
3847 |
f1 f2 |
|
3848 |
2 2 |
|
3849 |
use mysqldump_dba; |
|
3850 |
drop view v1; |
|
3851 |
drop table t1; |
|
3852 |
drop database mysqldump_dba; |
|
3853 |
use mysqldump_dbb; |
|
3854 |
drop view v1; |
|
3855 |
drop table t1; |
|
3856 |
drop database mysqldump_dbb; |
|
3857 |
use test; |
|
3858 |
# |
|
3859 |
# Bug#21215 mysqldump creating incomplete backups without warning |
|
3860 |
# |
|
3861 |
create user mysqltest_1@localhost; |
|
3862 |
create table t1(a int, b varchar(34)); |
|
3863 |
reset master; |
|
3864 |
mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227) |
|
3865 |
mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227) |
|
3866 |
grant RELOAD on *.* to mysqltest_1@localhost; |
|
3867 |
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227) |
|
3868 |
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227) |
|
3869 |
grant REPLICATION CLIENT on *.* to mysqltest_1@localhost; |
|
3870 |
drop table t1; |
|
3871 |
drop user mysqltest_1@localhost; |
|
3872 |
# |
|
3873 |
# Bug #21527 mysqldump incorrectly tries to LOCK TABLES on the |
|
3874 |
# information_schema database. |
|
3875 |
# |
|
3876 |
# Bug #21424 mysqldump failing to export/import views |
|
3877 |
# |
|
3878 |
create database mysqldump_myDB; |
|
3879 |
use mysqldump_myDB; |
|
3880 |
create user myDB_User@localhost; |
|
3881 |
grant create, create view, select, insert on mysqldump_myDB.* to myDB_User@localhost; |
|
3882 |
create table t1 (c1 int); |
|
3883 |
insert into t1 values (3); |
|
3884 |
use mysqldump_myDB; |
|
3885 |
create table u1 (f1 int); |
|
3886 |
insert into u1 values (4); |
|
3887 |
create view v1 (c1) as select * from t1; |
|
3888 |
use mysqldump_myDB; |
|
3889 |
drop view v1; |
|
3890 |
drop table t1; |
|
3891 |
drop table u1; |
|
3892 |
revoke all privileges on mysqldump_myDB.* from myDB_User@localhost; |
|
3893 |
drop user myDB_User@localhost; |
|
3894 |
drop database mysqldump_myDB; |
|
3895 |
flush privileges; |
|
3896 |
# Bug #21424 continues from here. |
|
3897 |
# Restore. Flush Privileges test ends. |
|
3898 |
# |
|
3899 |
use mysqldump_myDB; |
|
3900 |
select * from mysqldump_myDB.v1; |
|
3901 |
c1 |
|
3902 |
3 |
|
3903 |
select * from mysqldump_myDB.u1; |
|
3904 |
f1 |
|
3905 |
4 |
|
3906 |
use mysqldump_myDB; |
|
3907 |
drop view v1; |
|
3908 |
drop table t1; |
|
3909 |
drop table u1; |
|
3910 |
revoke all privileges on mysqldump_myDB.* from myDB_User@localhost; |
|
3911 |
drop user myDB_User@localhost; |
|
3912 |
drop database mysqldump_myDB; |
|
3913 |
use test; |
|
3914 |
# |
|
3915 |
# Bug #19745: mysqldump --xml produces invalid xml |
|
3916 |
# |
|
3917 |
DROP TABLE IF EXISTS t1; |
|
3918 |
CREATE TABLE t1 (f1 int(10), data MEDIUMBLOB); |
|
3919 |
INSERT INTO t1 VALUES(1,0xff00fef0); |
|
3920 |
<?xml version="1.0"?>
|
|
3921 |
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
3922 |
||
3923 |
-- |
|
3924 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3925 |
-- |
|
3926 |
<database name="test"> |
|
3927 |
<table_structure name="t1"> |
|
3928 |
<field Field="f1" Type="int(10)" Null="YES" Key="" Extra="" /> |
|
3929 |
<field Field="data" Type="mediumblob" Null="YES" Key="" Extra="" /> |
|
3930 |
</table_structure>
|
|
3931 |
<table_data name="t1"> |
|
3932 |
<row>
|
|
3933 |
<field name="f1">1</field> |
|
3934 |
<field name="data" xsi:type="xs:hexBinary">FF00FEF0</field> |
|
3935 |
</row>
|
|
3936 |
</table_data>
|
|
3937 |
</database>
|
|
3938 |
</mysqldump>
|
|
3939 |
DROP TABLE t1; |
|
3940 |
# |
|
3941 |
# Bug#26346: stack + buffer overrun in mysqldump |
|
3942 |
# |
|
3943 |
CREATE TABLE t1(a int); |
|
3944 |
INSERT INTO t1 VALUES (1), (2); |
|
3945 |
mysqldump: Input filename too long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
|
3946 |
||
3947 |
-- |
|
3948 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3949 |
-- |
|
3950 |
||
3951 |
-- |
|
3952 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3953 |
-- |
|
3954 |
||
3955 |
-- |
|
3956 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3957 |
-- |
|
3958 |
||
3959 |
-- |
|
3960 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3961 |
-- |
|
3962 |
||
3963 |
-- |
|
3964 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
3965 |
-- |
|
3966 |
DROP TABLE t1; |
|
3967 |
# |
|
3968 |
# Bug #23491: MySQLDump prefix function call in a view by database name |
|
3969 |
# |
|
3970 |
create database bug23491_original; |
|
3971 |
create database bug23491_restore; |
|
3972 |
use bug23491_original; |
|
3973 |
create table t1 (c1 int); |
|
3974 |
create view v1 as select * from t1; |
|
3975 |
create procedure p1() select 1; |
|
3976 |
create function f1() returns int return 1; |
|
3977 |
create view v2 as select f1(); |
|
3978 |
create function f2() returns int return f1(); |
|
3979 |
create view v3 as select bug23491_original.f1(); |
|
3980 |
use bug23491_restore; |
|
3981 |
show create view bug23491_restore.v2; |
|
3982 |
View Create View character_set_client collation_connection |
|
3983 |
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v2` AS select `f1`() AS `f1()` latin1 latin1_swedish_ci |
|
3984 |
show create view bug23491_restore.v3; |
|
3985 |
View Create View character_set_client collation_connection |
|
3986 |
v3 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v3` AS select `bug23491_original`.`f1`() AS `bug23491_original.f1()` latin1 latin1_swedish_ci |
|
3987 |
drop database bug23491_original; |
|
3988 |
drop database bug23491_restore; |
|
3989 |
use test; |
|
3990 |
# |
|
3991 |
# Bug 27293: mysqldump crashes when dumping routines |
|
3992 |
# defined by a different user |
|
3993 |
# |
|
3994 |
# Bug #22761: mysqldump reports no errors when using |
|
3995 |
# --routines without mysql.proc privileges |
|
3996 |
# |
|
3997 |
create database mysqldump_test_db; |
|
3998 |
grant all privileges on mysqldump_test_db.* to user1; |
|
3999 |
grant all privileges on mysqldump_test_db.* to user2; |
|
4000 |
create procedure mysqldump_test_db.sp1() select 'hello'; |
|
4001 |
||
4002 |
-- |
|
4003 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
4004 |
-- |
|
4005 |
||
4006 |
-- insufficient privileges to SHOW CREATE PROCEDURE `sp1` |
|
4007 |
-- does user2 have permissions on mysql.proc? |
|
4008 |
||
4009 |
||
4010 |
-- |
|
4011 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
4012 |
-- |
|
4013 |
/*!50003 SET @saved_cs_client = @@character_set_client */ ; |
|
4014 |
/*!50003 SET @saved_cs_results = @@character_set_results */ ; |
|
4015 |
/*!50003 SET @saved_col_connection = @@collation_connection */ ; |
|
4016 |
/*!50003 SET character_set_client = latin1 */ ; |
|
4017 |
/*!50003 SET character_set_results = latin1 */ ; |
|
4018 |
/*!50003 SET collation_connection = latin1_swedish_ci */ ; |
|
4019 |
/*!50003 SET @saved_sql_mode = @@sql_mode */ ; |
|
4020 |
/*!50003 SET sql_mode = '' */ ; |
|
4021 |
DELIMITER ;; |
|
4022 |
/*!50003 CREATE*/ /*!50020 DEFINER=`user1`@`%`*/ /*!50003 PROCEDURE `sp1`() |
|
4023 |
select 'hello' */;; |
|
4024 |
DELIMITER ; |
|
4025 |
/*!50003 SET sql_mode = @saved_sql_mode */ ; |
|
4026 |
/*!50003 SET character_set_client = @saved_cs_client */ ; |
|
4027 |
/*!50003 SET character_set_results = @saved_cs_results */ ; |
|
4028 |
/*!50003 SET collation_connection = @saved_col_connection */ ; |
|
4029 |
drop procedure sp1; |
|
4030 |
drop user user1; |
|
4031 |
drop user user2; |
|
4032 |
drop database mysqldump_test_db; |
|
4033 |
# |
|
4034 |
# Bug #28522: buffer overrun by '\0' byte using --hex-blob. |
|
4035 |
# |
|
4036 |
CREATE TABLE t1 (c1 INT, c2 LONGBLOB); |
|
4037 |
INSERT INTO t1 SET c1=11, c2=REPEAT('q',509); |
|
4038 |
||
4039 |
-- |
|
4040 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
4041 |
-- |
|
4042 |
SET @saved_cs_client = @@character_set_client; |
|
4043 |
SET character_set_client = utf8; |
|
4044 |
CREATE TABLE `t1` ( |
|
4045 |
`c1` int(11) DEFAULT NULL, |
|
4046 |
`c2` longblob |
|
4047 |
); |
|
4048 |
SET character_set_client = @saved_cs_client; |
|
4049 |
INSERT INTO `t1` VALUES (11,0x7171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171); |
|
4050 |
DROP TABLE t1; |
|
4051 |
# |
|
4052 |
# Bug #28524: mysqldump --skip-add-drop-table is not |
|
4053 |
# compatible with views |
|
4054 |
# |
|
4055 |
CREATE VIEW v1 AS SELECT 1; |
|
4056 |
DROP VIEW v1; |
|
4057 |
SELECT * FROM v1; |
|
4058 |
1 |
|
4059 |
1 |
|
4060 |
DROP VIEW v1; |
|
4061 |
# |
|
4062 |
# Bug #29788: mysqldump discards the NO_AUTO_VALUE_ON_ZERO value of |
|
4063 |
# the SQL_MODE variable after the dumping of triggers. |
|
4064 |
# |
|
4065 |
CREATE TABLE t1 (c1 INT); |
|
4066 |
CREATE TRIGGER t1bd BEFORE DELETE ON t1 FOR EACH ROW BEGIN END; |
|
4067 |
CREATE TABLE t2 (c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY); |
|
4068 |
SET @TMP_SQL_MODE = @@SQL_MODE; |
|
4069 |
SET SQL_MODE = 'NO_AUTO_VALUE_ON_ZERO'; |
|
4070 |
INSERT INTO t2 VALUES (0), (1), (2); |
|
4071 |
SET SQL_MODE = @TMP_SQL_MODE; |
|
4072 |
SELECT * FROM t2; |
|
4073 |
c1 |
|
4074 |
0 |
|
4075 |
1 |
|
4076 |
2 |
|
4077 |
SELECT * FROM t2; |
|
4078 |
c1 |
|
4079 |
0 |
|
4080 |
1 |
|
4081 |
2 |
|
4082 |
DROP TABLE t1,t2; |
|
4083 |
# |
|
4084 |
# Bug#29815: new option for suppressing last line of mysqldump: |
|
4085 |
# "Dump completed on" |
|
4086 |
# |
|
4087 |
# --skip-dump-date: |
|
4088 |
-- |
|
4089 |
||
4090 |
||
4091 |
-- |
|
4092 |
-- |
|
4093 |
||
4094 |
||
4095 |
-- Dump completed |
|
4096 |
# --dump-date: |
|
4097 |
-- |
|
4098 |
||
4099 |
||
4100 |
-- |
|
4101 |
-- |
|
4102 |
||
4103 |
||
4104 |
-- Dump completed on DATE |
|
4105 |
# --dump-date (default): |
|
4106 |
-- |
|
4107 |
||
4108 |
||
4109 |
-- |
|
4110 |
-- |
|
4111 |
||
4112 |
||
4113 |
-- Dump completed on DATE |
|
4114 |
# |
|
4115 |
# End of 5.0 tests |
|
4116 |
# |
|
4117 |
drop table if exists t1; |
|
4118 |
CREATE TABLE t1(a int, b int); |
|
4119 |
INSERT INTO t1 VALUES (1,1); |
|
4120 |
INSERT INTO t1 VALUES (2,3); |
|
4121 |
INSERT INTO t1 VALUES (3,4), (4,5); |
|
4122 |
||
4123 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
4124 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
4125 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
4126 |
/*!40101 SET NAMES utf8 */; |
|
4127 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
4128 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
4129 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
4130 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
4131 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
4132 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
4133 |
||
4134 |
-- |
|
4135 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
4136 |
-- |
|
4137 |
DROP TABLE IF EXISTS `t1`; |
|
4138 |
SET @saved_cs_client = @@character_set_client; |
|
4139 |
SET character_set_client = utf8; |
|
4140 |
CREATE TABLE `t1` ( |
|
4141 |
`a` int(11) DEFAULT NULL, |
|
4142 |
`b` int(11) DEFAULT NULL |
|
4143 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
4144 |
SET character_set_client = @saved_cs_client; |
|
4145 |
||
4146 |
LOCK TABLES `t1` WRITE; |
|
4147 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
4148 |
REPLACE INTO `t1` VALUES (1,1),(2,3),(3,4),(4,5); |
|
4149 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
4150 |
UNLOCK TABLES; |
|
4151 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
4152 |
||
4153 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
4154 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
4155 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
4156 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
4157 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
4158 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
4159 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
4160 |
||
4161 |
DROP TABLE t1; |
|
4162 |
# |
|
4163 |
# BUG# 16853: mysqldump doesn't show events |
|
4164 |
# |
|
4165 |
create database first; |
|
4166 |
use first; |
|
4167 |
set time_zone = 'UTC'; |
|
4168 |
create event ee1 on schedule at '2035-12-31 20:01:23' do set @a=5; |
|
4169 |
show events; |
|
4170 |
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation |
|
4171 |
first ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4172 |
show create event ee1; |
|
4173 |
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation |
|
4174 |
ee1 UTC CREATE EVENT `ee1` ON SCHEDULE AT '2035-12-31 20:01:23' ON COMPLETION NOT PRESERVE ENABLE DO set @a=5 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4175 |
drop database first; |
|
4176 |
create database second; |
|
4177 |
use second; |
|
4178 |
show events; |
|
4179 |
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation |
|
4180 |
second ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4181 |
show create event ee1; |
|
4182 |
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation |
|
4183 |
ee1 UTC CREATE EVENT `ee1` ON SCHEDULE AT '2035-12-31 20:01:23' ON COMPLETION NOT PRESERVE ENABLE DO set @a=5 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4184 |
create event ee2 on schedule at '2018-12-31 21:01:23' do set @a=5; |
|
4185 |
create event ee3 on schedule at '2030-12-31 22:01:23' do set @a=5; |
|
4186 |
show events; |
|
4187 |
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation |
|
4188 |
second ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4189 |
second ee2 root@localhost UTC ONE TIME 2018-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4190 |
second ee3 root@localhost UTC ONE TIME 2030-12-31 22:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4191 |
drop database second; |
|
4192 |
create database third; |
|
4193 |
use third; |
|
4194 |
show events; |
|
4195 |
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation |
|
4196 |
third ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4197 |
third ee2 root@localhost UTC ONE TIME 2018-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4198 |
third ee3 root@localhost UTC ONE TIME 2030-12-31 22:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4199 |
drop database third; |
|
4200 |
set time_zone = 'SYSTEM'; |
|
4201 |
use test; |
|
4202 |
# |
|
4203 |
# BUG#17201 Spurious 'DROP DATABASE' in output, |
|
4204 |
# also confusion between tables and views. |
|
4205 |
# Example code from Markus Popp |
|
4206 |
# |
|
4207 |
create database mysqldump_test_db; |
|
4208 |
use mysqldump_test_db; |
|
4209 |
create table t1 (id int); |
|
4210 |
create view v1 as select * from t1; |
|
4211 |
insert into t1 values (1232131); |
|
4212 |
insert into t1 values (4711); |
|
4213 |
insert into t1 values (3231); |
|
4214 |
insert into t1 values (0815); |
|
4215 |
||
4216 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
4217 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
4218 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
4219 |
/*!40101 SET NAMES utf8 */; |
|
4220 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
4221 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
4222 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
4223 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
4224 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|
4225 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
4226 |
||
4227 |
-- |
|
4228 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
4229 |
-- |
|
4230 |
||
4231 |
/*!40000 DROP DATABASE IF EXISTS `mysqldump_test_db`*/; |
|
4232 |
||
4233 |
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET latin1 */; |
|
4234 |
||
4235 |
USE `mysqldump_test_db`; |
|
4236 |
DROP TABLE IF EXISTS `t1`; |
|
4237 |
SET @saved_cs_client = @@character_set_client; |
|
4238 |
SET character_set_client = utf8; |
|
4239 |
CREATE TABLE `t1` ( |
|
4240 |
`id` int(11) DEFAULT NULL |
|
4241 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
4242 |
SET character_set_client = @saved_cs_client; |
|
4243 |
||
4244 |
LOCK TABLES `t1` WRITE; |
|
4245 |
/*!40000 ALTER TABLE `t1` DISABLE KEYS */; |
|
4246 |
INSERT INTO `t1` VALUES (1232131),(4711),(3231),(815); |
|
4247 |
/*!40000 ALTER TABLE `t1` ENABLE KEYS */; |
|
4248 |
UNLOCK TABLES; |
|
4249 |
DROP TABLE IF EXISTS `v1`; |
|
4250 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
4251 |
SET @saved_cs_client = @@character_set_client; |
|
4252 |
SET character_set_client = utf8; |
|
4253 |
/*!50001 CREATE TABLE `v1` ( |
|
4254 |
`id` int(11) |
|
4255 |
) */; |
|
4256 |
SET character_set_client = @saved_cs_client; |
|
4257 |
||
4258 |
USE `mysqldump_test_db`; |
|
4259 |
/*!50001 DROP TABLE `v1`*/; |
|
4260 |
/*!50001 DROP VIEW IF EXISTS `v1`*/; |
|
4261 |
/*!50001 SET @saved_cs_client = @@character_set_client */; |
|
4262 |
/*!50001 SET @saved_cs_results = @@character_set_results */; |
|
4263 |
/*!50001 SET @saved_col_connection = @@collation_connection */; |
|
4264 |
/*!50001 SET character_set_client = latin1 */; |
|
4265 |
/*!50001 SET character_set_results = latin1 */; |
|
4266 |
/*!50001 SET collation_connection = latin1_swedish_ci */; |
|
4267 |
/*!50001 CREATE ALGORITHM=UNDEFINED */ |
|
4268 |
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ |
|
4269 |
/*!50001 VIEW `v1` AS select `t1`.`id` AS `id` from `t1` */; |
|
4270 |
/*!50001 SET character_set_client = @saved_cs_client */; |
|
4271 |
/*!50001 SET character_set_results = @saved_cs_results */; |
|
4272 |
/*!50001 SET collation_connection = @saved_col_connection */; |
|
4273 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
4274 |
||
4275 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
4276 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
4277 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
4278 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
4279 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
4280 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
4281 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
4282 |
||
4283 |
drop view v1; |
|
4284 |
drop table t1; |
|
4285 |
drop database mysqldump_test_db; |
|
4286 |
# |
|
4287 |
# Bug #30027: mysqldump does not dump views properly. |
|
4288 |
# |
|
4289 |
||
4290 |
# Cleanup. |
|
4291 |
DROP DATABASE IF EXISTS mysqldump_test_db; |
|
4292 |
||
4293 |
# Create objects. |
|
4294 |
CREATE DATABASE mysqldump_test_db; |
|
4295 |
set names koi8r; |
|
4296 |
CREATE VIEW mysqldump_test_db.v2 AS SELECT 1 AS ËÏÌÏÎËÁ1; |
|
4297 |
CREATE VIEW mysqldump_test_db.v1 AS SELECT ËÏÌÏÎËÁ1 FROM mysqldump_test_db.v2; |
|
4298 |
set names latin1; |
|
4299 |
||
4300 |
# Dump mysqldump_test_db to bug30027.sql. |
|
4301 |
||
4302 |
# Drop mysqldump_test_db. |
|
4303 |
DROP DATABASE mysqldump_test_db; |
|
4304 |
||
4305 |
# Restore mysqldump_test_db from bug30027.sql. |
|
4306 |
||
4307 |
# Check the view. |
|
4308 |
set names utf8; |
|
4309 |
SHOW CREATE VIEW mysqldump_test_db.v1; |
|
4310 |
View Create View character_set_client collation_connection |
|
4311 |
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `mysqldump_test_db`.`v1` AS select `v2`.`кПлПМка1` AS `кПлПМка1` from `mysqldump_test_db`.`v2` koi8r koi8r_general_ci |
|
4312 |
SHOW CREATE VIEW mysqldump_test_db.v2; |
|
4313 |
View Create View character_set_client collation_connection |
|
4314 |
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `mysqldump_test_db`.`v2` AS select 1 AS `кПлПМка1` koi8r koi8r_general_ci |
|
4315 |
set names latin1; |
|
4316 |
||
4317 |
# Cleanup. |
|
4318 |
DROP DATABASE mysqldump_test_db; |
|
4319 |
# |
|
4320 |
# BUG#29938: wrong behavior of mysqldump --skip-events |
|
4321 |
# with --all-databases |
|
4322 |
# |
|
4323 |
TRUNCATE mysql.event; |
|
4324 |
USE test; |
|
4325 |
CREATE event e29938 ON SCHEDULE AT '2035-12-31 20:01:23' DO SET @bug29938=29938; |
|
4326 |
SHOW EVENTS; |
|
4327 |
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation |
|
4328 |
test e29938 root@localhost SYSTEM ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci |
|
4329 |
TRUNCATE mysql.event; |
|
4330 |
SHOW EVENTS; |
|
4331 |
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation |
|
4332 |
# |
|
4333 |
# Bug#31113 mysqldump 5.1 can't handle a dash ("-") in database names |
|
4334 |
# |
|
4335 |
create database `test-database`; |
|
4336 |
use `test-database`; |
|
4337 |
create table test (a int); |
|
4338 |
||
4339 |
-- |
|
4340 |
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server |
|
4341 |
-- |
|
4342 |
DROP TABLE IF EXISTS `test`; |
|
4343 |
SET @saved_cs_client = @@character_set_client; |
|
4344 |
SET character_set_client = utf8; |
|
4345 |
CREATE TABLE `test` ( |
|
4346 |
`a` int(11) DEFAULT NULL |
|
4347 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|
4348 |
SET character_set_client = @saved_cs_client; |
|
4349 |
LOCK TABLES `test` WRITE; |
|
4350 |
/*!40000 ALTER TABLE `test` DISABLE KEYS */; |
|
4351 |
/*!40000 ALTER TABLE `test` ENABLE KEYS */; |
|
4352 |
UNLOCK TABLES; |
|
4353 |
drop database `test-database`; |
|
4354 |
use test; |
|
4355 |
||
4356 |
# ----------------------------------------------------------------- |
|
4357 |
# -- Bug#30217: Views: changes in metadata behaviour between 5.0 and 5.1. |
|
4358 |
# ----------------------------------------------------------------- |
|
4359 |
||
4360 |
DROP DATABASE IF EXISTS mysqldump_test_db; |
|
4361 |
CREATE DATABASE mysqldump_test_db; |
|
4362 |
use mysqldump_test_db; |
|
4363 |
||
4364 |
CREATE VIEW v1(x, y) AS SELECT 'a', 'a'; |
|
4365 |
||
4366 |
SELECT view_definition |
|
4367 |
FROM INFORMATION_SCHEMA.VIEWS |
|
4368 |
WHERE table_schema = 'mysqldump_test_db' AND table_name = 'v1'; |
|
4369 |
view_definition |
|
4370 |
select 'a' AS `x`,'a' AS `y` |
|
4371 |
||
4372 |
---> Dumping mysqldump_test_db to bug30217.sql |
|
4373 |
||
4374 |
DROP DATABASE mysqldump_test_db; |
|
4375 |
use test; |
|
4376 |
||
4377 |
---> Restoring mysqldump_test_db... |
|
4378 |
||
4379 |
SELECT view_definition |
|
4380 |
FROM INFORMATION_SCHEMA.VIEWS |
|
4381 |
WHERE table_schema = 'mysqldump_test_db' AND table_name = 'v1'; |
|
4382 |
view_definition |
|
4383 |
select 'a' AS `x`,'a' AS `y` |
|
4384 |
||
4385 |
DROP DATABASE mysqldump_test_db; |
|
4386 |
||
4387 |
# -- End of test case for Bug#32538. |
|
4388 |
||
4389 |
# |
|
4390 |
# End of 5.1 tests |
|
4391 |
# |