Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2705a8c5
提交
2705a8c5
authored
2月 17, 2014
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation / formatting
上级
1c51be2e
全部展开
显示空白字符变更
内嵌
并排
正在显示
21 个修改的文件
包含
1041 行增加
和
933 行删除
+1041
-933
changelog.html
h2/src/docsrc/html/changelog.html
+1
-1
mvstore.html
h2/src/docsrc/html/mvstore.html
+7
-7
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+345
-297
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+345
-297
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+308
-292
Aggregate.java
h2/src/main/org/h2/api/Aggregate.java
+3
-3
AggregateFunction.java
h2/src/main/org/h2/api/AggregateFunction.java
+1
-0
Bnf.java
h2/src/main/org/h2/bnf/Bnf.java
+2
-2
Session.java
h2/src/main/org/h2/engine/Session.java
+1
-1
UserAggregate.java
h2/src/main/org/h2/engine/UserAggregate.java
+2
-1
MVMap.java
h2/src/main/org/h2/mvstore/MVMap.java
+1
-0
MVStore.java
h2/src/main/org/h2/mvstore/MVStore.java
+2
-4
MVStoreTool.java
h2/src/main/org/h2/mvstore/MVStoreTool.java
+11
-11
LobStorageMap.java
h2/src/main/org/h2/store/LobStorageMap.java
+0
-6
Shell.java
h2/src/main/org/h2/tools/Shell.java
+2
-1
TestLob.java
h2/src/test/org/h2/test/db/TestLob.java
+2
-2
TestSpatial.java
h2/src/test/org/h2/test/db/TestSpatial.java
+4
-4
TestMVStore.java
h2/src/test/org/h2/test/store/TestMVStore.java
+1
-1
TestStreamStore.java
h2/src/test/org/h2/test/store/TestStreamStore.java
+1
-1
FilePathUnstable.java
h2/src/test/org/h2/test/utils/FilePathUnstable.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
2705a8c5
...
...
@@ -43,7 +43,7 @@ Change Log
</li><li>
Lucene 2 is no longer supported.
</li><li>
Fix bug in calculating default MIN and MAX values for SEQUENCE.
</li><li>
Fix bug in performing IN queries with multiple values when IGNORECASE=TRUE
</li><li>
Add entrypoint to org.h2.tools.Shell so it can be called from inside an application.
</li><li>
Add entry
-
point to org.h2.tools.Shell so it can be called from inside an application.
patch by Thomas Gillet.
</li><li>
Fix bug that prevented the PgServer from being stopped and started multiple times.
</li></ul>
...
...
h2/src/docsrc/html/mvstore.html
浏览文件 @
2705a8c5
...
...
@@ -495,12 +495,12 @@ As an example, the following code:
</p>
<pre>
MVStore s = MVStore.open(fileName);
MVMap
<Integer
,
String
>
map = s.openMap("data");
for (int i = 0; i
<
400
;
i
++)
{
MVMap
<
Integer, String
>
map = s.openMap("data");
for (int i = 0; i
<
400; i++) {
map.put(i, "Hello");
}
s.commit();
for
(
int
i =
0;
i
<
100
;
i
++)
{
for (int i = 0; i
<
100; i++) {
map.put(0, "Hi");
}
s.commit();
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
2705a8c5
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
2705a8c5
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
2705a8c5
差异被折叠。
点击展开。
h2/src/main/org/h2/api/Aggregate.java
浏览文件 @
2705a8c5
h2/src/main/org/h2/api/AggregateFunction.java
浏览文件 @
2705a8c5
...
...
@@ -16,6 +16,7 @@ import java.sql.SQLException;
* Please note this interface only has limited support for data types.
* If you need data types that don't have a corresponding SQL type
* (for example GEOMETRY), then use the {@link Aggregate} interface.
* </p>
*/
public
interface
AggregateFunction
{
...
...
h2/src/main/org/h2/bnf/Bnf.java
浏览文件 @
2705a8c5
h2/src/main/org/h2/engine/Session.java
浏览文件 @
2705a8c5
h2/src/main/org/h2/engine/UserAggregate.java
浏览文件 @
2705a8c5
...
...
@@ -91,7 +91,8 @@ public class UserAggregate extends DbObjectBase {
}
/**
* Wrap {@link AggregateFunction} in order to behave as {@link org.h2.api.Aggregate}
* Wrap {@link AggregateFunction} in order to behave as
* {@link org.h2.api.Aggregate}
**/
private
static
class
AggregateWrapper
implements
Aggregate
{
private
final
AggregateFunction
aggregateFunction
;
...
...
h2/src/main/org/h2/mvstore/MVMap.java
浏览文件 @
2705a8c5
...
...
@@ -982,6 +982,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
* Remove the given page (make the space available).
*
* @param pos the position of the page to remove
* @param memory the number of bytes used for this page
*/
protected
void
removePage
(
long
pos
,
int
memory
)
{
store
.
removePage
(
this
,
pos
,
memory
);
...
...
h2/src/main/org/h2/mvstore/MVStore.java
浏览文件 @
2705a8c5
...
...
@@ -49,8 +49,6 @@ TransactionStore:
MVStore:
- console auto-complete: only tab to complete; remove newlines before autocomplete?
- maybe change the length code to have lower gaps
- improve memory calculation for transient and cache
...
...
h2/src/main/org/h2/mvstore/MVStoreTool.java
浏览文件 @
2705a8c5
h2/src/main/org/h2/store/LobStorageMap.java
浏览文件 @
2705a8c5
...
...
@@ -96,12 +96,6 @@ public class LobStorageMap implements LobStorageInterface {
dataMap
=
mvStore
.
openMap
(
"lobData"
,
new
MVMapConcurrent
.
Builder
<
Long
,
byte
[]>());
streamStore
=
new
StreamStore
(
dataMap
);
;;
int
todo
;
// test and then remove
// TODO currently needed to avoid out of memory,
// because memory usage is only measure in number of pages currently
// streamStore.setMaxBlockSize(32 * 1024);
}
@Override
...
...
h2/src/main/org/h2/tools/Shell.java
浏览文件 @
2705a8c5
...
...
@@ -171,6 +171,7 @@ public class Shell extends Tool implements Runnable {
* <p>
* Note: using the "-url" option in {@code args} doesn't make much sense
* since it will override the {@code conn} parameter.
* </p>
*
* @param conn the connection
* @param args the command line settings
...
...
h2/src/test/org/h2/test/db/TestLob.java
浏览文件 @
2705a8c5
h2/src/test/org/h2/test/db/TestSpatial.java
浏览文件 @
2705a8c5
...
...
@@ -646,7 +646,7 @@ public class TestSpatial extends TestBase {
return
rs
;
}
p
ublic
void
testAggregateWithGeometry
()
throws
SQLException
{
p
rivate
void
testAggregateWithGeometry
()
throws
SQLException
{
deleteDb
(
"spatialIndex"
);
Connection
conn
=
getConnection
(
"spatialIndex"
);
try
{
...
...
h2/src/test/org/h2/test/store/TestMVStore.java
浏览文件 @
2705a8c5
h2/src/test/org/h2/test/store/TestStreamStore.java
浏览文件 @
2705a8c5
h2/src/test/org/h2/test/utils/FilePathUnstable.java
浏览文件 @
2705a8c5
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
2705a8c5
...
...
@@ -752,4 +752,4 @@ maginatics jdbclint lint lsm unmappable adams douglas definer invoker
fmrn fmxxx fmday fml syyyy tzd nov iyy iyyy fmc fmb fmxx tzr btc yyfxyy scc syear
overwrote though randomize readability datagram rsync mongodb divides crypto
predicted prediction wojtek hops jurczyk cbtree predict vast assumption upside
adjusted lastly sgtatham
adjusted lastly sgtatham
cleaning gillet prevented
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论