Commit c94e1206 authored by unknown's avatar unknown

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

into mysql.com:/home/timka/mysql/src/5.0-virgin

parents 9a03ad15 3c141688
Branches unavailable
Tags unavailable
No related merge requests found
...@@ -1721,12 +1721,13 @@ count(*) ...@@ -1721,12 +1721,13 @@ count(*)
0 0
explain select count(*) from t1 where x > -16; explain select count(*) from t1 where x > -16;
id select_type table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range PRIMARY PRIMARY 8 NULL 1 Using where; Using index 1 SIMPLE t1 index PRIMARY PRIMARY 8 NULL 2 Using where; Using index
select count(*) from t1 where x > -16; select count(*) from t1 where x > -16;
count(*) count(*)
1 2
select * from t1 where x > -16; select * from t1 where x > -16;
x x
18446744073709551600
18446744073709551601 18446744073709551601
select count(*) from t1 where x = 18446744073709551601; select count(*) from t1 where x = 18446744073709551601;
count(*) count(*)
......
...@@ -544,7 +544,7 @@ count(*) ...@@ -544,7 +544,7 @@ count(*)
1 1
select count(*) from t2 where x > -16; select count(*) from t2 where x > -16;
count(*) count(*)
2 1
select count(*) from t2 where x = 18446744073709551601; select count(*) from t2 where x = 18446744073709551601;
count(*) count(*)
0 0
......
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