mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
bigint.test, bigint.result:
Test case for Bug#30069 mysql-test/r/bigint.result: Test case for Bug#30069 mysql-test/t/bigint.test: Test case for Bug#30069
This commit is contained in:
parent
5c04a99e2a
commit
568f624406
2 changed files with 15 additions and 0 deletions
|
@ -135,3 +135,9 @@ t2.value64=t1.value64;
|
|||
value64 value32 value64 value32
|
||||
9223372036854775807 2 9223372036854775807 4
|
||||
drop table t1, t2;
|
||||
create table t1 (sint64 bigint not null);
|
||||
insert into t1 values (-9223372036854775808);
|
||||
select * from t1;
|
||||
sint64
|
||||
-9223372036854775808
|
||||
drop table t1;
|
||||
|
|
|
@ -107,4 +107,13 @@ t2.value64=t1.value64;
|
|||
|
||||
drop table t1, t2;
|
||||
|
||||
# Test for BUG#30069, can't handle bigint -9223372036854775808 on
|
||||
# x86_64, with some GCC versions and optimizations.
|
||||
|
||||
create table t1 (sint64 bigint not null);
|
||||
insert into t1 values (-9223372036854775808);
|
||||
select * from t1;
|
||||
|
||||
drop table t1;
|
||||
|
||||
# End of 4.1 tests
|
||||
|
|
Loading…
Reference in a new issue