2000-12-28 02:56:38 +01:00
|
|
|
#
|
|
|
|
# Test of reading of bigint values
|
|
|
|
#
|
|
|
|
select 0,256,00000000000000065536,2147483647,-2147483648,2147483648,+4294967296;
|
|
|
|
select 9223372036854775807,-009223372036854775808;
|
|
|
|
select +9999999999999999999,-9999999999999999999;
|
|
|
|
|
|
|
|
drop table if exists t1;
|
2001-06-19 13:30:12 +02:00
|
|
|
create table t1 (a bigint unsigned not null, primary key(a));
|
|
|
|
insert into t1 values (18446744073709551615), (0xFFFFFFFFFFFFFFFE);
|
|
|
|
select * from t1;
|
|
|
|
select * from t1 where a=18446744073709551615;
|
2002-08-08 21:09:25 +02:00
|
|
|
#select * from t1 where a='18446744073709551615';
|
2001-06-19 13:30:12 +02:00
|
|
|
delete from t1 where a=18446744073709551615;
|
2000-12-28 02:56:38 +01:00
|
|
|
select * from t1;
|
|
|
|
drop table t1;
|