~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/alter_table.test

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

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 1714
 
19
--error ER_INVALID_ALTER_TABLE_FOR_NOT_NULL
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_NO_SUCH_TABLE
 
700
--error ER_TABLE_UNKNOWN
701
701
SELECT * FROM t1 ORDER BY int_field;
702
702
SELECT * FROM t2 ORDER BY unsigned_int_field;
703
703
DESCRIBE t2;