~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/r/685803.result

  • Committer: Lee Bieber
  • Date: 2010-10-27 18:28:56 UTC
  • mfrom: (1883.1.3 build)
  • Revision ID: kalebral@gmail.com-20101027182856-q3wqtbv1t4egkjsk
Merge Andrew - fix bug 667360: --defaults-file not processed before paths read           
Merge Andrew - fix bug 656577: Importing SQL script results in silent failure    
Merge Andrew - fix bug 667053: drizzledump minor output cleanup needed

Show diffs side-by-side

added added

removed removed

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