提交 abd6e502 authored 作者: Noel Grandin's avatar Noel Grandin

remove last traces of storeLocalTime feature

we removed this a long time ago
上级 e57c42ec
...@@ -69,8 +69,7 @@ Here is the list of known and confirmed issues: ...@@ -69,8 +69,7 @@ Here is the list of known and confirmed issues:
will differ. This is not a problem within regions that use the same rules (such as, within will differ. This is not a problem within regions that use the same rules (such as, within
USA, or within Europe), even if the timezone itself is different. As a workaround, export the USA, or within Europe), even if the timezone itself is different. As a workaround, export the
database to a SQL script using the old timezone, and create a new database in the new database to a SQL script using the old timezone, and create a new database in the new
timezone. This problem does not occur when using the system property "h2.storeLocalTime" timezone.
(however such database files are not compatible with older versions of H2).
</li><li>Apache Harmony: there seems to be a bug in Harmony that affects H2. </li><li>Apache Harmony: there seems to be a bug in Harmony that affects H2.
See <a href="http://issues.apache.org/jira/browse/HARMONY-6505">HARMONY-6505</a>. See <a href="http://issues.apache.org/jira/browse/HARMONY-6505">HARMONY-6505</a>.
</li><li>Tomcat and Glassfish 3 set most static fields (final or non-final) to <code>null</code> when </li><li>Tomcat and Glassfish 3 set most static fields (final or non-final) to <code>null</code> when
......
...@@ -470,8 +470,6 @@ java org.h2.test.TestAll timer ...@@ -470,8 +470,6 @@ java org.h2.test.TestAll timer
// System.setProperty("h2.modifyOnWrite", "true"); // System.setProperty("h2.modifyOnWrite", "true");
// System.setProperty("h2.storeLocalTime", "true");
// speedup // speedup
// System.setProperty("h2.syncMethod", ""); // System.setProperty("h2.syncMethod", "");
......
...@@ -18,7 +18,6 @@ import java.util.Calendar; ...@@ -18,7 +18,6 @@ import java.util.Calendar;
import java.util.GregorianCalendar; import java.util.GregorianCalendar;
import java.util.SimpleTimeZone; import java.util.SimpleTimeZone;
import java.util.TimeZone; import java.util.TimeZone;
import org.h2.test.TestBase; import org.h2.test.TestBase;
import org.h2.test.unit.TestDate; import org.h2.test.unit.TestDate;
import org.h2.util.DateTimeUtils; import org.h2.util.DateTimeUtils;
...@@ -35,7 +34,6 @@ public class TestDateStorage extends TestBase { ...@@ -35,7 +34,6 @@ public class TestDateStorage extends TestBase {
* @param a ignored * @param a ignored
*/ */
public static void main(String... a) throws Exception { public static void main(String... a) throws Exception {
System.setProperty("h2.storeLocalTime", "true");
TestBase.createCaller().init().test(); TestBase.createCaller().init().test();
} }
......
...@@ -30,7 +30,6 @@ public class TestLinkedTable extends TestBase { ...@@ -30,7 +30,6 @@ public class TestLinkedTable extends TestBase {
* @param a ignored * @param a ignored
*/ */
public static void main(String... a) throws Exception { public static void main(String... a) throws Exception {
// System.setProperty("h2.storeLocalTime", "true");
TestBase.createCaller().init().test(); TestBase.createCaller().init().test();
} }
......
...@@ -13,7 +13,6 @@ import java.util.ArrayList; ...@@ -13,7 +13,6 @@ import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
import java.util.GregorianCalendar; import java.util.GregorianCalendar;
import java.util.TimeZone; import java.util.TimeZone;
import org.h2.api.ErrorCode; import org.h2.api.ErrorCode;
import org.h2.test.TestBase; import org.h2.test.TestBase;
import org.h2.test.utils.AssertThrows; import org.h2.test.utils.AssertThrows;
...@@ -40,7 +39,6 @@ public class TestDate extends TestBase { ...@@ -40,7 +39,6 @@ public class TestDate extends TestBase {
* @param a ignored * @param a ignored
*/ */
public static void main(String... a) throws Exception { public static void main(String... a) throws Exception {
// System.setProperty("h2.storeLocalTime", "true");
TestBase.createCaller().init().test(); TestBase.createCaller().init().test();
} }
......
...@@ -19,7 +19,6 @@ public class TestDateTimeUtils extends TestBase { ...@@ -19,7 +19,6 @@ public class TestDateTimeUtils extends TestBase {
* @param a ignored * @param a ignored
*/ */
public static void main(String... a) throws Exception { public static void main(String... a) throws Exception {
// System.setProperty("h2.storeLocalTime", "true");
TestBase.createCaller().init().test(); TestBase.createCaller().init().test();
} }
......
...@@ -10,7 +10,6 @@ import java.sql.ResultSet; ...@@ -10,7 +10,6 @@ import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Statement; import java.sql.Statement;
import java.util.Locale; import java.util.Locale;
import org.h2.test.TestBase; import org.h2.test.TestBase;
/** /**
...@@ -24,7 +23,6 @@ public class TestLocale extends TestBase { ...@@ -24,7 +23,6 @@ public class TestLocale extends TestBase {
* @param a ignored * @param a ignored
*/ */
public static void main(String... a) throws Exception { public static void main(String... a) throws Exception {
// System.setProperty("h2.storeLocalTime", "true");
TestBase.createCaller().init().test(); TestBase.createCaller().init().test();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论