Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
08ea5a56
提交
08ea5a56
authored
1月 20, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
47c6a50f
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
1308 行增加
和
1239 行删除
+1308
-1239
build.html
h2/src/docsrc/html/build.html
+18
-13
changelog.html
h2/src/docsrc/html/changelog.html
+2
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+3
-0
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+431
-407
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+431
-407
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+415
-407
help.csv
h2/src/main/org/h2/res/help.csv
+2
-2
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+3
-0
BuildBase.java
h2/src/tools/org/h2/build/BuildBase.java
+2
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/build.html
浏览文件 @
08ea5a56
...
...
@@ -47,14 +47,14 @@ A Java Runtime Environment (JRE) version 1.4 or higher is required to run this d
To build the database executables, the following software stack was used.
Newer version or compatible software works too.
</p>
<ul><li>
Windows XP
</li><li>
Sun JDK Version 1.4 and 1.6
</li><li>
Eclipse Version 3.
3
</li><li>
Eclipse Plugins: Subclipse 1.
2.4, EclEmma Java Code Coverage 1.3.0, Eclipse Checkstyle Plug-in 4.4.0
<ul><li>
Mac OS X and
Windows XP
</li><li>
Sun JDK Version 1.4
, 1.5,
and 1.6
</li><li>
Eclipse Version 3.
4
</li><li>
Eclipse Plugins: Subclipse 1.
4.6, EclEmma Java Code Coverage 1.3.0, Eclipse Checkstyle Plug-in 4.4.2
</li><li>
Mozilla Firefox 3.0
</li><li>
OpenOffice 3.0
</li><li>
NSIS 2.38 (Nullsoft Scriptable Install System)
</li><li>
Maven 2.0.
7
</li><li>
Maven 2.0.
9
</li><li>
YourKit Java Profiler
</li></ul>
...
...
@@ -94,6 +94,7 @@ The build system can generate smaller jar files as well. The following targets a
<ul><li>
jarClient: Create the h2client.jar. This only contains the remote JDBC implementation.
</li><li>
jarSmall: Create the file h2small.jar. This only contains the embedded database. Debug information is disabled.
</li><li>
jarJaqu: Create the file h2jaqu.jar. This only contains the JaQu (Java Query) implementation. All other jar files do not include JaQu.
</li><li>
javadocImpl: Create the Javadocs of the implementation.
</li></ul>
<p>
To create the h2client.jar file, go to the directory h2 and execute the following command:
...
...
@@ -162,16 +163,20 @@ using <code>build docs</code>.
<p>
If you like to provide patches, please consider the following guidelines to simplify merging them:
</p>
<ul><li>
Only use Java 1.4 features (not use Java 1.5 or 1.6) (see Environment).
<ul><li>
Only use Java 1.4 features (
do
not use Java 1.5 or 1.6) (see Environment).
</li><li>
Follow the coding style used in the project, use Checkstyle (see above) to check the coding style.
The checkstyle configuration is in
<code>
src/installer/checkstyle.xml
</code>
.
</li><li>
Please provide test cases and integrate them into the test suite.
For Java level tests, see src/test/org/h2/test/TestAll.java.
For SQL level tests, see src/test/org/h2/test/test.in.txt or testSimple.in.txt
</li><li>
The test cases should cover at least 90% of the changed/new code; use a code coverage tool to verify that (see above).
</li><li>
Verify that you did not break other features: Run the test cases by executing build test.
</li><li>
Provide end user documentation if required (src/docsrc/html/*).
</li><li>
Document grammar changes in src/main/org/h2/res/help.csv
</li><li>
Provide a change log entry (src/docsrc/html/changelog.html).
For Java level tests, see
<code>
src/test/org/h2/test/TestAll.java
</code>
.
For SQL level tests, see
<code>
src/test/org/h2/test/test.in.txt
</code>
or
<code>
testSimple.in.txt
</code>
.
</li><li>
The test cases should cover at least 90% of the changed and new code; use a code coverage tool to verify that (see above).
</li><li>
Verify that you did not break other features: Run the test cases by executing
<code>
build test
</code>
.
</li><li>
Provide end user documentation if required (
<code>
src/docsrc/html/*
</code>
).
</li><li>
Document grammar changes in
<code>
src/main/org/h2/res/help.csv
</code>
</li><li>
Provide a change log entry (
<code>
src/docsrc/html/changelog.html
</code>
).
</li><li>
Verify the spelling using
<code>
build spellcheck
</code>
. If required
add the new words to
<code>
src/tools/org/h2/build/doc/dictionary.txt
</code>
.
</li><li>
Verify the formatting using
<code>
build docs
</code>
and
<code>
build javadoc
</code>
.
</li><li>
Submit patches as .patch files (compressed if big). To create a patch, use for example Eclipse Team/Create Patch.
</li></ul>
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
08ea5a56
...
...
@@ -18,7 +18,8 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
The MySQL compatibility extension fromUnixTime now used the English locale.
<ul><li>
Some DatabaseMetaData operations did not work for non-admin users for versions 1.1.x.
</li><li>
The MySQL compatibility extension fromUnixTime now used the English locale.
</li><li>
When using LOG=2 and repeatedly updating the last row rows of a table, the index file grew quickly.
</li><li>
In versions 1.1.105 and 1.1.106, encrypted script files of earlier versions could not be processed.
This is now again possible. The problem was that such script files were stored in a special format
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
08ea5a56
...
...
@@ -392,6 +392,9 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>
MySQL compatibility: support INSERT INTO table SET column1 = value1, column2 = value2
</li><li>
Docs: Add a one line description for each functions and SQL statements at the top (in the link section).
</li><li>
Javadoc search: weight for titles should be higher ('random' should list Functions as the best match).
</li><li>
Replace information_schema tables with regular tables that are automatically re-built when needed. Use indexes.
</li><li>
Support a special trigger on all tables.
</li><li>
Delete temporary files or objects using finalize.
</li></ul>
<h2>
Not Planned
</h2>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
08ea5a56
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
08ea5a56
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
08ea5a56
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/main/org/h2/res/help.csv
浏览文件 @
08ea5a56
...
...
@@ -964,11 +964,11 @@ SET LOCK_TIMEOUT 1000
"Commands (Other)","SET LOG","
SET LOG int
","
Enabled or disables writing to the log file.
Enabled or disables writing to the
transaction
log file.
0: logging is disabled (faster)
1: logging of the data is enabled, but logging of the index changes is disabled (default)
2: logging of both data and index changes are enabled
L
ogging can be disabled to improve the performance when durability is not important,
Transaction l
ogging can be disabled to improve the performance when durability is not important,
for example while running tests or when loading the database.
Warning: It may not be possible to recover the database if logging is disabled and
the application terminates abnormally. If logging of index changes is enabled,
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
08ea5a56
...
...
@@ -277,6 +277,9 @@ java org.h2.test.TestAll timer
System
.
setProperty
(
"h2.maxMemoryRowsDistinct"
,
"128"
);
System
.
setProperty
(
"h2.check2"
,
"true"
);
// System.setProperty("h2.pageStore", "true");
/*
update copyright year to 2009 for changed files
...
...
h2/src/tools/org/h2/build/BuildBase.java
浏览文件 @
08ea5a56
...
...
@@ -159,7 +159,8 @@ public class BuildBase {
out
.
println
(
"Targets:"
);
for
(
int
i
=
0
;
i
<
methods
.
length
;
i
++)
{
Method
m
=
methods
[
i
];
if
((
m
.
getModifiers
()
&
Modifier
.
STATIC
)
==
0
&&
m
.
getParameterTypes
().
length
==
0
)
{
int
mod
=
m
.
getModifiers
();
if
(!
Modifier
.
isStatic
(
mod
)
&&
Modifier
.
isPublic
(
mod
)
&&
m
.
getParameterTypes
().
length
==
0
)
{
out
.
println
(
m
.
getName
());
}
}
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
08ea5a56
...
...
@@ -578,4 +578,4 @@ connecturl problematic transformation lazy querydsl squill empire liq fle
xive evolving mssqlserver eric respond faulhaber fixing northern lying
federal santa america county clara courts california york venue away stages
titles headers grew orchestration social razor finder ranging friend intervals
bot jot delicious rife
bot jot delicious rife
appenders circles spelling
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论