summaryrefslogtreecommitdiff
path: root/mysql-test/r/bigint.result
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-04 01:05:39 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-04 01:05:39 +0200
commitd6ca74d272a88a331a28cda1d578c6fb9c14d9da (patch)
tree534009eac955b290d4c8e82d4e106f06184ff8c0 /mysql-test/r/bigint.result
parent9b6726ae93c419e5b7be833e2167e3aea9593d1f (diff)
downloadmariadb-git-d6ca74d272a88a331a28cda1d578c6fb9c14d9da.tar.gz
Fixed bug in ulonglong parsing for constructs that only takes unsigned longlong as parameter.
mysql-test/r/bigint.result: Test if big LONG_NUM mysql-test/t/bigint.test: Test if big LONG_NUM
Diffstat (limited to 'mysql-test/r/bigint.result')
-rw-r--r--mysql-test/r/bigint.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/bigint.result b/mysql-test/r/bigint.result
index 6afa74d20e2..8522ef0212f 100644
--- a/mysql-test/r/bigint.result
+++ b/mysql-test/r/bigint.result
@@ -7,6 +7,9 @@ select 9223372036854775807,-009223372036854775808;
select +9999999999999999999,-9999999999999999999;
+9999999999999999999 -9999999999999999999
10000000000000000000 -10000000000000000000
+select 9223372036854775808+1;
+9223372036854775808+1
+9223372036854775808
drop table if exists t1;
create table t1 (a bigint unsigned not null, primary key(a));
insert into t1 values (18446744073709551615), (0xFFFFFFFFFFFFFFFE);
@@ -52,3 +55,12 @@ select min(big),max(big),max(big)-1 from t1 group by a;
min(big) max(big) max(big)-1
-1 9223372036854775807 9223372036854775806
drop table t1;
+create table t1 (id bigint auto_increment primary key, a int) auto_increment=9999999999;
+insert into t1 values (null,1);
+select * from t1;
+id a
+9999999999 1
+select * from t1 limit 9999999999;
+id a
+9999999999 1
+drop table t1;