~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

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, values > 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
 
 
11
 
CREATE TABLE t6 (a BIGINT);
12
 
--error ER_WARN_DATA_OUT_OF_RANGE
13
 
INSERT INTO `t6` VALUES (9223372036854775807),(18446744073709551615);
14
 
--error ER_WARN_DATA_OUT_OF_RANGE
15
 
INSERT INTO `t6` VALUES ('9223372036854775807'),('18446744073709551615');
16
 
SELECT a FROM t6;
17
 
DROP TABLE t6;