summaryrefslogtreecommitdiff
path: root/mysql-test/r/bigint.result
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-05-16 23:01:21 +0500
committerunknown <holyfoot/hf@hfmain.(none)>2007-05-16 23:01:21 +0500
commitf7efc636b131b13880ee78c31ef1c4c93f9c6fcc (patch)
tree17df03511ee07061a062ea2c79293477f35cf0bc /mysql-test/r/bigint.result
parentac811bf0dd811d3cd296f082ab0a671979b79c1e (diff)
parent1e33cfb36a84b477a468dbcfc1ccc3035a9efb81 (diff)
downloadmariadb-git-f7efc636b131b13880ee78c31ef1c4c93f9c6fcc.tar.gz
Merge mysql.com:/home/hf/work/8663/my50-8663
into mysql.com:/home/hf/work/8663/my51-8663 strings/decimal.c: Auto merged mysql-test/r/bigint.result: SCCS merged mysql-test/t/bigint.test: merging
Diffstat (limited to 'mysql-test/r/bigint.result')
-rw-r--r--mysql-test/r/bigint.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/bigint.result b/mysql-test/r/bigint.result
index a70c6b3df7d..8d831ba800b 100644
--- a/mysql-test/r/bigint.result
+++ b/mysql-test/r/bigint.result
@@ -352,6 +352,16 @@ select c1 mod 50 as result from t1;
result
6
drop table t1;
+select cast(19999999999999999999 as signed);
+cast(19999999999999999999 as signed)
+9223372036854775807
+Warnings:
+Error 1292 Truncated incorrect DECIMAL value: ''
+select cast(-19999999999999999999 as signed);
+cast(-19999999999999999999 as signed)
+-9223372036854775808
+Warnings:
+Error 1292 Truncated incorrect DECIMAL value: ''
create table t1 select -9223372036854775808 bi;
describe t1;
Field Type Null Key Default Extra