mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Bug #4797 - 32 bit and 64 bit builds behave differently on int32 overflow
This commit is contained in:
@@ -2,8 +2,10 @@ drop table if exists t1;
|
||||
create table t1 (this int unsigned);
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (-1);
|
||||
insert into t1 values ('5000000000');
|
||||
select * from t1;
|
||||
this
|
||||
1
|
||||
0
|
||||
4294967295
|
||||
drop table t1;
|
||||
|
@@ -6,5 +6,6 @@ drop table if exists t1;
|
||||
create table t1 (this int unsigned);
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (-1);
|
||||
insert into t1 values ('5000000000');
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user