Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2b2162f8
提交
2b2162f8
authored
1月 04, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
08ef0d6f
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
5 行删除
+11
-5
help.csv
h2/src/docsrc/help/help.csv
+4
-1
changelog.html
h2/src/docsrc/html/changelog.html
+4
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-1
CacheLRU.java
h2/src/main/org/h2/util/CacheLRU.java
+2
-2
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
2b2162f8
...
...
@@ -534,7 +534,7 @@ CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255))
"Commands (DDL)","CREATE TRIGGER","
CREATE TRIGGER [ IF NOT EXISTS ] newTriggerName { BEFORE | AFTER }
{ INSERT | UPDATE | DELETE | SELECT } [,...] ON tableName [ FOR EACH ROW ]
{ INSERT | UPDATE | DELETE | SELECT
| ROLLBACK
} [,...] ON tableName [ FOR EACH ROW ]
[ QUEUE int ] [ NOWAIT ] CALL triggeredClassName
","
Creates a new trigger. The trigger class must be public. Nested and inner
...
...
@@ -545,6 +545,9 @@ Before triggers are called after data conversion is made, default values are set
null and length constraint checks have been made;
but before other constraints have been checked.
Only row based AFTER trigger can be called on rollback.
Exceptions that occur within such triggers are ignored.
The MERGE statement will call both INSERT and UPDATE triggers.
Not supported are SELECT triggers with the option FOR EACH ROW,
and AFTER SELECT triggers.
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
2b2162f8
...
...
@@ -18,7 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
The shell script h2.sh ignored command line line arguments.
<ul><li>
Fulltext search: exceptions within the fulltext seach package had the wrong SQL state.
</li><li>
The Lucene fulltext search ignored transaction rollback. Fixed using a trigger on rollback.
</li><li>
Trigger can now be called on rollback.
</li><li>
The shell script h2.sh ignored command line line arguments.
</li><li>
When running H2 in the Google AppEngine for Java, a AccessControlException could be thrown
when trying to open a read-only database. Fixed.
</li><li>
The user home directory prefix (~) is now only expanded when followed by a slash
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
2b2162f8
...
...
@@ -31,7 +31,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
<h2>
Priority 1
</h2>
<ul>
<li>
Bugfixes
</li><li>
Support large inserts and updates (use the transaction log for rollback).
</li><li>
Issue 157:
Support large inserts and updates (use the transaction log for rollback).
</li><li>
More tests with MULTI_THREADED=1
</li><li>
Optimization: result set caching (like MySQL); option to disable
</li><li>
Server side cursors
...
...
h2/src/main/org/h2/util/CacheLRU.java
浏览文件 @
2b2162f8
...
...
@@ -142,9 +142,9 @@ public class CacheLRU implements Cache {
flushed
=
true
;
i
=
0
;
}
else
{
// can't remove any record, because the
log is not written yet
// can't remove any record, because the
records can not be removed
// hopefully this does not happen frequently, but it can happen
writer
.
getTrace
().
info
(
"Cannot remove records, cache size too small?
"
);
writer
.
getTrace
().
info
(
"Cannot remove records, cache size too small?
records:"
+
recordCount
+
" memory:"
+
sizeMemory
);
break
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论