| 1 |
CREATE TABLE t1 ( |
| 2 |
counter1 integer, |
| 3 |
counter2 integer, |
| 4 |
counter3 integer, |
| 5 |
counter4 integer |
| 6 |
|
| 7 |
) ENGINE=engine; |
| 8 |
call query_select_repeat(5); |
| 9 |
INSERT INTO t1 (counter1, counter2, counter3, counter4) |
| 10 |
VALUES (1,1,1,1); |
| 11 |
INSERT INTO t1 (counter1, counter2, counter3, counter4) |
| 12 |
VALUES (2,2,2,2); |
| 13 |
ALTER TABLE t1 DROP COLUMN counter4; |
| 14 |
INSERT INTO t1 (counter1, counter2, counter3) |
| 15 |
VALUES (3,3,3); |
| 16 |
ALTER TABLE t1 ADD COLUMN counter4 integer; |
| 17 |
INSERT INTO t1 (counter1, counter2, counter3, counter4) |
| 18 |
VALUES (4,4,4,4); |
| 19 |
drop procedure query_select_repeat; |
| 20 |
DROP TABLE t1; |