~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/alter_table.test

  • Committer: Lee Bieber
  • Date: 2010-12-23 23:11:00 UTC
  • mfrom: (2024.1.1 clean)
  • Revision ID: kalebral@gmail.com-20101223231100-0rqirgz7ugkl10yp
Merge Brian - session list cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
insert into t1 values (2,4,3,5,"PENDING",1,7);
17
17
SELECT * FROM t1;
18
18
 
19
 
--error ER_INVALID_ALTER_TABLE_FOR_NOT_NULL
 
19
--error 1714
20
20
alter table t1
21
21
add column col4_5 varchar(20) not null after col4,
22
22
add column col7 varchar(30) not null after col5,
697
697
--echo "Non-copy data change - new frm, but old data and index files"
698
698
ALTER TABLE t1 CHANGE int_field unsigned_int_field INTEGER NOT NULL, RENAME t2;
699
699
 
700
 
--error ER_TABLE_UNKNOWN
 
700
--error ER_NO_SUCH_TABLE
701
701
SELECT * FROM t1 ORDER BY int_field;
702
702
SELECT * FROM t2 ORDER BY unsigned_int_field;
703
703
DESCRIBE t2;