Commit 8846baa6 authored by ramil@mysql.com's avatar ramil@mysql.com

Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0

into mysql.com:/usr/home/ram/work/mysql-5.0
parents 0e85b8e3 5e618219
......@@ -928,3 +928,9 @@ select * from t1 where a = -0.00;
a
0.00
drop table t1;
create table t1 (col1 bigint default -9223372036854775808);
insert into t1 values (default);
select * from t1;
col1
-9223372036854775808
drop table t1;
......@@ -964,3 +964,12 @@ insert into t1 values (0.00);
select * from t1 where a > -0.00;
select * from t1 where a = -0.00;
drop table t1;
#
# Bug #11215: a problem with LONGLONG_MIN
#
create table t1 (col1 bigint default -9223372036854775808);
insert into t1 values (default);
select * from t1;
drop table t1;
......@@ -3573,7 +3573,7 @@ Item *Item_int_with_ref::new_item()
Item_num *Item_uint::neg()
{
Item_decimal *item= new Item_decimal(value, 0);
Item_decimal *item= new Item_decimal(value, 1);
return item->neg();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment