~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
drop table if exists t1,t2;
2
CREATE TABLE t1 (x1 int);
3
ALTER TABLE t1 CHANGE x1 x2 int;
4
CREATE TABLE t2 LIKE t1;
5
SHOW CREATE TABLE t2;
6
Table	Create Table
7
t2	CREATE TABLE `t2` (
8
  `xx` int(11) DEFAULT NULL
9
) ENGINE=MyISAM DEFAULT CHARSET=latin1
10
DROP TABLE t2;
11
ALTER TABLE t1 CHANGE x2 x1 int;
12
CREATE TABLE t2 LIKE t1;
13
SHOW CREATE TABLE t2;
14
Table	Create Table
15
t2	CREATE TABLE `t2` (
16
  `xx` int(11) DEFAULT NULL
17
) ENGINE=MyISAM DEFAULT CHARSET=latin1
18
DROP TABLE t2;
19
ALTER TABLE t1 CHANGE x1 x2 int;
20
CREATE TABLE t2 LIKE t1;
21
SHOW CREATE TABLE t2;
22
Table	Create Table
23
t2	CREATE TABLE `t2` (
24
  `xx` int(11) DEFAULT NULL
25
) ENGINE=MyISAM DEFAULT CHARSET=latin1
26
DROP TABLE t2;
27
ALTER TABLE t1 CHANGE x2 x1 int;
28
CREATE TABLE t2 LIKE t1;
29
SHOW CREATE TABLE t2;
30
Table	Create Table
31
t2	CREATE TABLE `t2` (
32
  `xx` int(11) DEFAULT NULL
33
) ENGINE=MyISAM DEFAULT CHARSET=latin1
34
DROP TABLE t2;
35
ALTER TABLE t1 CHANGE x1 x2 int;
36
CREATE TABLE t2 LIKE t1;
37
SHOW CREATE TABLE t2;
38
Table	Create Table
39
t2	CREATE TABLE `t2` (
40
  `xx` int(11) DEFAULT NULL
41
) ENGINE=MyISAM DEFAULT CHARSET=latin1
42
DROP TABLE t2;
43
ALTER TABLE t1 CHANGE x2 x1 int;
44
CREATE TABLE t2 LIKE t1;
45
SHOW CREATE TABLE t2;
46
Table	Create Table
47
t2	CREATE TABLE `t2` (
48
  `xx` int(11) DEFAULT NULL
49
) ENGINE=MyISAM DEFAULT CHARSET=latin1
50
DROP TABLE t2;
51
ALTER TABLE t1 CHANGE x1 x2 int;
52
CREATE TABLE t2 LIKE t1;
53
SHOW CREATE TABLE t2;
54
Table	Create Table
55
t2	CREATE TABLE `t2` (
56
  `xx` int(11) DEFAULT NULL
57
) ENGINE=MyISAM DEFAULT CHARSET=latin1
58
DROP TABLE t2;
59
ALTER TABLE t1 CHANGE x2 x1 int;
60
CREATE TABLE t2 LIKE t1;
61
SHOW CREATE TABLE t2;
62
Table	Create Table
63
t2	CREATE TABLE `t2` (
64
  `xx` int(11) DEFAULT NULL
65
) ENGINE=MyISAM DEFAULT CHARSET=latin1
66
DROP TABLE t2;
67
ALTER TABLE t1 CHANGE x1 x2 int;
68
CREATE TABLE t2 LIKE t1;
69
SHOW CREATE TABLE t2;
70
Table	Create Table
71
t2	CREATE TABLE `t2` (
72
  `xx` int(11) DEFAULT NULL
73
) ENGINE=MyISAM DEFAULT CHARSET=latin1
74
DROP TABLE t2;
75
ALTER TABLE t1 CHANGE x2 x1 int;
76
CREATE TABLE t2 LIKE t1;
77
SHOW CREATE TABLE t2;
78
Table	Create Table
79
t2	CREATE TABLE `t2` (
80
  `xx` int(11) DEFAULT NULL
81
) ENGINE=MyISAM DEFAULT CHARSET=latin1
82
DROP TABLE t2;
83
ALTER TABLE t1 CHANGE x1 x2 int;
84
CREATE TABLE t2 LIKE t1;
85
SHOW CREATE TABLE t2;
86
Table	Create Table
87
t2	CREATE TABLE `t2` (
88
  `xx` int(11) DEFAULT NULL
89
) ENGINE=MyISAM DEFAULT CHARSET=latin1
90
DROP TABLE t2;
91
ALTER TABLE t1 CHANGE x2 x1 int;
92
CREATE TABLE t2 LIKE t1;
93
SHOW CREATE TABLE t2;
94
Table	Create Table
95
t2	CREATE TABLE `t2` (
96
  `xx` int(11) DEFAULT NULL
97
) ENGINE=MyISAM DEFAULT CHARSET=latin1
98
DROP TABLE t2;
99
ALTER TABLE t1 CHANGE x1 x2 int;
100
CREATE TABLE t2 LIKE t1;
101
SHOW CREATE TABLE t2;
102
Table	Create Table
103
t2	CREATE TABLE `t2` (
104
  `xx` int(11) DEFAULT NULL
105
) ENGINE=MyISAM DEFAULT CHARSET=latin1
106
DROP TABLE t2;
107
ALTER TABLE t1 CHANGE x2 x1 int;
108
CREATE TABLE t2 LIKE t1;
109
SHOW CREATE TABLE t2;
110
Table	Create Table
111
t2	CREATE TABLE `t2` (
112
  `xx` int(11) DEFAULT NULL
113
) ENGINE=MyISAM DEFAULT CHARSET=latin1
114
DROP TABLE t2;
115
ALTER TABLE t1 CHANGE x1 x2 int;
116
CREATE TABLE t2 LIKE t1;
117
SHOW CREATE TABLE t2;
118
Table	Create Table
119
t2	CREATE TABLE `t2` (
120
  `xx` int(11) DEFAULT NULL
121
) ENGINE=MyISAM DEFAULT CHARSET=latin1
122
DROP TABLE t2;
123
ALTER TABLE t1 CHANGE x2 x1 int;
124
CREATE TABLE t2 LIKE t1;
125
SHOW CREATE TABLE t2;
126
Table	Create Table
127
t2	CREATE TABLE `t2` (
128
  `xx` int(11) DEFAULT NULL
129
) ENGINE=MyISAM DEFAULT CHARSET=latin1
130
DROP TABLE t2;
131
ALTER TABLE t1 CHANGE x1 x2 int;
132
CREATE TABLE t2 LIKE t1;
133
SHOW CREATE TABLE t2;
134
Table	Create Table
135
t2	CREATE TABLE `t2` (
136
  `xx` int(11) DEFAULT NULL
137
) ENGINE=MyISAM DEFAULT CHARSET=latin1
138
DROP TABLE t2;
139
ALTER TABLE t1 CHANGE x2 x1 int;
140
CREATE TABLE t2 LIKE t1;
141
SHOW CREATE TABLE t2;
142
Table	Create Table
143
t2	CREATE TABLE `t2` (
144
  `xx` int(11) DEFAULT NULL
145
) ENGINE=MyISAM DEFAULT CHARSET=latin1
146
DROP TABLE t2;
147
ALTER TABLE t1 CHANGE x1 x2 int;
148
CREATE TABLE t2 LIKE t1;
149
SHOW CREATE TABLE t2;
150
Table	Create Table
151
t2	CREATE TABLE `t2` (
152
  `xx` int(11) DEFAULT NULL
153
) ENGINE=MyISAM DEFAULT CHARSET=latin1
154
DROP TABLE t2;
155
ALTER TABLE t1 CHANGE x2 x1 int;
156
CREATE TABLE t2 LIKE t1;
157
SHOW CREATE TABLE t2;
158
Table	Create Table
159
t2	CREATE TABLE `t2` (
160
  `xx` int(11) DEFAULT NULL
161
) ENGINE=MyISAM DEFAULT CHARSET=latin1
162
DROP TABLE t2;
163
DROP TABLE t1;