提交 e0480636 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5bd76a42
...@@ -19,7 +19,7 @@ Change Log ...@@ -19,7 +19,7 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Could not order by a formula when the formula was in the group by list <ul><li>Could not order by a formula when the formula was in the group by list
but not in the select list. but not in the select list.
</li><li>Date values that match the daylight saving time end were not allowed in </li><li>Date values that match the daylight saving time end were not allowed in
times zones were the daylight saving time ends at midnight, for years larger than 2037. times zones were the daylight saving time ends at midnight, for years larger than 2037.
Example: timezone Brasilia, date 2042-10-12. This is a problem of Java, however a Example: timezone Brasilia, date 2042-10-12. This is a problem of Java, however a
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -74,7 +74,7 @@ public class TestDate extends TestBase { ...@@ -74,7 +74,7 @@ public class TestDate extends TestBase {
} }
} }
void test(PreparedStatement prep, int d) throws SQLException { private void test(PreparedStatement prep, int d) throws SQLException {
String s = "2040-10-" + ("" + d).substring(1); String s = "2040-10-" + ("" + d).substring(1);
// some dates don't work in some versions of Java // some dates don't work in some versions of Java
// java.sql.Date date = java.sql.Date.valueOf(s); // java.sql.Date date = java.sql.Date.valueOf(s);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论