Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d06b6830
提交
d06b6830
authored
7 年前
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
javadoc and warnings fixes
上级
2d4f153e
master
version-1.4.198
version-1.4.197
无相关合并请求
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
9 行删除
+5
-9
FileLock.java
h2/src/main/org/h2/store/FileLock.java
+1
-0
Table.java
h2/src/main/org/h2/table/Table.java
+4
-0
Value.java
h2/src/main/org/h2/value/Value.java
+0
-1
ValueLob.java
h2/src/main/org/h2/value/ValueLob.java
+0
-8
没有找到文件。
h2/src/main/org/h2/store/FileLock.java
浏览文件 @
d06b6830
...
...
@@ -114,6 +114,7 @@ public class FileLock implements Runnable {
lockSerialized
();
break
;
case
FS:
case
NO:
break
;
}
locked
=
true
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/table/Table.java
浏览文件 @
d06b6830
...
...
@@ -196,6 +196,7 @@ public abstract class Table extends SchemaObjectBase {
* @param operation the operation
* @param row the row
*/
@SuppressWarnings
(
"unused"
)
public
void
commit
(
short
operation
,
Row
row
)
{
// nothing to do
}
...
...
@@ -233,6 +234,7 @@ public abstract class Table extends SchemaObjectBase {
* @param allColumnsSet all columns
* @return the scan index
*/
@SuppressWarnings
(
"unused"
)
public
Index
getScanIndex
(
Session
session
,
int
[]
masks
,
TableFilter
[]
filters
,
int
filter
,
SortOrder
sortOrder
,
HashSet
<
Column
>
allColumnsSet
)
{
...
...
@@ -464,6 +466,7 @@ public abstract class Table extends SchemaObjectBase {
* @param session the session
* @return true if it is
*/
@SuppressWarnings
(
"unused"
)
public
boolean
isLockedExclusivelyBy
(
Session
session
)
{
return
false
;
}
...
...
@@ -1160,6 +1163,7 @@ public abstract class Table extends SchemaObjectBase {
* @return an object array with the sessions involved in the deadlock, or
* null
*/
@SuppressWarnings
(
"unused"
)
public
ArrayList
<
Session
>
checkDeadlock
(
Session
session
,
Session
clash
,
Set
<
Session
>
visited
)
{
return
null
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/value/Value.java
浏览文件 @
d06b6830
...
...
@@ -617,7 +617,6 @@ public abstract class Value {
* @param mode the conversion mode
* @param column the column that contains the ENUM datatype enumerators,
* for dealing with ENUM conversions
* @param mode the database mode
* @return the converted value
*/
public
Value
convertTo
(
int
targetType
,
int
precision
,
Mode
mode
,
Column
column
)
{
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/value/ValueLob.java
浏览文件 @
d06b6830
...
...
@@ -83,19 +83,11 @@ public class ValueLob extends Value {
/**
* Create a reader that is s subset of the given reader.
*
<<<<<<< Updated upstream
* @param reader the input reader
* @param oneBasedOffset the offset (1 means no offset)
* @param length the length of the result, in bytes
* @param dataSize the length of the input, in bytes
* @return the smaller input stream
=======
* @param reader the source reader
* @param oneBasedOffset the offset (1 means no offset)
* @param length the length of the result, in characters
* @param dataSize the length of the input, in characters
* @return the smaller reader
>>>>>>> Stashed changes
*/
static
Reader
rangeReader
(
Reader
reader
,
long
oneBasedOffset
,
long
length
,
long
dataSize
)
{
if
(
dataSize
>
0
)
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论