summaryrefslogtreecommitdiff
path: root/mysql-test/main/default.result
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-04-30 15:51:49 +0400
committerAlexander Barkov <bar@mariadb.com>2019-04-30 15:51:49 +0400
commit8c8bee0a5635d7f8197a148f267c04c1452b47fc (patch)
treeec46c8a00857d104ab87a14649d61128344b5977 /mysql-test/main/default.result
parent447b8ba1645435cb7d538a6f1b644cad113f4835 (diff)
downloadmariadb-git-8c8bee0a5635d7f8197a148f267c04c1452b47fc.tar.gz
MDEV-10307 CAST(11068046444225730969 AS SIGNED) does not return a warning
Diffstat (limited to 'mysql-test/main/default.result')
-rw-r--r--mysql-test/main/default.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/default.result b/mysql-test/main/default.result
index 73417d0d64e..c214e529d72 100644
--- a/mysql-test/main/default.result
+++ b/mysql-test/main/default.result
@@ -2217,6 +2217,8 @@ t1 CREATE TABLE `t1` (
`b` bigint(20) DEFAULT (cast(`a` as signed))
) ENGINE=MyISAM DEFAULT CHARSET=latin1
INSERT INTO t1 (a) VALUES (0xFFFFFFFFFFFFFFFF);
+Warnings:
+Note 1105 Cast to signed converted positive out-of-range integer to it's negative complement
SELECT * FROM t1;
a b
18446744073709551615 -1