Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
abd6e502
提交
abd6e502
authored
7 年前
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove last traces of storeLocalTime feature
we removed this a long time ago
上级
e57c42ec
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
1 行增加
和
12 行删除
+1
-12
faq.html
h2/src/docsrc/html/faq.html
+1
-2
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+0
-2
TestDateStorage.java
h2/src/test/org/h2/test/db/TestDateStorage.java
+0
-2
TestLinkedTable.java
h2/src/test/org/h2/test/db/TestLinkedTable.java
+0
-1
TestDate.java
h2/src/test/org/h2/test/unit/TestDate.java
+0
-2
TestDateTimeUtils.java
h2/src/test/org/h2/test/unit/TestDateTimeUtils.java
+0
-1
TestLocale.java
h2/src/test/org/h2/test/unit/TestLocale.java
+0
-2
没有找到文件。
h2/src/docsrc/html/faq.html
浏览文件 @
abd6e502
...
...
@@ -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
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
timezone. This problem does not occur when using the system property "h2.storeLocalTime"
(however such database files are not compatible with older versions of H2).
timezone.
</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>
.
</li><li>
Tomcat and Glassfish 3 set most static fields (final or non-final) to
<code>
null
</code>
when
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
abd6e502
...
...
@@ -470,8 +470,6 @@ java org.h2.test.TestAll timer
// System.setProperty("h2.modifyOnWrite", "true");
// System.setProperty("h2.storeLocalTime", "true");
// speedup
// System.setProperty("h2.syncMethod", "");
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/db/TestDateStorage.java
浏览文件 @
abd6e502
...
...
@@ -18,7 +18,6 @@ import java.util.Calendar;
import
java.util.GregorianCalendar
;
import
java.util.SimpleTimeZone
;
import
java.util.TimeZone
;
import
org.h2.test.TestBase
;
import
org.h2.test.unit.TestDate
;
import
org.h2.util.DateTimeUtils
;
...
...
@@ -35,7 +34,6 @@ public class TestDateStorage extends TestBase {
* @param a ignored
*/
public
static
void
main
(
String
...
a
)
throws
Exception
{
System
.
setProperty
(
"h2.storeLocalTime"
,
"true"
);
TestBase
.
createCaller
().
init
().
test
();
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/db/TestLinkedTable.java
浏览文件 @
abd6e502
...
...
@@ -30,7 +30,6 @@ public class TestLinkedTable extends TestBase {
* @param a ignored
*/
public
static
void
main
(
String
...
a
)
throws
Exception
{
// System.setProperty("h2.storeLocalTime", "true");
TestBase
.
createCaller
().
init
().
test
();
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/unit/TestDate.java
浏览文件 @
abd6e502
...
...
@@ -13,7 +13,6 @@ import java.util.ArrayList;
import
java.util.Calendar
;
import
java.util.GregorianCalendar
;
import
java.util.TimeZone
;
import
org.h2.api.ErrorCode
;
import
org.h2.test.TestBase
;
import
org.h2.test.utils.AssertThrows
;
...
...
@@ -40,7 +39,6 @@ public class TestDate extends TestBase {
* @param a ignored
*/
public
static
void
main
(
String
...
a
)
throws
Exception
{
// System.setProperty("h2.storeLocalTime", "true");
TestBase
.
createCaller
().
init
().
test
();
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/unit/TestDateTimeUtils.java
浏览文件 @
abd6e502
...
...
@@ -19,7 +19,6 @@ public class TestDateTimeUtils extends TestBase {
* @param a ignored
*/
public
static
void
main
(
String
...
a
)
throws
Exception
{
// System.setProperty("h2.storeLocalTime", "true");
TestBase
.
createCaller
().
init
().
test
();
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/unit/TestLocale.java
浏览文件 @
abd6e502
...
...
@@ -10,7 +10,6 @@ import java.sql.ResultSet;
import
java.sql.SQLException
;
import
java.sql.Statement
;
import
java.util.Locale
;
import
org.h2.test.TestBase
;
/**
...
...
@@ -24,7 +23,6 @@ public class TestLocale extends TestBase {
* @param a ignored
*/
public
static
void
main
(
String
...
a
)
throws
Exception
{
// System.setProperty("h2.storeLocalTime", "true");
TestBase
.
createCaller
().
init
().
test
();
}
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论