Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
0b48ee6c
提交
0b48ee6c
authored
9月 09, 2015
作者:
Thomas Mueller Graf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add missing error message text
上级
cec0e8e0
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
19 行增加
和
17 行删除
+19
-17
ErrorCode.java
h2/src/main/org/h2/api/ErrorCode.java
+18
-17
_messages_en.prop
h2/src/main/org/h2/res/_messages_en.prop
+1
-0
没有找到文件。
h2/src/main/org/h2/api/ErrorCode.java
浏览文件 @
0b48ee6c
...
@@ -407,6 +407,18 @@ public class ErrorCode {
...
@@ -407,6 +407,18 @@ public class ErrorCode {
*/
*/
public
static
final
int
LOCK_TIMEOUT_1
=
50200
;
public
static
final
int
LOCK_TIMEOUT_1
=
50200
;
/**
* The error with code <code>57014</code> is thrown when
* a statement was canceled using Statement.cancel() or
* when the query timeout has been reached.
* Examples:
* <pre>
* stat.setQueryTimeout(1);
* stat.cancel();
* </pre>
*/
public
static
final
int
STATEMENT_WAS_CANCELED
=
57014
;
/**
/**
* The error with code <code>90000</code> is thrown when
* The error with code <code>90000</code> is thrown when
* a function that does not return a result set was used in the FROM clause.
* a function that does not return a result set was used in the FROM clause.
...
@@ -491,16 +503,6 @@ public class ErrorCode {
...
@@ -491,16 +503,6 @@ public class ErrorCode {
*/
*/
public
static
final
int
INVALID_VALUE_2
=
90008
;
public
static
final
int
INVALID_VALUE_2
=
90008
;
/**
* The error with code <code>90051</code> is thrown when
* trying to use a scale that is > precision.
* Example:
* <pre>
* CREATE TABLE TABLE1 ( FAIL NUMBER(6,24) );
* </pre>
*/
public
static
final
int
INVALID_VALUE_SCALE_PRECISION
=
90051
;
/**
/**
* The error with code <code>90009</code> is thrown when
* The error with code <code>90009</code> is thrown when
* trying to create a sequence with an invalid combination
* trying to create a sequence with an invalid combination
...
@@ -937,16 +939,15 @@ public class ErrorCode {
...
@@ -937,16 +939,15 @@ public class ErrorCode {
public
static
final
int
WRONG_PASSWORD_FORMAT
=
90050
;
public
static
final
int
WRONG_PASSWORD_FORMAT
=
90050
;
/**
/**
* The error with code <code>57014</code> is thrown when
* The error with code <code>90051</code> is thrown when
* a statement was canceled using Statement.cancel() or
* trying to use a scale that is > precision.
* when the query timeout has been reached.
* Example:
* Examples:
* <pre>
* <pre>
* stat.setQueryTimeout(1);
* CREATE TABLE TABLE1 ( FAIL NUMBER(6,24) );
* stat.cancel();
* </pre>
* </pre>
*/
*/
public
static
final
int
STATEMENT_WAS_CANCELED
=
57014
;
;
// message missing
public
static
final
int
INVALID_VALUE_SCALE_PRECISION
=
90051
;
/**
/**
* The error with code <code>90052</code> is thrown when
* The error with code <code>90052</code> is thrown when
...
...
h2/src/main/org/h2/res/_messages_en.prop
浏览文件 @
0b48ee6c
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
90048=Unsupported database file version or invalid file header in file {0}
90048=Unsupported database file version or invalid file header in file {0}
90049=Encryption error in file {0}
90049=Encryption error in file {0}
90050=Wrong password format, must be: file password <space> user password
90050=Wrong password format, must be: file password <space> user password
90051=Scale(${0}) must not be bigger than precision({1})
90052=Subquery is not a single column query
90052=Subquery is not a single column query
90053=Scalar subquery contains more than one row
90053=Scalar subquery contains more than one row
90054=Invalid use of aggregate function {0}
90054=Invalid use of aggregate function {0}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论