Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
abd6e502
提交
abd6e502
authored
7月 24, 2017
作者:
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:
...
@@ -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
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
abd6e502
...
@@ -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", "");
...
...
h2/src/test/org/h2/test/db/TestDateStorage.java
浏览文件 @
abd6e502
...
@@ -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
();
}
}
...
...
h2/src/test/org/h2/test/db/TestLinkedTable.java
浏览文件 @
abd6e502
...
@@ -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
();
}
}
...
...
h2/src/test/org/h2/test/unit/TestDate.java
浏览文件 @
abd6e502
...
@@ -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
();
}
}
...
...
h2/src/test/org/h2/test/unit/TestDateTimeUtils.java
浏览文件 @
abd6e502
...
@@ -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
();
}
}
...
...
h2/src/test/org/h2/test/unit/TestLocale.java
浏览文件 @
abd6e502
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论