Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
3afd22a7
提交
3afd22a7
authored
4月 11, 2014
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare beta release (possibly not today, but this weekend)
上级
4ab7caf6
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
12 行增加
和
10 行删除
+12
-10
Constants.java
h2/src/main/org/h2/engine/Constants.java
+3
-3
MVStore.java
h2/src/main/org/h2/mvstore/MVStore.java
+3
-1
help.csv
h2/src/main/org/h2/res/help.csv
+4
-0
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+1
-1
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+1
-5
没有找到文件。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
3afd22a7
...
@@ -17,7 +17,7 @@ public class Constants {
...
@@ -17,7 +17,7 @@ public class Constants {
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
*/
*/
public
static
final
String
BUILD_DATE
=
"2014-04-
05
"
;
public
static
final
String
BUILD_DATE
=
"2014-04-
11
"
;
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
...
@@ -27,12 +27,12 @@ public class Constants {
...
@@ -27,12 +27,12 @@ public class Constants {
/**
/**
* The build id is incremented for each public release.
* The build id is incremented for each public release.
*/
*/
public
static
final
int
BUILD_ID
=
17
6
;
public
static
final
int
BUILD_ID
=
17
7
;
/**
/**
* The build id of the last stable release.
* The build id of the last stable release.
*/
*/
public
static
final
int
BUILD_ID_STABLE
=
17
5
;
public
static
final
int
BUILD_ID_STABLE
=
17
6
;
/**
/**
* Whether this is a snapshot version.
* Whether this is a snapshot version.
...
...
h2/src/main/org/h2/mvstore/MVStore.java
浏览文件 @
3afd22a7
...
@@ -33,7 +33,7 @@ import org.h2.util.New;
...
@@ -33,7 +33,7 @@ import org.h2.util.New;
TODO:
TODO:
Documentation
Documentation
- rolling docs review: at "
File Header
"
- rolling docs review: at "
Metadata Map
"
- better document that writes are in background thread
- better document that writes are in background thread
- better document how to do non-unique indexes
- better document how to do non-unique indexes
- document pluggable store and OffHeapStore
- document pluggable store and OffHeapStore
...
@@ -98,6 +98,8 @@ MVStore:
...
@@ -98,6 +98,8 @@ MVStore:
configured write delay to store changes
configured write delay to store changes
- compact* should also store uncommitted changes (if there are any)
- compact* should also store uncommitted changes (if there are any)
- write a LSM-tree (log structured merge tree) utility on top of the MVStore
- write a LSM-tree (log structured merge tree) utility on top of the MVStore
with blind writes and/or a bloom filter that
internally uses regular maps and merge sort
- StreamStore: split blocks similar to rsync crypto, where the split is made
- StreamStore: split blocks similar to rsync crypto, where the split is made
"if the sum of the past 8196 bytes divides by 4096 with zero remainder"
"if the sum of the past 8196 bytes divides by 4096 with zero remainder"
- LIRS cache: maybe remove 'mask' field, and dynamically grow the arrays
- LIRS cache: maybe remove 'mask' field, and dynamically grow the arrays
...
...
h2/src/main/org/h2/res/help.csv
浏览文件 @
3afd22a7
...
@@ -1188,6 +1188,10 @@ Creates an XML text element."
...
@@ -1188,6 +1188,10 @@ Creates an XML text element."
TO_CHAR(value [, formatString[, nlsParamString]])
TO_CHAR(value [, formatString[, nlsParamString]])
","
","
Oracle-compatible TO_CHAR function that can format a timestamp, a number, or text."
Oracle-compatible TO_CHAR function that can format a timestamp, a number, or text."
"Functions (String)","TRANSLATE","
TRANSLATE(value , searchString, replacementString]])
","
Oracle-compatible TRANSLATE function that replaces a sequence of characters in a string with another set of characters."
"Functions (Time and Date)","CURRENT_DATE","
"Functions (Time and Date)","CURRENT_DATE","
{ CURRENT_DATE [ () ] | CURDATE() | SYSDATE | TODAY }
{ CURRENT_DATE [ () ] | CURDATE() | SYSDATE | TODAY }
","
","
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
3afd22a7
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
INSERT
INTO
VERSION
VALUES
(
127
,
'1.4.177'
,
'2014-04-11'
),
(
126
,
'1.3.176'
,
'2014-04-05'
),
(
126
,
'1.3.176'
,
'2014-04-05'
),
(
125
,
'1.3.175'
,
'2014-01-18'
),
(
125
,
'1.3.175'
,
'2014-01-18'
),
(
124
,
'1.3.174'
,
'2013-10-19'
),
(
124
,
'1.3.174'
,
'2013-10-19'
),
...
@@ -16,7 +17,6 @@ INSERT INTO VERSION VALUES
...
@@ -16,7 +17,6 @@ INSERT INTO VERSION VALUES
(
120
,
'1.3.170'
,
'2012-11-30'
),
(
120
,
'1.3.170'
,
'2012-11-30'
),
(
119
,
'1.3.169'
,
'2012-09-09'
),
(
119
,
'1.3.169'
,
'2012-09-09'
),
(
118
,
'1.3.168'
,
'2012-07-13'
),
(
118
,
'1.3.168'
,
'2012-07-13'
),
(
117
,
'1.3.167'
,
'2012-05-23'
),
;
;
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
3afd22a7
...
@@ -466,14 +466,10 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
...
@@ -466,14 +466,10 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
prof
.
depth
=
16
;
prof
.
depth
=
16
;
prof
.
interval
=
1
;
prof
.
interval
=
1
;
prof
.
startCollecting
();
prof
.
startCollecting
();
TestPerformance
.
main
(
"-init"
,
"-db"
,
"9"
,
"-size"
,
"1000"
);
prof
.
stopCollecting
();
System
.
out
.
println
(
prof
.
getTop
(
30
));
TestPerformance
.
main
(
"-init"
,
"-db"
,
"1"
,
"-size"
,
"1000"
);
TestPerformance
.
main
(
"-init"
,
"-db"
,
"1"
,
"-size"
,
"1000"
);
prof
.
stopCollecting
();
prof
.
stopCollecting
();
System
.
out
.
println
(
prof
.
getTop
(
3
));
System
.
out
.
println
(
prof
.
getTop
(
3
0
));
TestPerformance
.
main
(
"-init"
,
"-db"
,
"1"
,
"-size"
,
"1000"
);
TestPerformance
.
main
(
"-init"
,
"-db"
,
"1"
,
"-size"
,
"1000"
);
TestPerformance
.
main
(
"-init"
,
"-db"
,
"9"
,
"-size"
,
"1000"
);
}
}
System
.
out
.
println
(
TestBase
.
formatTime
(
System
.
out
.
println
(
TestBase
.
formatTime
(
System
.
currentTimeMillis
()
-
time
)
+
" total"
);
System
.
currentTimeMillis
()
-
time
)
+
" total"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论