~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/insert.test

  • Committer: Brian Aker
  • Date: 2011-01-13 00:08:59 UTC
  • mto: (2082.4.1 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2098.
  • Revision ID: brian@tangent.org-20110113000859-8dw4ybnp8id56u50
Fix issue with return value from unix_timestamp(). Also clean up error
messages, and remove limit on value for timestamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
create table t1 (a int not null auto_increment, primary key (a), t timestamp null, c char(10) default "hello", i int);
34
34
insert into t1 values (default,default,default,default);
35
35
insert into t1 values (default,default,default,default);
36
 
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
 
36
--error ER_INVALID_TIMESTAMP_VALUE # Bad timestamp
37
37
insert into t1 values (4,0,"a",5);
38
38
insert into t1 values (default,default,default,default);
39
39
select a,t is not null,c,i from t1;