~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/t/685803.test

  • Committer: Brian Aker
  • Date: 2010-12-18 02:08:04 UTC
  • mto: (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2018.
  • Revision ID: brian@tangent.org-20101218020804-mh3lga9uv7jlajwy
Merge in first pass of TIME type (closer to EPOCH time).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
https://bugs.launchpad.net/drizzle/+bug/685803
 
4
 
 
5
When inserting into a bigint column, vaues > max bigint (64bit signed max)
 
6
are accepted, but when the values are in quotes an out of range error is
 
7
hit. I would expect out of range for both instances:
 
8
 
 
9
*/
 
10
create table t6 (a bigint);
 
11
INSERT INTO `t6` VALUES (9223372036854775807),(18446744073709551615);
 
12
--error 1264
 
13
INSERT INTO `t6` VALUES ('9223372036854775807'),('18446744073709551615');
 
14
SELECT a FROM t6;
 
15
DROP TABLE t6;