~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/r/partition_not_embedded.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
DROP TABLE IF EXISTS t1, t2;
2
 
# Bug#30102 test
3
 
CREATE TABLE t1 (a INT)
4
 
PARTITION BY RANGE (a)
5
 
(PARTITION p0 VALUES LESS THAN (6),
6
 
PARTITION `p1....................` VALUES LESS THAN (9),
7
 
PARTITION p2 VALUES LESS THAN MAXVALUE);
8
 
# List of files in database `test`, all original t1-files here
9
 
t1#P#p0.MYD
10
 
t1#P#p0.MYI
11
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYD
12
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYI
13
 
t1#P#p2.MYD
14
 
t1#P#p2.MYI
15
 
t1.frm
16
 
t1.par
17
 
INSERT INTO t1 VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
18
 
# Renaming to a file name where the first partition is 250 chars
19
 
# and the second partition is 350 chars
20
 
RENAME TABLE t1 TO `t2_new..............................................end`;
21
 
Got one of the listed errors
22
 
# List of files in database `test`, should not be any t2-files here
23
 
# List of files in database `test`, should be all t1-files here
24
 
t1#P#p0.MYD
25
 
t1#P#p0.MYI
26
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYD
27
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYI
28
 
t1#P#p2.MYD
29
 
t1#P#p2.MYI
30
 
t1.frm
31
 
t1.par
32
 
SELECT * FROM t1;
33
 
a
34
 
1
35
 
10
36
 
2
37
 
3
38
 
4
39
 
5
40
 
6
41
 
7
42
 
8
43
 
9
44
 
# List of files in database `test`, should be all t1-files here
45
 
t1#P#p0.MYD
46
 
t1#P#p0.MYI
47
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYD
48
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYI
49
 
t1#P#p2.MYD
50
 
t1#P#p2.MYI
51
 
t1.frm
52
 
t1.par
53
 
# Renaming to a file name where the first partition is 156 chars
54
 
# and the second partition is 256 chars
55
 
RENAME TABLE t1 TO `t2_............................_end`;
56
 
Got one of the listed errors
57
 
# List of files in database `test`, should not be any t2-files here
58
 
# List of files in database `test`, should be all t1-files here
59
 
t1#P#p0.MYD
60
 
t1#P#p0.MYI
61
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYD
62
 
t1#P#p1@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e.MYI
63
 
t1#P#p2.MYD
64
 
t1#P#p2.MYI
65
 
t1.frm
66
 
t1.par
67
 
SELECT * FROM t1;
68
 
a
69
 
1
70
 
10
71
 
2
72
 
3
73
 
4
74
 
5
75
 
6
76
 
7
77
 
8
78
 
9
79
 
DROP TABLE t1;
80
 
# Should not be any files left here
81
 
# End of bug#30102 test.