Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
37143363
提交
37143363
authored
11月 23, 2007
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
3905753d
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
21 行增加
和
10 行删除
+21
-10
features.html
h2/src/docsrc/html/features.html
+6
-1
TempFileDeleter.java
h2/src/main/org/h2/util/TempFileDeleter.java
+1
-1
TestTransaction.java
h2/src/test/org/h2/test/db/TestTransaction.java
+2
-2
TestPreparedStatement.java
h2/src/test/org/h2/test/jdbc/TestPreparedStatement.java
+4
-4
TestMVCC.java
h2/src/test/org/h2/test/mvcc/TestMVCC.java
+1
-1
TestValue.java
h2/src/test/org/h2/test/unit/TestValue.java
+4
-0
dictionary.txt
h2/src/tools/org/h2/tools/doc/dictionary.txt
+3
-1
没有找到文件。
h2/src/docsrc/html/features.html
浏览文件 @
37143363
...
@@ -142,10 +142,12 @@ Features
...
@@ -142,10 +142,12 @@ Features
<br
/><a
name=
"limitations"
></a>
<br
/><a
name=
"limitations"
></a>
<h2>
Limitations
</h2>
<h2>
Limitations
</h2>
<p>
For the list of limitations, please have a look at the road map page at:
For the list of limitations, please have a look at the road map page at:
<a
href=
"http://groups.google.com/group/h2-database/web/roadmap"
>
<a
href=
"http://groups.google.com/group/h2-database/web/roadmap"
>
http://groups.google.com/group/h2-database/web/roadmap
http://groups.google.com/group/h2-database/web/roadmap
</a>
.
</a>
</p>
<br
/><a
name=
"comparison"
></a>
<br
/><a
name=
"comparison"
></a>
<h2>
Comparison to Other Database Engines
</h2>
<h2>
Comparison to Other Database Engines
</h2>
...
@@ -250,6 +252,8 @@ http://groups.google.com/group/h2-database/web/h2-in-use
...
@@ -250,6 +252,8 @@ http://groups.google.com/group/h2-database/web/h2-in-use
</a>
</a>
</p>
</p>
<br
/><a
name=
"connection_modes"
></a>
<h2>
Connection Modes
</h2>
<p>
<p>
The following connection modes are supported:
The following connection modes are supported:
</p>
</p>
...
@@ -815,6 +819,7 @@ IGNORECASE=TRUE to the database URL (example: jdbc:h2:test;IGNORECASE=TRUE).
...
@@ -815,6 +819,7 @@ IGNORECASE=TRUE to the database URL (example: jdbc:h2:test;IGNORECASE=TRUE).
</p>
</p>
<h3>
Compatibility Modes
</h3>
<h3>
Compatibility Modes
</h3>
<p>
For certain features, this database can emulate the behavior of specific databases. Not all features or differences of those
For certain features, this database can emulate the behavior of specific databases. Not all features or differences of those
databases are implemented. Currently, this feature is mainly used for randomized comparative testing
databases are implemented. Currently, this feature is mainly used for randomized comparative testing
(where random statements are executed against multiple databases and the results are compared).
(where random statements are executed against multiple databases and the results are compared).
...
...
h2/src/main/org/h2/util/TempFileDeleter.java
浏览文件 @
37143363
...
@@ -46,7 +46,7 @@ public class TempFileDeleter {
...
@@ -46,7 +46,7 @@ public class TempFileDeleter {
public
static
void
deleteUnused
()
{
public
static
void
deleteUnused
()
{
// Mystery: I don't know how QUEUE could get null, but two independent
// Mystery: I don't know how QUEUE could get null, but two independent
// people reported NullPointerException here - if somebody understands
// people reported NullPointerException here - if somebody understands
// how it could happen
d
please report it!
// how it could happen please report it!
// Setup: webapp under Tomcat, exception occurs during undeploy
// Setup: webapp under Tomcat, exception occurs during undeploy
while
(
QUEUE
!=
null
)
{
while
(
QUEUE
!=
null
)
{
Reference
ref
=
QUEUE
.
poll
();
Reference
ref
=
QUEUE
.
poll
();
...
...
h2/src/test/org/h2/test/db/TestTransaction.java
浏览文件 @
37143363
...
@@ -34,10 +34,10 @@ public class TestTransaction extends TestBase {
...
@@ -34,10 +34,10 @@ public class TestTransaction extends TestBase {
s1
.
execute
(
"create table b (name varchar(100) not null, a integer, primary key(name), foreign key(a) references a(id))"
);
s1
.
execute
(
"create table b (name varchar(100) not null, a integer, primary key(name), foreign key(a) references a(id))"
);
Connection
c2
=
getConnection
(
"transaction"
);
Connection
c2
=
getConnection
(
"transaction"
);
c2
.
setAutoCommit
(
false
);
c2
.
setAutoCommit
(
false
);
s1
.
executeUpdate
(
"insert into A(code) values('
un cod
')"
);
s1
.
executeUpdate
(
"insert into A(code) values('
one
')"
);
Statement
s2
=
c2
.
createStatement
();
Statement
s2
=
c2
.
createStatement
();
try
{
try
{
s2
.
executeUpdate
(
"insert into B values('
un B
', 1)"
);
s2
.
executeUpdate
(
"insert into B values('
two
', 1)"
);
error
(
"Unexpected success"
);
error
(
"Unexpected success"
);
}
catch
(
SQLException
e
)
{
}
catch
(
SQLException
e
)
{
checkNotGeneralException
(
e
);
checkNotGeneralException
(
e
);
...
...
h2/src/test/org/h2/test/jdbc/TestPreparedStatement.java
浏览文件 @
37143363
...
@@ -58,12 +58,12 @@ public class TestPreparedStatement extends TestBase {
...
@@ -58,12 +58,12 @@ public class TestPreparedStatement extends TestBase {
private
void
testTempView
(
Connection
conn
)
throws
Exception
{
private
void
testTempView
(
Connection
conn
)
throws
Exception
{
Statement
stat
=
conn
.
createStatement
();
Statement
stat
=
conn
.
createStatement
();
PreparedStatement
prep
;
PreparedStatement
prep
;
stat
.
execute
(
"CREATE TABLE TEST(FLD INT PRIMARY KEY)"
);
stat
.
execute
(
"CREATE TABLE TEST(F
IE
LD INT PRIMARY KEY)"
);
stat
.
execute
(
"INSERT INTO TEST VALUES(1)"
);
stat
.
execute
(
"INSERT INTO TEST VALUES(1)"
);
stat
.
execute
(
"INSERT INTO TEST VALUES(2)"
);
stat
.
execute
(
"INSERT INTO TEST VALUES(2)"
);
prep
=
conn
.
prepareStatement
(
"select FLD FROM "
prep
=
conn
.
prepareStatement
(
"select F
IE
LD FROM "
+
"(select F
LD FROM (SELECT FLD FROM TEST WHERE FLD = ?) AS TBL
2 "
+
"(select F
IELD FROM (SELECT FIELD FROM TEST WHERE FIELD = ?) AS T
2 "
+
"WHERE T
BL2.FLD = ?) AS TBL3 WHERE TBL3.F
LD = ?"
);
+
"WHERE T
2.FIELD = ?) AS T3 WHERE T3.FIE
LD = ?"
);
prep
.
setInt
(
1
,
1
);
prep
.
setInt
(
1
,
1
);
prep
.
setInt
(
2
,
1
);
prep
.
setInt
(
2
,
1
);
prep
.
setInt
(
3
,
1
);
prep
.
setInt
(
3
,
1
);
...
...
h2/src/test/org/h2/test/mvcc/TestMVCC.java
浏览文件 @
37143363
...
@@ -89,7 +89,7 @@ public class TestMVCC extends TestBase {
...
@@ -89,7 +89,7 @@ public class TestMVCC extends TestBase {
// referential integrity problem
// referential integrity problem
s1
.
execute
(
"create table a (id integer identity not null, code varchar(10) not null, primary key(id))"
);
s1
.
execute
(
"create table a (id integer identity not null, code varchar(10) not null, primary key(id))"
);
s1
.
execute
(
"create table b (name varchar(100) not null, a integer, primary key(name), foreign key(a) references a(id))"
);
s1
.
execute
(
"create table b (name varchar(100) not null, a integer, primary key(name), foreign key(a) references a(id))"
);
s1
.
execute
(
"insert into a(code) values('
un cod
')"
);
s1
.
execute
(
"insert into a(code) values('
one
')"
);
try
{
try
{
s2
.
execute
(
"insert into b values('un B', 1)"
);
s2
.
execute
(
"insert into b values('un B', 1)"
);
error
(
"Unexpected success"
);
error
(
"Unexpected success"
);
...
...
h2/src/test/org/h2/test/unit/TestValue.java
浏览文件 @
37143363
/*
* Copyright 2004-2007 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
test
.
unit
;
package
org
.
h2
.
test
.
unit
;
import
org.h2.test.TestBase
;
import
org.h2.test.TestBase
;
...
...
h2/src/tools/org/h2/tools/doc/dictionary.txt
浏览文件 @
37143363
...
@@ -513,4 +513,6 @@ framework constructing architectural jmatter workgroup upgraded naked stopper sk
...
@@ -513,4 +513,6 @@ framework constructing architectural jmatter workgroup upgraded naked stopper sk
opensource atlassian hhh establish pawel nice italiano ucchino paolo italian pier shorter although
opensource atlassian hhh establish pawel nice italiano ucchino paolo italian pier shorter although
uklinux credential crypt kerberos redferni routine reopen tmp configured replicating wraps jre
uklinux credential crypt kerberos redferni routine reopen tmp configured replicating wraps jre
webtest einstellung redirects endless ran gives replication lxabcdef asf packages replayed jspa
webtest einstellung redirects endless ran gives replication lxabcdef asf packages replayed jspa
russian backward alexahin vlad ffffffffffff bfff ffffffff webapp undeploy initializer brasil uncached slowing translating uploaded
llc computing oliver road
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论