~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/t/create_table_errors.test

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
--error ER_TOO_BIG_FIELDLENGTH
 
3
CREATE TABLE t1 (a varchar(40000));
 
4
 
 
5
--error ER_TOO_BIG_FIELDLENGTH
 
6
CREATE TABLE t1 (a varchar(40000) default 'hello world');
 
7
 
 
8
--error ER_TOO_BIG_FIELDLENGTH
 
9
CREATE TABLE t1 (a varchar(99999));
 
10
 
 
11
--error ER_WRONG_FIELD_SPEC
 
12
create table t1 (a decimal auto_increment);