Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a21b01f0
提交
a21b01f0
authored
6 年前
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
javadoc and translation updates
上级
118c1481
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
79 行增加
和
55 行删除
+79
-55
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+55
-55
CommandContainer.java
h2/src/main/org/h2/command/CommandContainer.java
+3
-0
CommandWithValues.java
h2/src/main/org/h2/command/dml/CommandWithValues.java
+3
-0
MVTempResult.java
h2/src/main/org/h2/mvstore/db/MVTempResult.java
+3
-0
WebServer.java
h2/src/main/org/h2/server/web/WebServer.java
+3
-0
DataType.java
h2/src/main/org/h2/value/DataType.java
+3
-0
ValueBytes.java
h2/src/main/org/h2/value/ValueBytes.java
+3
-0
ValueEnumBase.java
h2/src/main/org/h2/value/ValueEnumBase.java
+6
-0
没有找到文件。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
a21b01f0
差异被折叠。
点击展开。
h2/src/main/org/h2/command/CommandContainer.java
浏览文件 @
a21b01f0
...
@@ -185,6 +185,9 @@ public class CommandContainer extends Command {
...
@@ -185,6 +185,9 @@ public class CommandContainer extends Command {
return
prepared
.
getType
();
return
prepared
.
getType
();
}
}
/**
* Clean up any associated CTE.
*/
void
clearCTE
()
{
void
clearCTE
()
{
clearCTE
(
session
,
prepared
);
clearCTE
(
session
,
prepared
);
}
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/command/dml/CommandWithValues.java
浏览文件 @
a21b01f0
...
@@ -17,6 +17,9 @@ import org.h2.util.Utils;
...
@@ -17,6 +17,9 @@ import org.h2.util.Utils;
*/
*/
public
abstract
class
CommandWithValues
extends
Prepared
{
public
abstract
class
CommandWithValues
extends
Prepared
{
/**
* Expression data for the VALUES clause.
*/
protected
final
ArrayList
<
Expression
[]>
valuesExpressionList
=
Utils
.
newSmallArrayList
();
protected
final
ArrayList
<
Expression
[]>
valuesExpressionList
=
Utils
.
newSmallArrayList
();
/**
/**
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/mvstore/db/MVTempResult.java
浏览文件 @
a21b01f0
...
@@ -222,6 +222,9 @@ public abstract class MVTempResult implements ResultExternal {
...
@@ -222,6 +222,9 @@ public abstract class MVTempResult implements ResultExternal {
tempFileDeleter
.
deleteFile
(
fileRef
,
closeable
);
tempFileDeleter
.
deleteFile
(
fileRef
,
closeable
);
}
}
/**
* If any value in the rows is a ValueEnum, apply custom type conversion.
*/
final
void
fixEnum
(
Value
[]
row
)
{
final
void
fixEnum
(
Value
[]
row
)
{
for
(
int
i
=
0
,
l
=
expressions
.
length
;
i
<
l
;
i
++)
{
for
(
int
i
=
0
,
l
=
expressions
.
length
;
i
<
l
;
i
++)
{
TypeInfo
type
=
expressions
[
i
].
getType
();
TypeInfo
type
=
expressions
[
i
].
getType
();
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/server/web/WebServer.java
浏览文件 @
a21b01f0
...
@@ -866,6 +866,9 @@ public class WebServer implements Service {
...
@@ -866,6 +866,9 @@ public class WebServer implements Service {
adminPassword
=
total
;
adminPassword
=
total
;
}
}
/**
* true if admin password not configure, or admin password correct.
*/
boolean
checkAdminPassword
(
String
password
)
{
boolean
checkAdminPassword
(
String
password
)
{
if
(
adminPassword
==
null
)
{
if
(
adminPassword
==
null
)
{
return
false
;
return
false
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/value/DataType.java
浏览文件 @
a21b01f0
...
@@ -70,6 +70,9 @@ public class DataType {
...
@@ -70,6 +70,9 @@ public class DataType {
*/
*/
private
static
final
ArrayList
<
DataType
>
TYPES
=
new
ArrayList
<>(
96
);
private
static
final
ArrayList
<
DataType
>
TYPES
=
new
ArrayList
<>(
96
);
private
static
final
HashMap
<
String
,
DataType
>
TYPES_BY_NAME
=
new
HashMap
<>(
128
);
private
static
final
HashMap
<
String
,
DataType
>
TYPES_BY_NAME
=
new
HashMap
<>(
128
);
/**
* Mapping from Value type numbers to DataType.
*/
static
final
DataType
[]
TYPES_BY_VALUE_TYPE
=
new
DataType
[
Value
.
TYPE_COUNT
];
static
final
DataType
[]
TYPES_BY_VALUE_TYPE
=
new
DataType
[
Value
.
TYPE_COUNT
];
/**
/**
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/value/ValueBytes.java
浏览文件 @
a21b01f0
...
@@ -31,6 +31,9 @@ public class ValueBytes extends Value {
...
@@ -31,6 +31,9 @@ public class ValueBytes extends Value {
*/
*/
protected
byte
[]
value
;
protected
byte
[]
value
;
/**
* Associated TypeInfo.
*/
protected
TypeInfo
type
;
protected
TypeInfo
type
;
/**
/**
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/value/ValueEnumBase.java
浏览文件 @
a21b01f0
...
@@ -18,7 +18,13 @@ import org.h2.util.StringUtils;
...
@@ -18,7 +18,13 @@ import org.h2.util.StringUtils;
* client-server communication.
* client-server communication.
*/
*/
public
class
ValueEnumBase
extends
Value
{
public
class
ValueEnumBase
extends
Value
{
/**
* Default precision.
*/
static
final
int
PRECISION
=
10
;
static
final
int
PRECISION
=
10
;
/**
* Default display size.
*/
static
final
int
DISPLAY_SIZE
=
11
;
static
final
int
DISPLAY_SIZE
=
11
;
private
final
String
label
;
private
final
String
label
;
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论