Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
23cceaf0
提交
23cceaf0
authored
18 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
289b5f7a
master
noel-pr1
plus33-master
pr/267
stumc-Issue#576
version-1.1.x
version-1.4.198
version-1.4.197
version-1.4.196
version-1.4.195
version-1.4.194
version-1.4.193
version-1.4.192
version-1.4.191
version-1.4.190
version-1.4.188
version-1.4.187
version-1.4.186
version-1.4.185
version-1.4.184
version-1.4.183
version-1.4.182
version-1.4.181
version-1.4.178
version-1.4.177
version-1.3
version-1.2
version-1.1
version-1.0
无相关合并请求
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
12 行增加
和
9 行删除
+12
-9
Message.java
h2/src/main/org/h2/message/Message.java
+1
-1
messages.properties
h2/src/main/org/h2/res/messages.properties
+1
-1
WebServer.java
h2/src/main/org/h2/server/web/WebServer.java
+10
-7
没有找到文件。
h2/src/main/org/h2/message/Message.java
浏览文件 @
23cceaf0
...
@@ -320,7 +320,7 @@ public class Message {
...
@@ -320,7 +320,7 @@ public class Message {
public
static
final
int
CANNOT_TRUNCATE_1
=
90106
;
public
static
final
int
CANNOT_TRUNCATE_1
=
90106
;
public
static
final
int
CANNOT_DROP_2
=
90107
;
public
static
final
int
CANNOT_DROP_2
=
90107
;
public
static
final
int
STACK_OVERFLOW
=
90108
;
public
static
final
int
STACK_OVERFLOW
=
90108
;
public
static
final
int
VIEW_IS_INVALID_
1
=
90109
;
public
static
final
int
VIEW_IS_INVALID_
2
=
90109
;
public
static
final
int
OVERFLOW_FOR_TYPE_1
=
90110
;
public
static
final
int
OVERFLOW_FOR_TYPE_1
=
90110
;
public
static
final
int
ERROR_ACCESSING_LINKED_TABLE_1
=
90111
;
public
static
final
int
ERROR_ACCESSING_LINKED_TABLE_1
=
90111
;
public
static
final
int
ROW_NOT_FOUND_WHEN_DELETING_1
=
90112
;
public
static
final
int
ROW_NOT_FOUND_WHEN_DELETING_1
=
90112
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/res/messages.properties
浏览文件 @
23cceaf0
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
90106
=
Cannot truncate {0}
90106
=
Cannot truncate {0}
90107
=
Cannot drop {0} because {1} depends on it
90107
=
Cannot drop {0} because {1} depends on it
90108
=
Stack overflow (recursive query or function?)
90108
=
Stack overflow (recursive query or function?)
90109
=
View {0} is invalid
90109
=
View {0} is invalid
: {1}
90110
=
{0} out of range
90110
=
{0} out of range
90111
=
Error accessing linked table with SQL statement {0}
90111
=
Error accessing linked table with SQL statement {0}
90112
=
Row not found when trying to delete from index {0}
90112
=
Row not found when trying to delete from index {0}
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/server/web/WebServer.java
浏览文件 @
23cceaf0
...
@@ -38,14 +38,17 @@ public class WebServer implements Service {
...
@@ -38,14 +38,17 @@ public class WebServer implements Service {
{
"zh_CN"
,
"\u4E2D\u6587"
},
{
"zh_CN"
,
"\u4E2D\u6587"
},
{
"ja"
,
"\u65e5\u672c\u8a9e"
},
{
"ja"
,
"\u65e5\u672c\u8a9e"
},
{
"hu"
,
"Magyar"
},
{
"hu"
,
"Magyar"
},
{
"in"
,
"Indonesia"
}
{
"in"
,
"Indonesia"
},
{
"pt_PT"
,
"Portugu\u00eas (Europeu)"
},
};
};
// String lang = new java.util.Locale("hu").getDisplayLanguage(new java.util.Locale("hu"));
/*
// java.util.Locale.CHINESE.getDisplayLanguage(
String lang = new java.util.Locale("hu").getDisplayLanguage(new java.util.Locale("hu"));
// java.util.Locale.CHINESE);
java.util.Locale.CHINESE.getDisplayLanguage(
// for(int i=0; i<lang.length(); i++)
java.util.Locale.CHINESE);
// System.out.println(Integer.toHexString(lang.charAt(i))+" ");
for(int i=0; i<lang.length(); i++)
System.out.println(Integer.toHexString(lang.charAt(i))+" ");
*/
private
static
final
long
SESSION_TIMEOUT
=
30
*
60
*
1000
;
// timeout is 30 min
private
static
final
long
SESSION_TIMEOUT
=
30
*
60
*
1000
;
// timeout is 30 min
private
long
lastTimeoutCheck
;
private
long
lastTimeoutCheck
;
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论