~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/csv/tests/t/csv_not_null.test

  • Committer: Andrew Hutchings
  • Date: 2010-09-08 19:03:09 UTC
  • mfrom: (1750 staging)
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: andrew@linuxjedi.co.uk-20100908190309-mya1nu7xvo1fpvk8
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
CREATE TEMPORARY TABLE t1 (a int NOT NULL, b blob NOT NULL, c CHAR(20) NOT NULL, 
43
43
d VARCHAR(20) NOT NULL, e enum('foo','bar') NOT NULL,f DATE NOT NULL) 
44
44
ENGINE = CSV;
45
 
--error 1364
 
45
--error ER_NO_DEFAULT_FOR_FIELD
46
46
INSERT INTO t1 VALUES();
47
47
SELECT * FROM t1;
48
48
 
73
73
 
74
74
 
75
75
CREATE TEMPORARY TABLE t1 (a int NOT NULL, b char(10) NOT NULL) ENGINE = CSV;
76
 
--error 1364
 
76
--error ER_NO_DEFAULT_FOR_FIELD
77
77
INSERT INTO t1 VALUES();
78
78
insert into t1 values (0,"");
79
79
SELECT * FROM t1;