Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a8fec820
提交
a8fec820
authored
5月 20, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
9ac629d7
全部展开
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
1270 行增加
和
1249 行删除
+1270
-1249
changelog.html
h2/src/docsrc/html/changelog.html
+10
-4
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+419
-413
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+421
-415
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+416
-414
Schema.java
h2/src/main/org/h2/schema/Schema.java
+1
-0
PageStore.java
h2/src/main/org/h2/store/PageStore.java
+2
-3
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
a8fec820
...
...
@@ -18,12 +18,18 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
When deleting or updating many rows in a table, the space in the index
<ul><li>
Shell tool: the built-in commands EXIT, HELP, ?, LIST, and so on didn't
work with a semicolon at the end.
</li><li>
JDK 1.5 is now required to build the jar file. However it is still possible to create
a jar file for Java 1.4. For details, see buildRelease.sh and buildRelease.bat.
As an alternative, compile using JDK 1.5 or 1.6 and use Retrotranslator to create a Java 1.4
version (http://retrotranslator.sourceforge.net/).
</li><li>
When deleting or updating many rows in a table, the space in the index
file was not re-used in the default mode (persistent database, b-tree index,
LOG=1). This caused the index file to grow over time. Workarounds were to
delete and re-created the index file, alter the table (add a remove a column),
or
use LOG=2. To disable the change, set the system property
h2.reuseSpaceBtreeIndex to false.
or
append ;LOG=2 to the database URL. To disable the change, set the system
property
h2.reuseSpaceBtreeIndex to false.
</li><li>
Identifiers with a digit and then a dollar sign didn't work. Example: A1$B.
</li><li>
MS SQL Server compatibility: support for linked tables with
NVARCHAR, NCHAR, NCLOB, and LONGNVARCHAR.
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
a8fec820
...
...
@@ -418,6 +418,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
MySQL compatibility: DatabaseMetaData.stores*() methods should return the same values. Test with SquirrelSQL.
</li><li>
Support table partitioning.
</li><li>
MS SQL Server compatibility: support DATEPART syntax.
</li><li>
Oracle compatibility: support CREATE OR REPLACE VIEW syntax.
</li></ul>
<h2>
Not Planned
</h2>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
a8fec820
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
a8fec820
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
a8fec820
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/main/org/h2/schema/Schema.java
浏览文件 @
a8fec820
...
...
@@ -474,6 +474,7 @@ public class Schema extends DbObjectBase {
* @param persistData if data of the table should be persistent
* @param clustered if a clustered table should be created
* @param headPos the position (page number) of the head
* @param session the session
* @return the created {@link TableData} object
*/
public
TableData
createTable
(
String
tableName
,
int
id
,
ObjectArray
columns
,
boolean
persistIndexes
,
boolean
persistData
,
boolean
clustered
,
int
headPos
,
Session
session
)
...
...
h2/src/main/org/h2/store/PageStore.java
浏览文件 @
a8fec820
...
...
@@ -884,6 +884,7 @@ public class PageStore implements CacheWriter {
* Add the meta data of an index.
*
* @param index the index to add
* @param session the session
*/
public
void
addMeta
(
Index
index
,
Session
session
)
throws
SQLException
{
int
type
=
index
instanceof
PageScanIndex
?
META_TYPE_SCAN_INDEX
:
META_TYPE_BTREE_INDEX
;
...
...
@@ -905,15 +906,13 @@ public class PageStore implements CacheWriter {
row
.
setValue
(
4
,
ValueString
.
get
(
columnList
));
row
.
setPos
(
id
+
1
);
metaIndex
.
add
(
session
,
row
);
int
assertion
;
metaIndex
.
getRow
(
database
.
getSystemSession
(),
row
.
getPos
());
}
/**
* Remove the meta data of an index.
*
* @param index the index to remove
* @param session the session
*/
public
void
removeMeta
(
Index
index
,
Session
session
)
throws
SQLException
{
Row
row
=
metaIndex
.
getRow
(
session
,
index
.
getId
()
+
1
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论