~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/alter_table.test

  • Committer: Brian Aker
  • Date: 2011-01-12 06:45:23 UTC
  • mto: (2073.1.4 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110112064523-rqhptaqbph22qmj1
Remove custom error.

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;