1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added a test case for Bug#8009.

sql/item.cc:
  Fixed Bug#8009.
This commit is contained in:
unknown
2005-05-24 17:50:17 +03:00
parent b36f9f2eed
commit 801c2c275a
3 changed files with 16 additions and 0 deletions

View File

@ -2509,3 +2509,9 @@ AND FK_firma_id = 2;
COUNT(*)
0
drop table t1;
CREATE TABLE t1 (b BIGINT(20) UNSIGNED NOT NULL, PRIMARY KEY (b));
INSERT INTO t1 VALUES (0x8000000000000000);
SELECT b FROM t1 WHERE b=0x8000000000000000;
b
9223372036854775808
DROP TABLE t1;