Commit 845e36e1 authored by Vinay Fisrekar's avatar Vinay Fisrekar

Bug#11766165 - 59211: SELECT RETURNS DIFFERENT VALUE FOR MIN(YEAR) FUNCTION

Result File Correction For Bug Fix
parent fd1e3b03
...@@ -2431,7 +2431,7 @@ c1 c2 c3 c4 ...@@ -2431,7 +2431,7 @@ c1 c2 c3 c4
2155 2155 1998-12-26 1998-12-26 11:30:45 2155 2155 1998-12-26 1998-12-26 11:30:45
SELECT count(*) as total_rows, min(c2) as min_value, max(c2) FROM t3; SELECT count(*) as total_rows, min(c2) as min_value, max(c2) FROM t3;
total_rows min_value max(c2) total_rows min_value max(c2)
21 1901 2155 21 0 2155
SELECT * FROM t3 WHERE c3 = '1998-12-11'; SELECT * FROM t3 WHERE c3 = '1998-12-11';
c1 c2 c3 c4 c1 c2 c3 c4
1990 1990 1998-12-11 1998-12-11 11:30:45 1990 1990 1998-12-11 1998-12-11 11:30:45
...@@ -2838,7 +2838,7 @@ c1 c2 c3 c4 ...@@ -2838,7 +2838,7 @@ c1 c2 c3 c4
2155 2155 1998-12-26 1998-12-26 11:30:45 2155 2155 1998-12-26 1998-12-26 11:30:45
SELECT count(*) as total_rows, min(c2) as min_value, max(c2) FROM t3; SELECT count(*) as total_rows, min(c2) as min_value, max(c2) FROM t3;
total_rows min_value max(c2) total_rows min_value max(c2)
21 1901 2155 21 0 2155
SELECT * FROM t3 WHERE c3 = '1998-12-11'; SELECT * FROM t3 WHERE c3 = '1998-12-11';
c1 c2 c3 c4 c1 c2 c3 c4
1990 1990 1998-12-11 1998-12-11 11:30:45 1990 1990 1998-12-11 1998-12-11 11:30:45
......
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