Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
ac2ce3fd
提交
ac2ce3fd
authored
8 年前
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
javadoc cleanup
上级
ff7d9f9a
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
7 行增加
和
20 行删除
+7
-20
SessionInterface.java
h2/src/main/org/h2/engine/SessionInterface.java
+2
-1
MVStore.java
h2/src/main/org/h2/mvstore/MVStore.java
+1
-1
MVSecondaryIndex.java
h2/src/main/org/h2/mvstore/db/MVSecondaryIndex.java
+1
-1
FilePathMem.java
h2/src/main/org/h2/store/fs/FilePathMem.java
+1
-2
LazyFuture.java
h2/src/main/org/h2/util/LazyFuture.java
+0
-1
TestUsingIndex.java
h2/src/test/org/h2/test/db/TestUsingIndex.java
+0
-6
TestNetUtils.java
h2/src/test/org/h2/test/unit/TestNetUtils.java
+0
-4
H2Database.java
h2/src/tools/org/h2/android/H2Database.java
+2
-1
ArchiveTool.java
h2/src/tools/org/h2/dev/fs/ArchiveTool.java
+0
-2
IntPerfectHash.java
h2/src/tools/org/h2/dev/hash/IntPerfectHash.java
+0
-1
没有找到文件。
h2/src/main/org/h2/engine/SessionInterface.java
浏览文件 @
ac2ce3fd
...
...
@@ -8,6 +8,7 @@ package org.h2.engine;
import
java.io.Closeable
;
import
java.util.ArrayList
;
import
org.h2.command.CommandInterface
;
import
org.h2.jdbc.JdbcConnection
;
import
org.h2.message.Trace
;
import
org.h2.store.DataHandler
;
import
org.h2.value.Value
;
...
...
@@ -141,7 +142,7 @@ public interface SessionInterface extends Closeable {
boolean
isRemote
();
/**
* Set current schema as in {@link JdbcConnection#setSchema(String)}.
* Set current schema as in {@link
org.h2.jdbc.
JdbcConnection#setSchema(String)}.
*
* @param schema the schema name
*/
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/mvstore/MVStore.java
浏览文件 @
ac2ce3fd
...
...
@@ -917,7 +917,7 @@ public class MVStore {
/**
* Whether the chunk at the given position is live.
*
* @param the chunk id
* @param
chunkId
the chunk id
* @return true if it is live
*/
boolean
isChunkLive
(
int
chunkId
)
{
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/mvstore/db/MVSecondaryIndex.java
浏览文件 @
ac2ce3fd
...
...
@@ -329,7 +329,7 @@ public class MVSecondaryIndex extends BaseIndex implements MVIndex {
/**
* Convert array of values to a SearchRow.
*
* @param
arra
y the index key
* @param
ke
y the index key
* @return the row
*/
SearchRow
convertToSearchRow
(
ValueArray
key
)
{
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/store/fs/FilePathMem.java
浏览文件 @
ac2ce3fd
...
...
@@ -17,7 +17,6 @@ import java.util.LinkedHashMap;
import
java.util.List
;
import
java.util.Map
;
import
java.util.TreeMap
;
import
org.h2.api.ErrorCode
;
import
org.h2.compress.CompressLZF
;
import
org.h2.message.DbException
;
...
...
@@ -554,8 +553,8 @@ class FileMemData {
/**
* Compress the data in a byte array.
*
* @param data the page array
* @param page which page to compress
* @param old the page array
*/
void
compress
(
int
page
,
byte
[]
old
)
{
byte
[][]
array
=
data
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/util/LazyFuture.java
浏览文件 @
ac2ce3fd
...
...
@@ -14,7 +14,6 @@ import org.h2.message.DbException;
/**
* Single threaded lazy future.
*
* @param <T>
* @author Sergi Vladykin
*/
public
abstract
class
LazyFuture
<
T
>
implements
Future
<
T
>
{
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/db/TestUsingIndex.java
浏览文件 @
ac2ce3fd
...
...
@@ -22,12 +22,6 @@ public class TestUsingIndex extends TestBase {
private
Connection
conn
;
private
Statement
stat
;
/**
* Run just this test.
*
* @param a ignored
* @throws java.lang.Exception
*/
public
static
void
main
(
String
...
a
)
throws
Exception
{
TestBase
.
createCaller
().
init
().
test
();
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/unit/TestNetUtils.java
浏览文件 @
ac2ce3fd
...
...
@@ -11,12 +11,10 @@ import java.net.Socket;
import
java.util.HashSet
;
import
java.util.Set
;
import
java.util.concurrent.atomic.AtomicInteger
;
import
javax.net.ssl.SSLContext
;
import
javax.net.ssl.SSLServerSocket
;
import
javax.net.ssl.SSLSession
;
import
javax.net.ssl.SSLSocket
;
import
org.h2.engine.SysProperties
;
import
org.h2.test.TestBase
;
import
org.h2.util.NetUtils
;
...
...
@@ -57,7 +55,6 @@ public class TestNetUtils extends TestBase {
* With default settings, H2 client SSL socket should be able to connect
* to an H2 server SSL socket using an anonymous cipher suite
* (no SSL certificate is needed).
* @throws Exception
*/
private
void
testAnonymousTlsSession
()
throws
Exception
{
assertTrue
(
"Failed assumption: the default value of ENABLE_ANONYMOUS_TLS"
+
...
...
@@ -98,7 +95,6 @@ public class TestNetUtils extends TestBase {
* does not allow anonymous TLS.
* The global property ENABLE_ANONYMOUS_TLS cannot be modified for the test;
* instead, the server socket is altered.
* @throws Exception
*/
private
void
testTlsSessionWithServerSideAnonymousDisabled
()
throws
Exception
{
boolean
ssl
=
true
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/tools/org/h2/android/H2Database.java
浏览文件 @
ac2ce3fd
...
...
@@ -622,9 +622,10 @@ public class H2Database {
/**
* TODO
*
* @deprecated
* @deprecated
deprecated in API Level 3, use yieldIfContendedSafely
* @return TODO
*/
@Deprecated
public
boolean
yieldIfContended
()
{
return
false
;
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/tools/org/h2/dev/fs/ArchiveTool.java
浏览文件 @
ac2ce3fd
...
...
@@ -1092,8 +1092,6 @@ public class ArchiveTool {
/**
* Print the progress.
*
* @param current the current value
*/
void
printProgress
(
long
offset
)
{
current
+=
offset
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/tools/org/h2/dev/hash/IntPerfectHash.java
浏览文件 @
ac2ce3fd
...
...
@@ -91,7 +91,6 @@ public class IntPerfectHash {
*
* @param pos the start position
* @param x the key
* @param isRoot whether this is the root of the tree
* @param level the level
* @return the hash value
*/
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论